/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 19 import android.test.MoreAsserts; 95 MoreAsserts.assertEquals(new int[] { 1 }, in testAppendInt() 97 MoreAsserts.assertEquals(new int[] { 1 }, in testAppendInt() 99 MoreAsserts.assertEquals(new int[] { 1, 2 }, in testAppendInt() 101 MoreAsserts.assertEquals(new int[] { 1, 2 }, in testAppendInt() 107 MoreAsserts.assertEquals(new int[] { }, in testRemoveInt() 109 MoreAsserts.assertEquals(new int[] { 1, 2, 3, }, in testRemoveInt() 111 MoreAsserts.assertEquals(new int[] { 2, 3, }, in testRemoveInt() 113 MoreAsserts.assertEquals(new int[] { 1, 3, }, in testRemoveInt() 115 MoreAsserts.assertEquals(new int[] { 1, 2, }, in testRemoveInt() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannableTest.java | 20 import android.test.MoreAsserts; 42 MoreAsserts.assertEquals(new Object[]{emptySpan}, spans); in testGetSpans() 44 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); in testGetSpans() 46 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); in testGetSpans() 48 MoreAsserts.assertEquals(new Object[]{unemptySpan}, spans); in testGetSpans()
|
D | TextUtilsTest.java | 21 import android.test.MoreAsserts; 220 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/core/tests/coretests/src/android/database/ |
D | DatabaseLocaleTest.java | 24 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/core/tests/coretests/src/android/net/ |
D | LocalSocketTest.java | 23 import android.test.MoreAsserts; 54 MoreAsserts.assertNotEqual(0, c.getPid()); in testBasic()
|
D | NetworkTest.java | 19 import static android.test.MoreAsserts.assertNotEqual;
|
D | IpPrefixTest.java | 21 import static android.test.MoreAsserts.assertNotEqual;
|
D | LinkAddressTest.java | 33 import static android.test.MoreAsserts.assertNotEqual;
|
/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/test-runner/src/android/test/ |
D | DatabaseTestUtils.java | 40 MoreAsserts.assertEquals(expectedSchema, schema); in assertSchemaEquals()
|
D | MoreAsserts.java | 34 public final class MoreAsserts { class 36 private MoreAsserts() { } in MoreAsserts() method in MoreAsserts
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | CopyTest.java | 31 import android.test.MoreAsserts; 291 MoreAsserts.assertEquals(srcbuf, dstbuf); in assertCopied()
|
/frameworks/support/tests/java/android/support/v4/content/ |
D | FileProviderTest.java | 28 import android.test.MoreAsserts; 322 MoreAsserts.assertEquals(expected, Streams.readFully(in)); in assertContentsEquals()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 24 import android.test.MoreAsserts;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ApnSettingTest.java.broken | 20 import android.test.MoreAsserts;
|
/frameworks/base/keystore/tests/src/android/security/ |
D | KeyStoreTest.java | 31 import android.test.MoreAsserts; 883 MoreAsserts.assertEquals(cipherVectors[i], cipherText); in testAes256Ecb() 888 MoreAsserts.assertEquals(testVectors[i], plainText); in testAes256Ecb()
|
/frameworks/base/docs/html/tools/testing/ |
D | testing_android.jd | 371 the {@link android.test.MoreAsserts} and {@link android.test.ViewAsserts} classes: 375 {@link android.test.MoreAsserts} contains more powerful assertions such as 376 {@link android.test.MoreAsserts#assertContainsRegex}, which does regular expression
|
D | activity_test.jd | 1097 {@link android.test.MoreAsserts}, additional Android assert methods.
|
/frameworks/base/docs/html/ |
D | sitemap.txt | 1065 http://developer.android.com/reference/android/test/MoreAsserts.html
|
/frameworks/base/api/ |
D | current.txt | 31451 public final class MoreAsserts {
|
D | system-current.txt | 33734 public final class MoreAsserts {
|