diff options
author | Peter Visontay <pvisontay@google.com> | 2011-01-28 13:18:39 +0000 |
---|---|---|
committer | Peter Visontay <pvisontay@google.com> | 2011-01-28 13:18:39 +0000 |
commit | ff17b687846cef0e48085d27d08e122eed60ca0b (patch) | |
tree | 0dcca7e07fa55341f3dc4b453ae517d66d59cfef /tests | |
parent | 62a6b1f913bdfa1f7f53fad055cd62c3cfb90100 (diff) | |
download | ApplicationsProvider-ff17b687846cef0e48085d27d08e122eed60ca0b.tar.gz |
Test size annotation for ApplicationsProviderTest.
Made it a large test as per http://go/android-test-sizes
because AppProvider has a delay in its initialization code
and each test runs slightly over 1 sec per test.
Bug: 1847330
Change-Id: Ib6d9a81f3bfa68cbd25d2189f6e6690bc3d8e428
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/providers/applications/ApplicationsProviderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/src/com/android/providers/applications/ApplicationsProviderTest.java b/tests/src/com/android/providers/applications/ApplicationsProviderTest.java index 6eb47c6..5010096 100644 --- a/tests/src/com/android/providers/applications/ApplicationsProviderTest.java +++ b/tests/src/com/android/providers/applications/ApplicationsProviderTest.java @@ -23,11 +23,13 @@ import android.database.Cursor; import android.net.Uri; import android.provider.Applications; import android.test.ProviderTestCase2; +import android.test.suitebuilder.annotation.LargeTest; import java.util.concurrent.CountDownLatch; import java.util.concurrent.FutureTask; import java.util.concurrent.TimeUnit; + /** * Instrumentation test for the ApplicationsProvider. * @@ -36,6 +38,7 @@ import java.util.concurrent.TimeUnit; * is also created in an isolated context so it doesn't interfere with the * database of the actual ApplicationsProvider installed on the device. */ +@LargeTest public class ApplicationsProviderTest extends ProviderTestCase2<ApplicationsProviderForTesting> { private ApplicationsProviderForTesting mProvider; |