/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannableTest.java | 22 import android.test.MoreAsserts; 53 MoreAsserts.assertEquals(new Object[]{emptySpan}, spans); in testGetSpans() 55 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); in testGetSpans() 57 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); in testGetSpans() 59 MoreAsserts.assertEquals(new Object[]{unemptySpan}, spans); in testGetSpans()
|
D | TextUtilsTest.java | 29 import android.test.MoreAsserts; 237 MoreAsserts.assertEquals(expectedStrings, strings.toArray(new String[]{})); in stringSplitterTestHelper()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 35 import android.test.MoreAsserts; 129 MoreAsserts.assertEmpty(searchablesList); in testSearchablesListEmpty() 131 MoreAsserts.assertEmpty(global); in testSearchablesListEmpty() 212 MoreAsserts.assertNotEqual(s, ""); in assertNotEmpty() 220 MoreAsserts.assertNotEqual(s, ""); in assertNullOrNotEmpty() 377 MoreAsserts.assertNotEqual(packageName, ""); in getXml() 378 MoreAsserts.assertNotEqual(resid, 0); in getXml() 400 MoreAsserts.assertNotEqual(name, ""); in resolveContentProvider() 423 MoreAsserts.assertNotEqual(name, ""); in getActivityInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 46 import android.test.MoreAsserts; 1628 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() 1631 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() 1634 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() 1637 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() 1640 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() 1643 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() 1652 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() 1655 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() 1658 MoreAsserts.assertNotEqual(3, mManager.getRemainingCallCount()); in testThrottling_foreground() [all …]
|
D | ShortcutManagerTest8.java | 43 import android.test.MoreAsserts; 1162 MoreAsserts.assertContainsRegex("^string-", si.getShortLabel().toString()); in testRequestPinShortcut_manifestExists_titleWontChange()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | XmlConfigTests.java | 22 import android.test.MoreAsserts; 215 MoreAsserts.assertNotEqual(config, other); in testMultipleDomainConfigs() 288 MoreAsserts.assertNotEqual(parent, child); in testNestedDomainConfigs() 289 MoreAsserts.assertEmpty(parent.getPins().pins); in testNestedDomainConfigs() 290 MoreAsserts.assertNotEmpty(child.getPins().pins); in testNestedDomainConfigs() 293 MoreAsserts.assertNotEmpty(child.getTrustAnchors()); in testNestedDomainConfigs() 307 MoreAsserts.assertNotEqual(parent, child); in testNestedDomainConfigsOverride() 318 MoreAsserts.assertEmpty(anchors); in testDebugOverridesDisabled() 331 MoreAsserts.assertNotEmpty(anchors); in testBasicDebugOverrides() 390 MoreAsserts.assertAssignableFrom(XmlConfigSource.ParserException.class, in testBadConfig() [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseLocaleTest.java | 20 import android.test.MoreAsserts; 84 MoreAsserts.assertEquals(STRINGS, results); in testLocaleInsertOrder() 98 MoreAsserts.assertEquals(results, new String[] { in testLocaleenUS()
|
D | MatrixCursorTest.java | 19 import android.test.MoreAsserts; 156 MoreAsserts.assertEquals(new byte[] {(byte) 0xaa, (byte) 0x55}, cursor.getBlob(6)); in testRowBuilderOffer() 207 MoreAsserts.assertEquals(new byte[] {(byte) 0xaa, (byte) 0x55}, cursor.getBlob(6)); in checkValues()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
D | BackupUtilsTest.java | 32 import android.test.MoreAsserts; 371 MoreAsserts.assertEquals(hash1a, hash1b); in testHashSignature() 374 MoreAsserts.assertEquals(hash2a, hash2b); in testHashSignature() 387 MoreAsserts.assertEquals(hash1a, listA.get(0)); in testHashSignature() 388 MoreAsserts.assertEquals(hash1a, listB.get(0)); in testHashSignature() 390 MoreAsserts.assertEquals(hash2a, listA.get(1)); in testHashSignature() 391 MoreAsserts.assertEquals(hash2a, listB.get(1)); in testHashSignature()
|
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/ |
D | TestUtils.java | 18 import android.test.MoreAsserts; 43 MoreAsserts.assertContainsRegex(expectedExceptionMessageRegex, e.getMessage()); in assertExpectException()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | LocalSocketTest.java | 19 import android.test.MoreAsserts; 66 MoreAsserts.assertNotEqual(0, c.getPid()); in testBasic()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileBridgeTest.java | 21 import android.test.MoreAsserts; 74 MoreAsserts.assertEquals(expected, Streams.readFully(new FileInputStream(file))); in assertContents()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PulledStatsTest.java | 27 import android.test.MoreAsserts;
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 53 import android.test.MoreAsserts; 440 MoreAsserts.assertContainsRegex(expectedExceptionMessageRegex, e.getMessage()); in assertExpectException() 1064 MoreAsserts.assertEquals((int[]) v1, (int[]) v2); in assertBundlesEqual() 1067 MoreAsserts.assertEquals((double[]) v1, (double[]) v2); in assertBundlesEqual() 1070 MoreAsserts.assertEquals((String[]) v1, (String[]) v2); in assertBundlesEqual()
|
/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 37 public final class MoreAsserts { class 39 private MoreAsserts() { } in MoreAsserts() method in MoreAsserts
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 88 import android.test.MoreAsserts; 1500 MoreAsserts.assertContentsInAnyOrder(policy.mDelegationMap.get(CERT_DELEGATE), in testDelegation() 1502 MoreAsserts.assertContentsInAnyOrder(dpm.getDelegatedScopes(admin1, CERT_DELEGATE), in testDelegation() 1505 MoreAsserts.assertContentsInAnyOrder(policy.mDelegationMap.get(RESTRICTIONS_DELEGATE), in testDelegation() 1507 MoreAsserts.assertContentsInAnyOrder(dpm.getDelegatedScopes(admin1, RESTRICTIONS_DELEGATE), in testDelegation() 2371 MoreAsserts.assertContentsInAnyOrder(dpm.getAffiliationIds(admin2), "red", "green", "blue"); in testUserAffiliation() 2382 MoreAsserts.assertContentsInAnyOrder( in testUserAffiliation() 2391 MoreAsserts.assertContentsInAnyOrder( in testUserAffiliation() 3664 MoreAsserts.assertEmpty(targetUsers); in testGetBindDeviceAdminTargetUsers() 3678 MoreAsserts.assertEmpty(targetUsers); in testGetBindDeviceAdminTargetUsers() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/textservice/ |
D | SpellCheckerSubtypeTest.java | 19 import static android.test.MoreAsserts.assertNotEqual;
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 19 import static android.test.MoreAsserts.assertNotEqual;
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 19 import static android.test.MoreAsserts.assertContainsRegex;
|
/frameworks/base/test-runner/api/ |
D | current.txt | 116 @Deprecated public final class MoreAsserts {
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 28991 public final class MoreAsserts {
|