| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| D | DoubleTest.java | 186 String expectedString) { in doTestCompareRawBits() argument 194 assertEquals(expectedString.toLowerCase(Locale.US), convertedString in doTestCompareRawBits() 448 String testString, expectedString; in test_parseDoubleLjava_lang_String() local 449 testString = expectedString = "3.4e-" + i; in test_parseDoubleLjava_lang_String() 450 doTestCompareRawBits(testString, rawBitsFor3_4en324ToN1[324 - i], expectedString); in test_parseDoubleLjava_lang_String() 465 String testString, expectedString; in test_parseDoubleLjava_lang_String() local 466 testString = expectedString = "1.2e" + i; in test_parseDoubleLjava_lang_String() 467 doTestCompareRawBits(testString, rawBitsFor1_2e0To309[i], expectedString); in test_parseDoubleLjava_lang_String() 787 String expectedString = "0x" + Long.toHexString(Double.doubleToLongBits(expected)); in test_parseDouble_LString_NormalPositiveExponent() local 790 + ">.The expected result should be:<" + expectedString in test_parseDouble_LString_NormalPositiveExponent() [all …]
|
| D | FloatTest.java | 88 String expectedString) { in doTestCompareRawBits() argument 492 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_NormalPositiveExponent() local 495 + ">.The expected result should be:<" + expectedString in test_parseFloat_LString_NormalPositiveExponent() 541 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_NormalNegativeExponent() local 544 + ">.The expected result should be:<" + expectedString in test_parseFloat_LString_NormalNegativeExponent() 591 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_MaxNormalBoundary() local 594 + ">.The expected result should be:<" + expectedString in test_parseFloat_LString_MaxNormalBoundary() 641 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_MinNormalBoundary() local 644 + ">.The expected result should be:<" + expectedString in test_parseFloat_LString_MinNormalBoundary() 691 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_MaxSubNormalBoundary() local [all …]
|
| /libcore/dom/src/test/java/org/w3c/domts/ |
| D | JUnitTestCaseAdapter.java | 252 String expectedString; in assertEqualsIgnoreCase() local 261 expectedString = (String) expectedIter.next(); in assertEqualsIgnoreCase() 262 if(actualString.equalsIgnoreCase(expectedString)) { in assertEqualsIgnoreCase() 264 expectedArray.remove(expectedString); in assertEqualsIgnoreCase() 279 String expectedString; in assertEqualsIgnoreCase() local 282 expectedString = (String) expected.get(i); in assertEqualsIgnoreCase() 284 if(!expectedString.equalsIgnoreCase(actualString)) { in assertEqualsIgnoreCase() 285 assertEquals(assertID,expectedString,actualString); in assertEqualsIgnoreCase() 381 String expectedString; in equalsIgnoreCase() local 390 expectedString = (String) expectedIter.next(); in equalsIgnoreCase() [all …]
|
| /libcore/luni/src/test/java/libcore/libcore/net/ |
| D | InetAddressUtilsTest.java | 83 public void parseNumericAddress(String address, String expectedString) { in parseNumericAddress() argument 85 assertEquals(expectedString, inetAddress.getHostAddress()); in parseNumericAddress()
|
| /libcore/luni/src/test/java/libcore/java/net/ |
| D | InetAddressTest.java | 140 public void test_parseNumericAddress(String address, String expectedString) throws Exception { in test_parseNumericAddress() argument 141 assertEquals(expectedString, InetAddress.parseNumericAddress(address).toString()); in test_parseNumericAddress() 486 public void test_toString(String address, String expectedString) throws Exception { in test_toString() argument 490 assertEquals(expectedString, result); in test_toString()
|
| /libcore/luni/src/test/java/libcore/java/util/ |
| D | Base64Test.java | 388 String expectedString = "abcefghi"; in testDecoder_decodeArrayToArray() local 389 byte[] decodedBytes = expectedString.getBytes(US_ASCII); in testDecoder_decodeArrayToArray() 428 String expectedString = "abcefghi"; in testDecoder_decodeByteBuffer() local 429 byte[] expectedBytes = expectedString.getBytes(US_ASCII); in testDecoder_decodeByteBuffer() 644 String expectedString = "YWJjZWZnaGk="; in testEncoder_encodeArrayToArray() local 645 byte[] encodedBytes = expectedString.getBytes(US_ASCII); in testEncoder_encodeArrayToArray() 680 String expectedString = "YWJjZWZnaGk="; in testEncoder_encodeByteBuffer() local 681 byte[] expectedBytes = expectedString.getBytes(US_ASCII); in testEncoder_encodeByteBuffer()
|
| D | LibcoreIoDerivedBase64Test.java | 299 String expectedString = intsToString(expected, len); in assertSubArrayEquals() local 301 assertEquals(expectedString, actualString); in assertSubArrayEquals()
|
| /libcore/luni/src/test/java/libcore/xml/ |
| D | XsltXPathConformanceTestSuite.java | 420 String expectedString = nodeToNormalizedString(expectedNode); in assertNodesAreEquivalent() local 424 expectedString, actualString); in assertNodesAreEquivalent()
|
| /libcore/luni/src/test/java/libcore/java/lang/reflect/ |
| D | ParameterTest.java | 1001 ExecutableTestHelper checkParametersToString(String expectedString) { in checkParametersToString() argument 1002 assertEquals(expectedString, Arrays.toString(executable.getParameters())); in checkParametersToString()
|
| /libcore/luni/src/test/java/libcore/java/text/ |
| D | SimpleDateFormatTest.java | 604 String expectedString) { in doTestFormat() argument 617 assertEquals(expectedString, timeZoneString); in doTestFormat()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
| D | DatagramChannelTest.java | 1275 InetSocketAddress expectedAddress, String expectedString) throws IOException { in receiveOnChannel1AndClose() argument 1293 assertEquals(new String(buf.array(), 0, buf.position()), expectedString); in receiveOnChannel1AndClose() 1310 private void receiveOnDatagramSocket1(int bufSize, String expectedString) in receiveOnDatagramSocket1() argument 1316 assertEquals(new String(buf, 0, bufSize).trim(), expectedString); in receiveOnDatagramSocket1()
|