summaryrefslogtreecommitdiffstats
path: root/test-runner/android
diff options
context:
space:
mode:
authorDianne Hackborn <>2009-04-09 12:32:19 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-09 12:32:19 -0700
commit48276ab989a4d775961ce30a43635a317052672a (patch)
treea3cb21b999933c98e5dd7d764b085938f8be87bf /test-runner/android
parent5eabbd9f27b5684508b5f5f1f99030c67984ae81 (diff)
downloadframeworks_base-48276ab989a4d775961ce30a43635a317052672a.zip
frameworks_base-48276ab989a4d775961ce30a43635a317052672a.tar.gz
frameworks_base-48276ab989a4d775961ce30a43635a317052672a.tar.bz2
AI 145383: API review: clean up a bunch of @hides that have been pending API review.
Either expose them, or official hide them with an explanation for why. BUG=1779439 Automated import of CL 145383
Diffstat (limited to 'test-runner/android')
-rw-r--r--test-runner/android/test/ProviderTestCase2.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/test-runner/android/test/ProviderTestCase2.java b/test-runner/android/test/ProviderTestCase2.java
index 714b77b..ac17ebf 100644
--- a/test-runner/android/test/ProviderTestCase2.java
+++ b/test-runner/android/test/ProviderTestCase2.java
@@ -8,10 +8,15 @@ import android.test.mock.MockContentResolver;
import android.database.DatabaseUtils;
/**
- * If you would like to test a single content provider with an
- * {@link android.test.InstrumentationTestCase}, this provides some of the boiler plate in
- * {@link #setUp} and {@link #tearDown}.
- * @hide pending API council approval
+ * This TestCase class provides a framework for isolated testing of a single
+ * ContentProvider. It uses a {@link android.test.mock.MockContentResolver} to
+ * access the provider, restricts the provider to an isolated area of the
+ * filesystem (for safely creating & modifying databases & files), and injects
+ * {@link android.test.IsolatedContext} to isolate the ContentProvider from the
+ * rest of the running system.
+ *
+ * <p>This environment is created automatically by {@link #setUp} and {@link
+ * #tearDown}.
*/
public abstract class ProviderTestCase2<T extends ContentProvider> extends AndroidTestCase {
@@ -79,4 +84,4 @@ public abstract class ProviderTestCase2<T extends ContentProvider> extends Andro
return resolver;
}
-} \ No newline at end of file
+}