Home
last modified time | relevance | path

Searched refs:MoreAsserts (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DSpannableTest.java22 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()
DTextUtilsTest.java29 import android.test.MoreAsserts;
237 MoreAsserts.assertEquals(expectedStrings, strings.toArray(new String[]{})); in stringSplitterTestHelper()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java35 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/
DShortcutManagerTest2.java46 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 …]
DShortcutManagerTest8.java43 import android.test.MoreAsserts;
1162 MoreAsserts.assertContainsRegex("^string-", si.getShortLabel().toString()); in testRequestPinShortcut_manifestExists_titleWontChange()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java22 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/
DDatabaseLocaleTest.java20 import android.test.MoreAsserts;
84 MoreAsserts.assertEquals(STRINGS, results); in testLocaleInsertOrder()
98 MoreAsserts.assertEquals(results, new String[] { in testLocaleenUS()
DMatrixCursorTest.java19 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/
DBackupUtilsTest.java32 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/
DTestUtils.java18 import android.test.MoreAsserts;
43 MoreAsserts.assertContainsRegex(expectedExceptionMessageRegex, e.getMessage()); in assertExpectException()
/frameworks/base/core/tests/coretests/src/android/net/
DLocalSocketTest.java19 import android.test.MoreAsserts;
66 MoreAsserts.assertNotEqual(0, c.getPid()); in testBasic()
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java21 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/
DPulledStatsTest.java27 import android.test.MoreAsserts;
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java53 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/
DMoreAsserts.java37 public final class MoreAsserts { class
39 private MoreAsserts() { } in MoreAsserts() method in MoreAsserts
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java88 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/
DSpellCheckerSubtypeTest.java19 import static android.test.MoreAsserts.assertNotEqual;
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java19 import static android.test.MoreAsserts.assertNotEqual;
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java19 import static android.test.MoreAsserts.assertContainsRegex;
/frameworks/base/test-runner/api/
Dcurrent.txt116 @Deprecated public final class MoreAsserts {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28991 public final class MoreAsserts {