/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTestInnerClass.java | 37 public void assertTrue(String assertID, boolean actual) { in assertTrue() 41 public void assertFalse(String assertID, boolean actual) { in assertFalse() 45 public void assertNull(String assertID, Object actual) { in assertNull() 49 public void assertNotNull(String assertID, Object actual) { in assertNotNull() 53 public void assertSame(String assertID, Object expected, Object actual) { in assertSame() 76 String actual) { in assertEqualsIgnoreCase() 81 Collection actual) { in assertEqualsIgnoreCase() 86 List actual) { 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() [all …]
|
D | DOMTestCase.java | 138 public void assertTrue(String assertID, boolean actual) { in assertTrue() 150 public void assertTrue(String assertID, Object actual) { in assertTrue() 162 public void assertFalse(String assertID, boolean actual) { in assertFalse() 174 public void assertFalse(String assertID, Object actual) { in assertFalse() 189 public void assertNull(String assertID, Object actual) { in assertNull() 201 public void assertNotNull(String assertID, Object actual) { in assertNotNull() 213 public void assertSame(String assertID, Object expected, Object actual) { in assertSame() 295 String actual) { in assertEqualsIgnoreCase() 313 Collection actual) { in assertEqualsIgnoreCase() 331 List actual) { in assertEqualsIgnoreCase() [all …]
|
D | DOMTestFramework.java | 36 void assertTrue(DOMTestCase test, String assertID, boolean actual); in assertTrue() 38 void assertFalse(DOMTestCase test, String assertID, boolean actual); in assertFalse() 40 void assertNull(DOMTestCase test, String assertID, Object actual); in assertNull() 42 void assertNotNull(DOMTestCase test, String assertID, Object actual); in assertNotNull() 48 Object actual); in assertSame() 78 String actual); in assertEqualsIgnoreCase() 84 Collection actual); in assertEqualsIgnoreCase() 90 List actual); in assertEqualsIgnoreCase() 96 String actual); in assertEquals() 102 int actual); in assertEquals() [all …]
|
D | JUnitTestCaseAdapter.java | 184 public void assertTrue(DOMTestCase test, String assertID, boolean actual) { in assertTrue() 188 public void assertFalse(DOMTestCase test, String assertID, boolean actual) { in assertFalse() 194 public void assertNull(DOMTestCase test, String assertID, Object actual) { in assertNull() 198 public void assertNotNull(DOMTestCase test, String assertID, Object actual) { in assertNotNull() 202 public void assertSame(DOMTestCase test, String assertID, Object expected, Object actual) { in assertSame() 238 …ic void assertEqualsIgnoreCase(DOMTestCase test, String assertID, String expected, String actual) { in assertEqualsIgnoreCase() 244 …assertEqualsIgnoreCase(DOMTestCase test, String assertID, Collection expected, Collection actual) { 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() [all …]
|
/libcore/luni/src/test/java/libcore/libcore/reflect/ |
D | ParameterizedTypeRegressionTest.java | 56 Type actual = new ParameterizedClass<List>() { in testNoGeneric() local 66 Type actual = new ParameterizedClass<List<Integer>>() { in testGeneric() local 80 Type actual = new ParameterizedClass<List<Map<String, Float>>>() { in testGenericOfGeneric() local 100 Type actual = new ParameterizedClass<A<Integer>>() { in testNested1() local 116 Type actual = new ParameterizedClass<A<Integer>.B<Float>>() { in testNested2() local 136 Type actual = new ParameterizedClass<A<Integer>.B<Float>.C1<String>>() { in testNested3() local 160 Type actual = new ParameterizedClass<A<Integer>.B<Float>.C1<String>.D1>() { in testNested4_nonGenericLeaf() local 186 Type actual = new ParameterizedClass<A<Integer>.B<Float>.C2.D2<String>>() { in testNested4_nonGenericNonLeaf() local
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeParsing.java | 138 TemporalAccessor actual = formatter.parse(text); in test_parse_instantZones_ZDT() local 144 TemporalAccessor actual = formatter.parse(text); in test_parse_instantZones_LDT() local 150 TemporalAccessor actual = formatter.parse(text); in test_parse_instantZones_Instant() local 156 TemporalAccessor actual = formatter.parse(text); in test_parse_instantZones_supported() local 177 TemporalAccessor actual = formatter.parse(text); in test_parse_instantNoZone_ZDT() local 183 TemporalAccessor actual = formatter.parse(text); in test_parse_instantNoZone_LDT() local 189 TemporalAccessor actual = formatter.parse(text); in test_parse_instantNoZone_Instant() local 195 TemporalAccessor actual = formatter.parse(text); in test_parse_instantNoZone_supported() local
|
/libcore/luni/src/test/java/libcore/java/util/stream/ |
D | CollectorsTest.java | 66 long actual = Stream.generate(() -> 1) in counting_largeStream() local 100 List<Integer> actual = Stream.of(1, 2, 10).collect(plusOneCollector); in mapping_asArgumentToCollect() local 110 Map<Boolean, List<Integer>> actual = Stream.of(1, 2, 3, 4) in mapping_asArgumentInGroupingBy() local
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | SSLConfigurationAsserts.java | 82 private static void assertSSLParametersEqual(SSLParameters expected, SSLParameters actual) { in assertSSLParametersEqual() 89 private static void assertCipherSuitesEqual(String[] expected, String[] actual) { in assertCipherSuitesEqual() 93 private static void assertProtocolsEqual(String[] expected, String[] actual) { in assertProtocolsEqual()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | StreamOpFlagsTest.java | 215 private void assertSpliteratorMask(int actual, int expected) { in assertSpliteratorMask() 236 private void assertStreamMask(int actual, int expected) { in assertStreamMask() 257 private void assertOpMask(int actual, int expected) { in assertOpMask() 278 private void assertTerminalOpMask(int actual, int expected) { in assertTerminalOpMask() 299 private void assertUpstreamTerminalOpMask(int actual, int expected) { in assertUpstreamTerminalOpMask() 333 private void assertSpliteratorCharacteristicsMask(int actual, int expected) { in assertSpliteratorCharacteristicsMask()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | MessageDigestTest.java | 154 String actual = digestToString(computedDigest); in testfips180_2_singleblock() local 174 String actual = digestToString(computedDigest); in testfips180_2_multiblock() local 186 String actual = digestToString(computedDigest); in testfips180_2_longMessage() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericReflectionTestsBase.java | 65 public static void assertInstanceOf(Class<?> expectedClass, Object actual) { in assertInstanceOf() 70 public static void assertNotEquals(Object expected, Object actual) { in assertNotEquals()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | SplitTest.java | 80 private void assertArraysEqual(String[] expected, String[] actual) { in assertArraysEqual() 83 assertEquals(Integer.toString(i), expected[i], actual[i]); in assertArraysEqual() local
|
/libcore/json/src/main/java/org/json/ |
D | JSON.java | 95 public static JSONException typeMismatch(Object indexOrName, Object actual, in typeMismatch() 106 public static JSONException typeMismatch(Object actual, String requiredType) in typeMismatch()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | DoublePrimitiveOpsTests.java | 97 double[] actual = DoubleStream.iterate(1.0, i -> i + 1.0).limit(9).toArray(); in testLimit() local 102 … double[] actual = LongStream.range(1, 100).parallel().asDoubleStream().limit(9).toArray(); in testLimit() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | DoubleTest.java | 656 double actual; in test_parseDouble_LString_FromHexString() local 784 double actual = Double.parseDouble(inputString); in test_parseDouble_LString_NormalPositiveExponent() local 845 double actual = Double.parseDouble(inputString); in test_parseDouble_LString_NormalNegativeExponent() local 909 double actual = Double.parseDouble(inputs[i]); in test_parseDouble_LString_MaxNormalBoundary() local 973 double actual = Double.parseDouble(inputs[i]); in test_parseDouble_LString_MinNormalBoundary() local 1037 double actual = Double.parseDouble(inputs[i]); in test_parseDouble_LString_MaxSubNormalBoundary() local 1101 double actual = Double.parseDouble(inputs[i]); in test_parseDouble_LString_MinSubNormalBoundary() local 1148 double actual = Double.parseDouble(inputs[i]); in test_parseDouble_LString_ZeroBoundary() local
|
D | FloatTest.java | 427 float actual; in test_parseFloat_LString_Unusual() local 489 float actual = Float.parseFloat(inputString); in test_parseFloat_LString_NormalPositiveExponent() local 538 float actual = Float.parseFloat(inputString); in test_parseFloat_LString_NormalNegativeExponent() local 588 float actual = Float.parseFloat(inputs[i]); in test_parseFloat_LString_MaxNormalBoundary() local 638 float actual = Float.parseFloat(inputs[i]); in test_parseFloat_LString_MinNormalBoundary() local 688 float actual = Float.parseFloat(inputs[i]); in test_parseFloat_LString_MaxSubNormalBoundary() local 738 float actual = Float.parseFloat(inputs[i]); in test_parseFloat_LString_MinSubNormalBoundary() local 788 float actual = Float.parseFloat(inputs[i]); in test_parseFloat_LString_ZeroBoundary() local
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | MapOfTest.java | 189 Map<K, V> actual = creator.create(entries); in assertBehaviorCommonToAllOfInstances() local 194 Map<K, V> actual, K exampleKey, V exampleValue) { in assertBehaviorCommonToAllOfInstances() 206 private static<K, V> void assertMapEquals(Map<K, V> expected, Map<K, V> actual) { in assertMapEquals() 217 private static<T> void assertSetEquals(Set<T> expected, Set<T> actual) { in assertSetEquals() 221 private static<T> void assertCollectionEquals(Collection<T> expected, Collection<T> actual) { in assertCollectionEquals()
|
D | ListOfTest.java | 168 private static<T extends Comparable<T>> void check_nonEmpty(List<T> expected, List<T> actual) { in check_nonEmpty() 175 List<T> expected, List<T> actual, @NonNull T example) { in assertBehaviorCommonToAllOfInstances()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | OldCharset_SingleByteAbstractTest.java | 129 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()
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | TestMethods.java | 46 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/tests/security/interfaces/ |
D | DSAKeyTest.java | 51 private void assertDSAParamsEquals(DSAParams expected, DSAParams actual) { in assertDSAParamsEquals()
|
/libcore/luni/src/test/java/libcore/sun/net/util/ |
D | IPAddressUtilTest.java | 57 private static void assertBytesEquals(int a, int b, int c, int d, byte[] actual) { in assertBytesEquals()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | UUIDTest.java | 241 String actual = uuid.toString(); in test_toString() local 308 UUID actual = UUID.fromString("f81d4fae-7dec-11d0-a765-00a0c91e6bf6"); in test_fromString() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldDoubleTest.java | 73 double actual = Double.parseDouble("9e551027"); in test_parseDouble_LString_AndroidRegression() local
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 131 InetAddress[] actual = in test_android_getaddrinfo_networkPolicy() local 144 InetAddress[] actual = in test_android_getaddrinfo_networkPolicy() local
|