| Index: components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSamplePreconditionsTest.java
|
| diff --git a/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSamplePreconditionsTest.java b/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSamplePreconditionsTest.java
|
| deleted file mode 100644
|
| index 3002f80eb41858e8b004c0807addbb15c86e653f..0000000000000000000000000000000000000000
|
| --- a/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSamplePreconditionsTest.java
|
| +++ /dev/null
|
| @@ -1,26 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -package org.chromium.cronet_sample_apk;
|
| -
|
| -import android.content.Context;
|
| -import android.os.PowerManager;
|
| -import android.test.suitebuilder.annotation.Smoke;
|
| -
|
| -import org.chromium.base.test.util.Feature;
|
| -
|
| -/**
|
| - * Test that verifies preconditions for tests to run.
|
| - */
|
| -public class CronetSamplePreconditionsTest extends CronetSampleTestBase {
|
| - @Smoke
|
| - @Feature({"TestInfrastructure"})
|
| - public void testScreenIsOn() throws Exception {
|
| - PowerManager pm = (PowerManager)getInstrumentation().getContext()
|
| - .getSystemService(Context.POWER_SERVICE);
|
| -
|
| - assertTrue("Many tests will fail if the screen is not on.",
|
| - pm.isScreenOn());
|
| - }
|
| -}
|
|
|