summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorDavid Hu <hud@google.com>2012-03-14 15:43:46 -0700
committerDavid Hu <hud@google.com>2012-03-19 18:33:58 -0700
commitca4aab9cd724708af30abb4bfcb2f9b45087f449 (patch)
treeb39154026ba138251e979556f83810965e0f17c9 /test-runner
parentbf02b984738f6be5cc2e2d66b12aff7af99eb79e (diff)
downloadframeworks_base-ca4aab9cd724708af30abb4bfcb2f9b45087f449.zip
frameworks_base-ca4aab9cd724708af30abb4bfcb2f9b45087f449.tar.gz
frameworks_base-ca4aab9cd724708af30abb4bfcb2f9b45087f449.tar.bz2
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
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/src/android/test/BandwidthTest.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/test-runner/src/android/test/BandwidthTest.java b/test-runner/src/android/test/BandwidthTest.java
deleted file mode 100644
index e02ae00..0000000
--- 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 {
-}