Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 110) sorted by relevance

12345

/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidChecksumTest.java40 private void adler32Test(byte[] values, long expected) { in adler32Test()
45 assertEquals(adler.getValue(), expected); in adler32Test() local
52 assertEquals(adler.getValue(), expected); in adler32Test() local
55 private void cRC32Test(byte[] values, long expected) { in cRC32Test()
60 assertEquals(crc.getValue(), expected); in cRC32Test() local
67 assertEquals(crc.getValue(), expected); in cRC32Test() local
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestInnerClass.java53 public void assertSame(String assertID, Object expected, Object actual) { in assertSame()
75 public void assertEqualsIgnoreCase(String assertID, String expected, in assertEqualsIgnoreCase()
80 public void assertEqualsIgnoreCase(String assertID, Collection expected, in assertEqualsIgnoreCase()
85 public void assertEqualsIgnoreCase(String assertID, List expected, in assertEqualsIgnoreCase()
90 public void assertEquals(String assertID, String expected, String actual) { in assertEquals()
94 public void assertEquals(String assertID, int expected, int actual) { in assertEquals()
98 public void assertEquals(String assertID, double expected, double actual) { in assertEquals()
102 public void assertEquals(String assertID, boolean expected, boolean actual) { in assertEquals()
106 public void assertEquals(String assertID, Collection expected, in assertEquals()
111 public void assertEquals(String assertID, Collection expected, in assertEquals()
[all …]
DDOMTestCase.java213 public void assertSame(String assertID, Object expected, Object actual) { in assertSame()
294 String expected, in assertEqualsIgnoreCase()
312 Collection expected, in assertEqualsIgnoreCase()
330 List expected, in assertEqualsIgnoreCase()
348 String expected, in assertEqualsAutoCase()
377 private List toUpperCase(Collection expected) { in toUpperCase()
400 Collection expected, in assertEqualAutoCase()
431 List expected, in assertEqualsAutoCase()
458 public void assertEquals(String assertID, String expected, String actual) { in assertEquals()
472 public void assertEquals(String assertID, int expected, int actual) { in assertEquals()
[all …]
DDOMTestFramework.java47 Object expected, in assertSame()
77 String expected, in assertEqualsIgnoreCase()
83 Collection expected, in assertEqualsIgnoreCase()
89 List expected, in assertEqualsIgnoreCase()
95 String expected, in assertEquals()
101 int expected, in assertEquals()
107 boolean expected, in assertEquals()
113 double expected, in assertEquals()
119 Collection expected, in assertEquals()
125 String expected, in assertNotEqualsIgnoreCase()
[all …]
DJUnitTestCaseAdapter.java202 public void assertSame(DOMTestCase test, String assertID, Object expected, Object actual) { in assertSame()
238 …public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, String expected, String actu… in assertEqualsIgnoreCase()
244 …public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, Collection expected, Collect… in assertEqualsIgnoreCase()
272 …public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, List expected, List actual) { in assertEqualsIgnoreCase()
292 public void assertEquals(DOMTestCase test, String assertID, String expected, String actual) { in assertEquals()
296 public void assertEquals(DOMTestCase test, String assertID, int expected, int actual) { in assertEquals()
300 public void assertEquals(DOMTestCase test, String assertID, boolean expected, boolean actual) { in assertEquals()
304 public void assertEquals(DOMTestCase test, String assertID, double expected, double actual) { in assertEquals()
308 …public void assertEquals(DOMTestCase test, String assertID, Collection expected, Collection actual… in assertEquals()
336 …public void assertNotEqualsIgnoreCase(DOMTestCase test, String assertID, String expected, String a… in assertNotEqualsIgnoreCase()
[all …]
/libcore/support/src/test/java/org/apache/harmony/testframework/
DCharSinkTester.java83 private static void assertArrayEquals(char[] expected, char[] actual) { in assertArrayEquals()
94 char[] expected = new char[] { }; in sinkTestNoWriting() local
102 char[] expected = new char[] { }; in sinkTestWriteZeroChars() local
115 char[] expected = "EFGCDECBA".toCharArray(); in sinkTestWriteCharByChar() local
127 char[] expected = "EFGCDECBA".toCharArray(); in sinkTestWriteArray() local
140 char[] expected = "EFGCDECBA".toCharArray(); in sinkTestWriteOffset() local
167 char[] expected = new char[(1024 * 1024) + 1]; // 2 MB + 1 char in sinkTestWriteLargeArray() local
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DSplitTest.java14 String[] expected = new String[] { "have", "you", "done", "it", "right" }; in testSimple() local
56 private void assertArraysEqual(String[] expected, String[] actual) { in assertArraysEqual()
59 assertEquals(Integer.toString(i), expected[i], actual[i]); in assertArraysEqual() local
/libcore/luni/src/test/java/libcore/io/
DBase64Test.java42 String expected = "///////////////////////////////////////////////////////////////////////" in testEncodeDoesNotWrap() local
47 public void assertEncoded(String expected , int... data) { in assertEncoded()
/libcore/luni/src/test/java/libcore/xml/
DNamespacedAttributesLookupTest.java49 List<String> expected = Arrays.asList( in testNamespace() local
73 List<String> expected = Arrays.asList( in testNamespacePrefixes() local
DDomTest.java434 String expected = original.replaceFirst( in testElementSetTextContent() local
456 String expected = original.replace("image/png", "foobar"); in testNotationSetTextContent() local
484 String expected = original.replace("standard=\"strawberry\"", "standard=\"foobar\""); in testAttributeSetTextContent() local
491 String expected = original.replace(">Belgian<!", ">foobar<!"); in testTextSetTextContent() local
498 String expected = original.replace( in testCdataSetTextContent() local
506 String expected = original.replace(" square shape?>", " foobar?>"); in testProcessingInstructionSetTextContent() local
513 String expected = original.replace("-- add other vitamins? --", "--foobar--"); in testCommentSetTextContent() local
701 String expected = original.replace( in testReplaceWholeTextFirst() local
710 String expected = original.replace( in testReplaceWholeTextMiddle() local
720 String expected = original.replace( in testReplaceWholeTextLast() local
[all …]
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/
DX500PrincipalTest.java31 String expected = "aced0005737200266a617661782e73656375726974792e617574682e7" in testSerialization() local
87 String expected = "" in testGetName() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DDoubleTest.java634 double expected; in test_parseDouble_LString_FromHexString() local
762 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_NormalPositiveExponent() local
823 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_NormalNegativeExponent() local
887 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_MaxNormalBoundary() local
951 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_MinNormalBoundary() local
1015 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_MaxSubNormalBoundary() local
1079 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_MinSubNormalBoundary() local
1126 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_ZeroBoundary() local
DFloatTest.java474 float expected = Float.intBitsToFloat(expecteds[i]); in test_parseFloat_LString_NormalPositiveExponent() local
523 float expected = Float.intBitsToFloat(expecteds[i]); in test_parseFloat_LString_NormalNegativeExponent() local
573 float expected = Float.intBitsToFloat(expecteds[i]); in test_parseFloat_LString_MaxNormalBoundary() local
623 float expected = Float.intBitsToFloat(expecteds[i]); in test_parseFloat_LString_MinNormalBoundary() local
673 float expected = Float.intBitsToFloat(expecteds[i]); in test_parseFloat_LString_MaxSubNormalBoundary() local
723 float expected = Float.intBitsToFloat(expecteds[i]); in test_parseFloat_LString_MinSubNormalBoundary() local
773 float expected = Float.intBitsToFloat(expecteds[i]); in test_parseFloat_LString_ZeroBoundary() local
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherInputStream1Test.java110 int expected = data.length; in testRead2() local
148 int expected = data.length; in testRead3() local
185 int expected = data.length; in testSkip() local
/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_SingleByteAbstractTest.java129 static void assertEqualChars2 (String msg, char[] expected, char[] actual, byte[] bytes) { in assertEqualChars2()
178 static void assertEqualBytes2 (String msg, byte[] expected, byte[] actual, char[] chars) { in assertEqualBytes2()
DOldCharset_AbstractTest.java203 char expected, actual; in assertEqualCBs() local
229 static void assertEqualChars(char[] expected, CharBuffer actualCB) { in assertEqualChars()
241 static void assertEqualBytes (String msg, byte[] expected, ByteBuffer actualBB) { in assertEqualBytes()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionContextTest.java32 public static final void assertSSLSessionContextSize(int expected, TestSSLContext c) { in assertSSLSessionContextSize()
41 public static final void assertSSLSessionContextSize(int expected, in assertSSLSessionContextSize()
48 public static final void assertSSLSessionContextSize(int expected, in assertSSLSessionContextSize()
DDistinguishedNameParserTest.java54 private void assertCns(String dn, String... expected) { in assertCns()
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAKeyTest.java51 private void assertDSAParamsEquals(DSAParams expected, DSAParams actual) { in assertDSAParamsEquals()
/libcore/luni/src/test/etc/loading-test-jar/
DTestMethods.java46 public static void assertSame(Object expected, Object actual) { in assertSame()
56 public static void assertSame(int expected, int actual) { in assertSame()
/libcore/luni/src/test/java/libcore/java/security/
DMessageDigestTest.java85 private static void putExpectation(String algorithm, String inputName, byte[] expected) { in putExpectation()
232 private void assertDigest(String algorithm, byte[] actual, byte[] expected) { in assertDigest()
/libcore/json/src/test/java/org/json/
DParsingTest.java232 private void assertParsed(String message, Object expected, String json) throws JSONException { in assertParsed()
239 private void assertParsed(Object expected, String json) throws JSONException { in assertParsed()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DSplitTest.java34 String[] expected = new String[] { "have", "you", "done", "it", "right" }; in testSimple() local
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Ddocumenttypegetnotations.java71 java.util.Collection expected = new java.util.ArrayList(); in runTest() local
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidURITest.java44 private static void resolve(String base, String uri, String expected) { in resolve()

12345