From ca4aab9cd724708af30abb4bfcb2f9b45087f449 Mon Sep 17 00:00:00 2001 From: David Hu Date: Wed, 14 Mar 2012 15:43:46 -0700 Subject: BandwidthTestCase A test case that measures bandwidth metrics when annotated with android.test.BandwidthTest and adds the metrics to the status bundle Change-Id: I085110c66c7fcf651aefeeac3d4cdf5bd438ff67 --- test-runner/src/android/test/BandwidthTest.java | 32 ------------------------- 1 file changed, 32 deletions(-) delete mode 100644 test-runner/src/android/test/BandwidthTest.java (limited to 'test-runner/src') diff --git a/test-runner/src/android/test/BandwidthTest.java b/test-runner/src/android/test/BandwidthTest.java deleted file mode 100644 index e02ae00c3df8..000000000000 --- a/test-runner/src/android/test/BandwidthTest.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package android.test; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * This annotation can be used on an {@link junit.framework.TestCase}'s test methods. When the - * annotation is present, the test method is profiled for bandwidth metrics and the results - * written through instrumentation output. It can also be used on the class itself, - * which is equivalent to tagging all test methods with this annotation. - * - * {@hide} Pending approval for public API. - */ -@Retention(RetentionPolicy.RUNTIME) -public @interface BandwidthTest { -} -- cgit v1.2.3-59-g8ed1b