Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DArrayUtilsTest.java19 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/
DSpannableTest.java20 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()
DTextUtilsTest.java21 import android.test.MoreAsserts;
220 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/core/tests/coretests/src/android/database/
DDatabaseLocaleTest.java24 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/core/tests/coretests/src/android/net/
DLocalSocketTest.java23 import android.test.MoreAsserts;
54 MoreAsserts.assertNotEqual(0, c.getPid()); in testBasic()
DNetworkTest.java19 import static android.test.MoreAsserts.assertNotEqual;
DIpPrefixTest.java21 import static android.test.MoreAsserts.assertNotEqual;
DLinkAddressTest.java33 import static android.test.MoreAsserts.assertNotEqual;
/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/test-runner/src/android/test/
DDatabaseTestUtils.java40 MoreAsserts.assertEquals(expectedSchema, schema); in assertSchemaEquals()
DMoreAsserts.java34 public final class MoreAsserts { class
36 private MoreAsserts() { } in MoreAsserts() method in MoreAsserts
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DCopyTest.java31 import android.test.MoreAsserts;
291 MoreAsserts.assertEquals(srcbuf, dstbuf); in assertCopied()
/frameworks/support/tests/java/android/support/v4/content/
DFileProviderTest.java28 import android.test.MoreAsserts;
322 MoreAsserts.assertEquals(expected, Streams.readFully(in)); in assertContentsEquals()
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java24 import android.test.MoreAsserts;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DApnSettingTest.java.broken20 import android.test.MoreAsserts;
/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java31 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/
Dtesting_android.jd371 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
Dactivity_test.jd1097 {@link android.test.MoreAsserts}, additional Android assert methods.
/frameworks/base/docs/html/
Dsitemap.txt1065 http://developer.android.com/reference/android/test/MoreAsserts.html
/frameworks/base/api/
Dcurrent.txt31451 public final class MoreAsserts {
Dsystem-current.txt33734 public final class MoreAsserts {