summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java2
-rw-r--r--tests/testables/tests/src/android/testing/TestableLooperTest.java2
-rw-r--r--tests/testables/tests/src/android/testing/TestableResourcesTest.java4
-rw-r--r--tests/testables/tests/src/android/testing/TestableSettingsProviderTest.java2
4 files changed, 9 insertions, 1 deletions
diff --git a/services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java b/services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java
index 9afb2d2b210c..5c40a2c66439 100644
--- a/services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java
+++ b/services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java
@@ -55,6 +55,7 @@ import android.os.UserHandle;
import android.provider.Settings.Secure;
import android.service.notification.NotificationListenerService;
import android.service.notification.StatusBarNotification;
+import android.test.suitebuilder.annotation.SmallTest;
import android.testing.AndroidTestingRunner;
import android.testing.TestableLooper;
import android.testing.TestableLooper.RunWithLooper;
@@ -73,6 +74,7 @@ import org.mockito.MockitoAnnotations;
import com.android.server.lights.Light;
import com.android.server.lights.LightsManager;
+@SmallTest
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
public class NotificationManagerServiceTest extends NotificationTestCase {
diff --git a/tests/testables/tests/src/android/testing/TestableLooperTest.java b/tests/testables/tests/src/android/testing/TestableLooperTest.java
index 12f1d0a5f414..13e72bad1dc3 100644
--- a/tests/testables/tests/src/android/testing/TestableLooperTest.java
+++ b/tests/testables/tests/src/android/testing/TestableLooperTest.java
@@ -31,9 +31,11 @@ import org.junit.runner.RunWith;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
+import android.test.suitebuilder.annotation.SmallTest;
import android.testing.TestableLooper.MessageHandler;
import android.testing.TestableLooper.RunWithLooper;
+@SmallTest
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
public class TestableLooperTest {
diff --git a/tests/testables/tests/src/android/testing/TestableResourcesTest.java b/tests/testables/tests/src/android/testing/TestableResourcesTest.java
index 9a1c0a943ed9..dc7cf9554ba5 100644
--- a/tests/testables/tests/src/android/testing/TestableResourcesTest.java
+++ b/tests/testables/tests/src/android/testing/TestableResourcesTest.java
@@ -22,6 +22,7 @@ import static org.junit.Assert.fail;
import android.content.res.Resources;
import android.support.test.InstrumentationRegistry;
+import android.test.suitebuilder.annotation.SmallTest;
import com.android.testables.R;
@@ -29,6 +30,7 @@ import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
+@SmallTest
@RunWith(AndroidTestingRunner.class)
public class TestableResourcesTest {
@@ -90,4 +92,4 @@ public class TestableResourcesTest {
assertNull(mContext.getString(existentId));
}
-} \ No newline at end of file
+}
diff --git a/tests/testables/tests/src/android/testing/TestableSettingsProviderTest.java b/tests/testables/tests/src/android/testing/TestableSettingsProviderTest.java
index 0e2cc576270e..ac61debd8dc9 100644
--- a/tests/testables/tests/src/android/testing/TestableSettingsProviderTest.java
+++ b/tests/testables/tests/src/android/testing/TestableSettingsProviderTest.java
@@ -20,6 +20,7 @@ import android.provider.Settings.Global;
import android.provider.Settings.Secure;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
+import android.test.suitebuilder.annotation.SmallTest;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
@@ -27,6 +28,7 @@ import org.junit.runner.RunWith;
import static org.junit.Assert.*;
+@SmallTest
@RunWith(AndroidJUnit4.class)
public class TestableSettingsProviderTest {