/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | HanziToPinyinTest.java | 20 import android.test.suitebuilder.annotation.SmallTest; 45 private void test(final char hanzi, final String expectedPinyin) throws Exception { in test() method in HanziToPinyinTest 121 test('\u4e00', "YI"); in test_0() 122 test('\u4e01', "DING"); in test_0() 123 test('\u4e02', "KAO"); in test_0() 124 test('\u4e03', "QI"); in test_0() 125 test('\u4e04', "SHANG"); in test_0() 126 test('\u4e05', "XIA"); in test_0() 127 test('\u4e06', "HAN"); in test_0() 128 test('\u4e07', "WAN"); in test_0() [all …]
|
D | GlobalSearchSupportTest.java | 29 import android.test.suitebuilder.annotation.MediumTest; 73 "Deer Dough").build().test(); in testSearchSuggestionsByNameWithPhoto() 81 .expectedText1("Deer Dough").expectedText2("foo@acme.com").build().test(); in testSearchSuggestionsByEmailWithPhoto() 88 null).build().test(); in testSearchSuggestionsByName() 95 "Little Fawn").build().test(); in testSearchByNickname() 102 "Google").build().test(); in testSearchByCompany() 109 "Deer Dough").expectedText2("Software Engineer, Google").build().test(); in testSearchByTitleWithCompany() 118 "Deer Dough").expectedText2("1-800-4664-411").build().test(); in testSearchSuggestionsByPhoneNumberOnNonPhone() 152 public void test() { in test() method in GlobalSearchSupportTest.SuggestionTester
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | WeekNumberTest.java | 19 import android.test.AndroidTestCase; 20 import android.test.suitebuilder.annotation.SmallTest; 21 import android.test.suitebuilder.annotation.Smoke; 208 DateAndWeekNumber test = tests[index]; in testAll() local 209 int weekNumber = test.date.getWeekNumber(); in testAll() 210 if (weekNumber != test.expectedWeekNumber) { in testAll() 211 long millis = test.date.toMillis(false /* use isDst */); in testAll() 216 + " expected: " + test.expectedWeekNumber in testAll() 219 assertEquals(weekNumber, test.expectedWeekNumber); in testAll() 221 weekNumber = test.allDayDate.getWeekNumber(); in testAll() [all …]
|
D | AsyncQueryServiceTest.java | 36 import android.test.IsolatedContext; 37 import android.test.RenamingDelegatingContext; 38 import android.test.ServiceTestCase; 39 import android.test.mock.MockContentResolver; 40 import android.test.mock.MockContext; 41 import android.test.mock.MockCursor; 42 import android.test.suitebuilder.annotation.LargeTest; 43 import android.test.suitebuilder.annotation.SmallTest; 44 import android.test.suitebuilder.annotation.Smoke;
|
D | DbTestUtils.java | 27 import android.test.mock.MockContentProvider; 28 import android.test.mock.MockContentResolver; 29 import android.test.mock.MockContext; 30 import android.test.mock.MockCursor;
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/ |
D | ExifTestRunner.java | 21 import android.test.InstrumentationTestRunner; 22 import android.test.InstrumentationTestSuite; 90 TestCase test; in addAllTestsFromExifTestCase() local 92 test = testClass.getDeclaredConstructor(int.class, int.class). in addAllTestsFromExifTestCase() 94 test.setName(method.getName()); in addAllTestsFromExifTestCase() 95 suite.addTest(test); in addAllTestsFromExifTestCase() 109 TestCase test; in addAllTestsFromExifTestCase() local 111 test = testClass.getDeclaredConstructor(String.class, String.class). in addAllTestsFromExifTestCase() 113 test.setName(method.getName()); in addAllTestsFromExifTestCase() 114 suite.addTest(test); in addAllTestsFromExifTestCase()
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | ContactDeletionInteractionTest.java | 24 import android.test.ActivityInstrumentationTestCase2; 25 import android.test.suitebuilder.annotation.SmallTest; 29 import com.android.contacts.common.test.FragmentTestActivity; 30 import com.android.contacts.common.test.IntegrationTestUtils; 31 import com.android.contacts.common.test.mocks.ContactsMockContext; 32 import com.android.contacts.common.test.mocks.MockContentProvider; 33 import com.android.contacts.common.test.mocks.MockContentProvider.Query; 37 import com.android.contacts.test.InjectedServices;
|
/packages/apps/Gallery2/tests/src/com/android/photos/data/ |
D | TestHelper.java | 36 TestCase test; in addTests() local 38 test = testClass.newInstance(); in addTests() 39 test.setName(method.getName()); in addTests() 40 initialization.initialize(test); in addTests() 41 suite.addTest(test); in addTests()
|
D | DataTestRunner.java | 18 import android.test.InstrumentationTestRunner; 19 import android.test.InstrumentationTestSuite; 35 MediaCacheTest test = (MediaCacheTest) testCase; in getAllTests() 36 test.setLocalContext(getContext()); in getAllTests()
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | PeopleActivityTest.java | 31 import android.test.ActivityInstrumentationTestCase2; 32 import android.test.suitebuilder.annotation.SmallTest; 38 import com.android.contacts.common.test.mocks.ContactsMockContext; 39 import com.android.contacts.common.test.mocks.MockContentProvider; 40 import com.android.contacts.common.test.mocks.MockContentProvider.Query; 48 import com.android.contacts.test.InjectedServices;
|
/packages/apps/Email/tests/src/com/android/email/ |
D | DBTestHelper.java | 34 import android.test.IsolatedContext; 35 import android.test.RenamingDelegatingContext; 36 import android.test.mock.MockContentResolver; 37 import android.test.mock.MockContext; 38 import android.test.mock.MockCursor;
|
/packages/apps/ContactsCommon/tests/ |
D | proguard.flags | 2 -keep @com.android.contacts.common.test.NeededForTesting class * 3 -keep @com.android.contacts.test.NeededForReflection class * 5 @com.android.contacts.common.test.NeededForTesting *; 6 @com.android.contacts.test.NeededForReflection *;
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactDetailTest.java | 19 import android.test.ActivityUnitTestCase; 20 import android.test.suitebuilder.annotation.SmallTest; 23 import com.android.contacts.common.test.mocks.ContactsMockContext; 24 import com.android.contacts.common.test.mocks.MockContentProvider;
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
D | PhoneNumberInteractionTest.java | 30 import android.test.InstrumentationTestCase; 31 import android.test.suitebuilder.annotation.SmallTest; 33 import com.android.contacts.common.test.mocks.ContactsMockContext; 34 import com.android.contacts.common.test.mocks.MockContentProvider; 35 import com.android.contacts.common.test.mocks.MockContentProvider.Query;
|
/packages/apps/Dialer/ |
D | proguard.flags | 9 -keep @com.android.contacts.common.test.NeededForTesting class * 10 -keep @com.android.dialer.test.NeededForReflection class * 12 @com.android.contacts.common.test.NeededForTesting *; 13 @com.android.dialer.test.NeededForReflection *;
|
/packages/apps/Contacts/ |
D | proguard.flags | 13 -keep @com.android.contacts.common.test.NeededForTesting class * 14 -keep @com.android.contacts.test.NeededForReflection class * 16 @com.android.contacts.common.test.NeededForTesting *; 17 @com.android.contacts.test.NeededForReflection *;
|
/packages/apps/Dialer/tests/ |
D | proguard.flags | 13 -keep @com.android.contacts.common.test.NeededForTesting class * 14 -keep @com.android.contacts.test.NeededForReflection class * 16 @com.android.contacts.common.test.NeededForTesting *; 17 @com.android.contacts.test.NeededForReflection *;
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlarmSchedulerTest.java | 26 import android.test.AndroidTestCase; 27 import android.test.IsolatedContext; 28 import android.test.mock.MockContentProvider; 29 import android.test.mock.MockContentResolver; 30 import android.test.suitebuilder.annotation.SmallTest;
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
D | expected_groups.txt | 3 3 account_name=android.contacts.test.eclair@gmail.com 20 20 account_name=android.contacts.test.eclair@gmail.com 37 37 account_name=android.contacts.test.eclair@gmail.com 54 54 account_name=android.contacts.test.eclair@gmail.com
|
D | expected_raw_contacts.txt | 21 21 account_name=android.contacts.test.eclair@gmail.com 39 39 account_name=android.contacts.test.eclair@gmail.com 57 57 account_name=android.contacts.test.eclair@gmail.com 75 75 account_name=android.contacts.test.eclair@gmail.com
|
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
D | ProviderTestCase3.java | 25 import android.test.AndroidTestCase; 26 import android.test.IsolatedContext; 27 import android.test.RenamingDelegatingContext; 28 import android.test.mock.MockContext;
|
/packages/apps/Mms/tests/src/com/android/mms/ui/ |
D | ComposeMessageActivityTests.java | 29 import android.test.ActivityInstrumentationTestCase2; 30 import android.test.suitebuilder.annotation.MediumTest; 31 import android.test.suitebuilder.annotation.SmallTest; 32 import android.test.suitebuilder.annotation.LargeTest;
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
D | DialogSmsDisplayTests.java | 35 import android.test.ActivityInstrumentationTestCase2; 36 import android.test.suitebuilder.annotation.MediumTest; 37 import android.test.suitebuilder.annotation.SmallTest; 38 import android.test.suitebuilder.annotation.LargeTest;
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 28 import android.test.LoaderTestCase; 29 import android.test.suitebuilder.annotation.LargeTest; 32 import com.android.contacts.common.test.mocks.ContactsMockContext; 33 import com.android.contacts.common.test.mocks.MockContentProvider; 37 import com.android.contacts.test.InjectedServices;
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractDownloadProviderFunctionalTest.java | 30 import android.test.MoreAsserts; 31 import android.test.RenamingDelegatingContext; 32 import android.test.ServiceTestCase; 33 import android.test.mock.MockContentResolver;
|