@@ -0,0 +1,832 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.%0A// Use of this source code is governed by a BSD-style license that can be%0A// found in the LICENSE file.%0A%0Apackage org.chromium.content_shell;%0A%0Aimport android.content.Context;%0Aimport android.os.PowerManager;%0Aimport android.test.suitebuilder.annotation.Smoke;%0A%0Aimport org.chromium.base.test.util.Feature;%0A%0A/**%0A * Test that verifies preconditions for tests to run.%0A */%0Apublic class ContentShellPreconditionsTest extends ContentShellTestBase %7B%0A    @Smoke%0A    @Feature(%7B%22TestInfrastructure%22%7D)%0A    public void testScreenIsOn() throws Exception %7B%0A        PowerManager pm = (PowerManager) getInstrumentation().getContext().getSystemService(%0A                Context.POWER_SERVICE);%0A%0A        assertTrue(%22Many tests will fail if the screen is not on.%22, pm.isScreenOn());%0A    %7D%0A%7D%0A

Add test that asserts screen is on.