diff options
| author | Stephan Linzner <slinzner@google.com> | 2016-01-27 18:09:50 -0800 |
|---|---|---|
| committer | Stephan Linzner <slinzner@google.com> | 2016-01-27 18:09:58 -0800 |
| commit | b51617f4668ef8cf0e6d8d0fc3284eae51dbd8ca (patch) | |
| tree | 9e66ea505482770b09a33c338d008ab549357b91 /core/java/android/test/UiThreadTest.java | |
| parent | d11c15d418d776d1db33f7664fad2671de0e6669 (diff) | |
Deprecated platform Android testing APIs
- Deprecated most android.test.* APIs
- Kept ProviderTestCase2 and LoaderTestCase since we don't have a
replacement yet
- Deprecated android.test.suitebuilder
- Added Javadoc to all deprecated APIs with links to corresponding
Android Testing Support Library APIs
- Removed all trailing whitespace
Bug: 22314304
Change-Id: I1b1f0dd5132364110f1dfd4e3eb2dd044700d859
Diffstat (limited to 'core/java/android/test/UiThreadTest.java')
| -rw-r--r-- | core/java/android/test/UiThreadTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/test/UiThreadTest.java b/core/java/android/test/UiThreadTest.java index cd9223184da2..cd06ab890074 100644 --- a/core/java/android/test/UiThreadTest.java +++ b/core/java/android/test/UiThreadTest.java @@ -26,7 +26,13 @@ import java.lang.annotation.ElementType; * When the annotation is present, the test method is executed on the application's * main thread (or UI thread.) Note that instrumentation methods may not be used * when this annotation is present. + * + * @deprecated Use + * <a href="{@docRoot}reference/android/support/test/annotation/UiThreadTest.html"> + * UiThreadTest</a> instead. New tests should be written using the + * <a href="{@docRoot}tools/testing-support-library/index.html">Android Testing Support Library</a>. */ +@Deprecated @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface UiThreadTest { |
