diff options
author | Yorke Lee <yorkelee@google.com> | 2015-10-20 21:05:30 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-10-20 21:05:30 +0000 |
commit | 6b63bfe0647859e65d1984ccfa32b7b99d3b726a (patch) | |
tree | 71e10bef05f49910231736debde7e1cb2b894574 /InCallUI | |
parent | 166f2f54911c4db333eedbc4646a505e61ac307d (diff) | |
parent | 7753b65fb379b5d6a87702ee7e2f8fb1098ebca2 (diff) |
Update InCallUI tests
am: 6cfdc3f48a
* commit '6cfdc3f48a5cea5ae33fa3c5e1b8e942a636d8ee':
Update InCallUI tests
Diffstat (limited to 'InCallUI')
3 files changed, 6 insertions, 0 deletions
diff --git a/InCallUI/tests/src/com/android/incallui/CallerInfoUtilsTest.java b/InCallUI/tests/src/com/android/incallui/CallerInfoUtilsTest.java index 5baabce1b..de5a0239e 100644 --- a/InCallUI/tests/src/com/android/incallui/CallerInfoUtilsTest.java +++ b/InCallUI/tests/src/com/android/incallui/CallerInfoUtilsTest.java @@ -17,7 +17,9 @@ package com.android.incallui; import android.test.AndroidTestCase; +import android.test.suitebuilder.annotation.SmallTest; +@SmallTest public class CallerInfoUtilsTest extends AndroidTestCase { public void testToLogSafeNumber_email() { assertEquals("xxx@xxx.xxx", CallerInfoUtils.toLogSafePhoneNumber("foo@foo.com")); diff --git a/InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java b/InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java index b5828ea62..ed8d6223c 100644 --- a/InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java +++ b/InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java @@ -25,6 +25,7 @@ import android.content.Intent; import android.telecom.PhoneAccountHandle; import android.telephony.TelephonyManager; import android.test.InstrumentationTestCase; +import android.test.suitebuilder.annotation.MediumTest; import com.android.incallui.InCallPresenter.InCallState; @@ -32,6 +33,7 @@ import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; +@MediumTest public class InCallPresenterTest extends InstrumentationTestCase { private MockCallListWrapper mCallList; @Mock private InCallActivity mInCallActivity; diff --git a/InCallUI/tests/src/com/android/incallui/ProximitySensorTest.java b/InCallUI/tests/src/com/android/incallui/ProximitySensorTest.java index d7b2f64b6..1c8f34721 100644 --- a/InCallUI/tests/src/com/android/incallui/ProximitySensorTest.java +++ b/InCallUI/tests/src/com/android/incallui/ProximitySensorTest.java @@ -22,6 +22,7 @@ import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import android.test.InstrumentationTestCase; +import android.test.suitebuilder.annotation.MediumTest; import com.android.incallui.InCallPresenter.InCallState; @@ -29,6 +30,7 @@ import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; +@MediumTest public class ProximitySensorTest extends InstrumentationTestCase { @Mock private AccelerometerListener mAccelerometerListener; private MockCallListWrapper mCallList; |