Loading services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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 { Loading tests/testables/tests/src/android/testing/TestableLooperTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading tests/testables/tests/src/android/testing/TestableResourcesTest.java +3 −1 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -29,6 +30,7 @@ import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; @SmallTest @RunWith(AndroidTestingRunner.class) public class TestableResourcesTest { Loading tests/testables/tests/src/android/testing/TestableSettingsProviderTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -27,6 +28,7 @@ import org.junit.runner.RunWith; import static org.junit.Assert.*; @SmallTest @RunWith(AndroidJUnit4.class) public class TestableSettingsProviderTest { Loading Loading
services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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 { Loading
tests/testables/tests/src/android/testing/TestableLooperTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading
tests/testables/tests/src/android/testing/TestableResourcesTest.java +3 −1 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -29,6 +30,7 @@ import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; @SmallTest @RunWith(AndroidTestingRunner.class) public class TestableResourcesTest { Loading
tests/testables/tests/src/android/testing/TestableSettingsProviderTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -27,6 +28,7 @@ import org.junit.runner.RunWith; import static org.junit.Assert.*; @SmallTest @RunWith(AndroidJUnit4.class) public class TestableSettingsProviderTest { Loading