/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapUtilityTests.java | 20 import android.test.MoreAsserts; 49 MoreAsserts.assertEquals(expected, actual); 53 MoreAsserts.assertEquals(expected, actual); 57 MoreAsserts.assertEquals(expected, actual); 61 MoreAsserts.assertEquals(expected, actual); 65 MoreAsserts.assertEquals(expected, actual); 70 MoreAsserts.assertEquals(expected, actual); 74 MoreAsserts.assertEquals(expected, actual); 79 MoreAsserts.assertEquals(expected, actual); 83 MoreAsserts.assertEquals(expected, actual) [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
SpannableTest.java | 20 import android.test.MoreAsserts; 42 MoreAsserts.assertEquals(new Object[]{emptySpan}, spans); 44 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); 46 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); 48 MoreAsserts.assertEquals(new Object[]{unemptySpan}, spans);
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
ScheduledProgramReaperTest.java | 19 import android.test.MoreAsserts; 51 MoreAsserts.assertContentsInAnyOrder(mDvrDataManager.getAllScheduledRecordings()); 53 MoreAsserts.assertContentsInAnyOrder(mDvrDataManager.getAllScheduledRecordings()); 58 MoreAsserts 61 MoreAsserts 67 MoreAsserts 71 MoreAsserts 77 MoreAsserts 82 MoreAsserts 88 MoreAsserts [all...] |
BaseDvrDataManagerTest.java | 22 import android.test.MoreAsserts; 51 MoreAsserts.assertContentsInAnyOrder(result, recording); 58 MoreAsserts.assertContentsInAnyOrder(result);
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
ArrayUtilsTest.java | 19 import android.test.MoreAsserts; 95 MoreAsserts.assertEquals(new int[] { 1 }, 97 MoreAsserts.assertEquals(new int[] { 1 }, 99 MoreAsserts.assertEquals(new int[] { 1, 2 }, 101 MoreAsserts.assertEquals(new int[] { 1, 2 }, 107 MoreAsserts.assertEquals(new int[] { }, 109 MoreAsserts.assertEquals(new int[] { 1, 2, 3, }, 111 MoreAsserts.assertEquals(new int[] { 2, 3, }, 113 MoreAsserts.assertEquals(new int[] { 1, 3, }, 115 MoreAsserts.assertEquals(new int[] { 1, 2, } [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
AccountWithDataSetTest.java | 21 import android.test.MoreAsserts; 51 MoreAsserts.assertNotEqual(a1, a2r); 52 MoreAsserts.assertNotEqual(a1, a3r); 54 MoreAsserts.assertNotEqual(a2, a1r); 55 MoreAsserts.assertNotEqual(a2, a3r); 57 MoreAsserts.assertNotEqual(a3, a1r); 58 MoreAsserts.assertNotEqual(a3, a2r); 114 MoreAsserts.assertNotEqual(a1, a2r); 115 MoreAsserts.assertNotEqual(a1, a3r); 117 MoreAsserts.assertNotEqual(a2, a1r) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsMetadataProviderTest.java | 21 import android.test.MoreAsserts; 49 MoreAsserts.assertContainsRegex("can't access ContactMetadataProvider", e.getMessage()); 55 MoreAsserts.assertContainsRegex("can't access ContactMetadataProvider", e.getMessage()); 61 MoreAsserts.assertContainsRegex("can't access ContactMetadataProvider", e.getMessage()); 67 MoreAsserts.assertContainsRegex("can't access ContactMetadataProvider", e.getMessage());
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
DeviceAdminPasswordTest.java | 19 import android.test.MoreAsserts; 52 MoreAsserts.assertContainsRegex("Admin cannot change current password", e.getMessage()); 66 MoreAsserts.assertContainsRegex("Cannot call with null password", e.getMessage());
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
ClearProfileOwnerNegativeTest.java | 22 import android.test.MoreAsserts; 36 MoreAsserts.assertContainsRegex("clear profile owner", e.getMessage());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/testutis/ |
TestUtils.java | 18 import android.test.MoreAsserts; 38 MoreAsserts.assertContainsRegex(expectedExceptionMessageRegex, e.getMessage());
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
RecommenderTest.java | 20 import android.test.MoreAsserts; 116 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(), 120 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(3), 122 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(4), 124 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(5), 135 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(), 139 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(3), 141 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(4), 143 MoreAsserts.assertContentsInOrder(mRecommender.recommendChannels(5), 154 MoreAsserts.assertContentsInAnyOrder(mRecommender.recommendChannels() [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DatabaseAsserts.java | 22 import android.test.MoreAsserts; 61 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); 76 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); 94 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, deletedTimestamp);
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
RendererCommonTest.java | 31 import android.test.MoreAsserts; 116 MoreAsserts.assertEquals(new double[] { 129 MoreAsserts.assertEquals(new double[] { 144 MoreAsserts.assertEquals(new double[] { 161 MoreAsserts.assertEquals(round(matrix), round(rotatedMatrix)); 170 MoreAsserts.assertEquals(new double[] { 183 MoreAsserts.assertEquals(new double[] {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
BackupUtilsTest.java | 23 import android.test.MoreAsserts; 96 MoreAsserts.assertEquals(hash1a, hash1b); 99 MoreAsserts.assertEquals(hash2a, hash2b); 112 MoreAsserts.assertEquals(hash1a, listA.get(0)); 113 MoreAsserts.assertEquals(hash1a, listB.get(0)); 115 MoreAsserts.assertEquals(hash2a, listA.get(1)); 116 MoreAsserts.assertEquals(hash2a, listB.get(1));
|
/packages/apps/TV/tests/unit/src/com/android/tv/common/ |
TvContentRatingCacheTest.java | 22 import android.test.MoreAsserts; 61 MoreAsserts.assertEquals(asArray(TvContentRatingConstants.CONTENT_RATING_US_TV_MA), result); 135 MoreAsserts.assertEquals("ratings", 142 MoreAsserts.assertEquals("ratings", 148 MoreAsserts.assertEquals("ratings", 155 MoreAsserts.assertEquals("ratings", 164 MoreAsserts
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
MultiLongSparseArrayTest.java | 19 import android.test.MoreAsserts; 40 MoreAsserts.assertContentsInAnyOrder(sparseArray.get(0), "foo"); 47 MoreAsserts.assertContentsInAnyOrder(sparseArray.get(0), "foo", "bar");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
SearchablesTest.java | 35 import android.test.MoreAsserts; 129 MoreAsserts.assertEmpty(searchablesList); 131 MoreAsserts.assertEmpty(global); 212 MoreAsserts.assertNotEqual(s, ""); 220 MoreAsserts.assertNotEqual(s, ""); 377 MoreAsserts.assertNotEqual(packageName, ""); 378 MoreAsserts.assertNotEqual(resid, 0); 400 MoreAsserts.assertNotEqual(name, ""); 423 MoreAsserts.assertNotEqual(name, "");
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
ContactEditorUtilsTest.java | 20 import android.test.MoreAsserts; 88 MoreAsserts.assertEquals(types, new String[0]); 94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types)); 100 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType, TYPE2EX.accountType), 107 MoreAsserts.assertEquals( 129 MoreAsserts.assertEquals( 137 MoreAsserts.assertEquals( 145 MoreAsserts.assertEquals(
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
DiscourseLoggerTest.java | 19 import android.test.MoreAsserts; 139 MoreAsserts.assertEquals(expected, store.getLines());
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
SSLUtilsTest.java | 20 import android.test.MoreAsserts; 81 MoreAsserts.assertNotEqual(
|
/cts/hostsidetests/devicepolicy/app/AppRestrictionsManagingApp/src/com/android/cts/apprestrictions/managingapp/ |
ApplicationRestrictionsManagerTest.java | 28 import android.test.MoreAsserts; 97 MoreAsserts.assertContainsRegex( 104 MoreAsserts.assertContainsRegex( 144 MoreAsserts.assertContainsRegex("No active admin", expected.getMessage()); 151 MoreAsserts.assertContainsRegex("No active admin", expected.getMessage());
|
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseLocaleTest.java | 24 import android.test.MoreAsserts; 84 MoreAsserts.assertEquals(STRINGS, results); 98 MoreAsserts.assertEquals(results, new String[] {
|
/packages/apps/Email/tests/src/com/android/email/ |
TestUtils.java | 22 import android.test.MoreAsserts; 56 MoreAsserts.assertEquals(new byte[] {}, b()); 57 MoreAsserts.assertEquals(new byte[] {1, 2, (byte) 0xff}, b(1, 2, 0xff));
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
ShortcutManagerNegativeTest.java | 23 import android.test.MoreAsserts; 77 MoreAsserts.assertContainsRegex(expectedMessage, 133 MoreAsserts.assertContainsRegex( 147 MoreAsserts.assertNotContainsRegex("Success", runCommand("cmd shortcut clear-shortcuts " +
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
LocalServiceTest.java | 25 import android.test.MoreAsserts;
|