Home
last modified time | relevance | path

Searched refs:converted (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldOutputStreamWriterTest.java210 String converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() local
211 assertTrue("Test 4: Invalid conversion: " + converted, in test_close()
212 converted.equals("a")); in test_close()
220 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close()
221 assertTrue("Test 5: Invalid conversion: " + converted, in test_close()
222 converted.equals("\u001b$B$(")); in test_close()
224 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close()
225 assertTrue("Test 6: Invalid conversion: " + converted, in test_close()
226 converted.equals("\u001b$B$(\u001b(B")); in test_close()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamWriterTest.java586 String converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close() local
587 assertTrue("invalid conversion 1: " + converted, converted in test_close()
596 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close()
597 assertTrue("invalid conversion 2: " + converted, converted in test_close()
600 converted = new String(bout.toByteArray(), "ISO8859_1"); in test_close()
601 assertTrue("invalid conversion 3: " + converted, converted in test_close()
/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidStrictMathTest.java597 double converted = StrictMath.toDegrees(StrictMath.toRadians(d)); in testToRadiansD() local
599 converted >= d * 0.99999999 && converted <= d * 1.00000001); in testToRadiansD()
605 double converted = StrictMath.toRadians(StrictMath.toDegrees(d)); in testToDegreesD() local
607 converted >= d * 0.99999999 && converted <= d * 1.00000001); in testToDegreesD()
DOldAndroidMathTest.java614 double converted = Math.toDegrees(Math.toRadians(d)); in testToRadiansD() local
616 converted >= d * 0.99999999 && converted <= d * 1.00000001); in testToRadiansD()
622 double converted = Math.toRadians(Math.toDegrees(d)); in testToDegreesD() local
624 converted >= d * 0.99999999 && converted <= d * 1.00000001); in testToDegreesD()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java1465 double converted = StrictMath.toDegrees(StrictMath.toRadians(d)); in test_toRadiansD() local
1467 converted >= d * 0.99999999 && converted <= d * 1.00000001); in test_toRadiansD()
1476 double converted = StrictMath.toRadians(StrictMath.toDegrees(d)); in test_toDegreesD() local
1478 converted >= d * 0.99999999 && converted <= d * 1.00000001); in test_toDegreesD()
DMathTest.java1877 double converted = Math.toDegrees(Math.toRadians(d)); in test_toRadiansD() local
1879 converted >= d * 0.99999999 && converted <= d * 1.00000001); in test_toRadiansD()
1888 double converted = Math.toRadians(Math.toDegrees(d)); in test_toDegreesD() local
1890 converted >= d * 0.99999999 && converted <= d * 1.00000001); in test_toDegreesD()
/libcore/tools/testmapping/
DREADME26 adjust. (These could be converted to command-line options if convenient.)
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java2463 String converted = literal.replace("'", "''"); in toString() local
2464 return "'" + converted + "'"; in toString()
3463 String converted = noOffsetText.replace("'", "''"); in toString() local
3464 return "Offset(" + PATTERNS[type] + ",'" + converted + "')"; in toString()