/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/luni/src/test/java/tests/java/nio/file/attribute/ |
D | PosixFilePermissionsTest.java | 108 Set<PosixFilePermission> actual = PosixFilePermissions.fromString(input); in test_fromString() local 116 String actual = PosixFilePermissions.toString(input); in test_toString() local 127 var actual = PosixFilePermissions.toString(convertForward); in roundtrip() local 135 var actual = PosixFilePermissions.fromString(convertForward); in roundtrip() local
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeParsing.java | 153 TemporalAccessor actual = formatter.parse(text); in test_parse_instantZones_ZDT() local 159 TemporalAccessor actual = formatter.parse(text); in test_parse_instantZones_LDT() local 165 TemporalAccessor actual = formatter.parse(text); in test_parse_instantZones_Instant() local 171 TemporalAccessor actual = formatter.parse(text); in test_parse_instantZones_supported() local 192 TemporalAccessor actual = formatter.parse(text); in test_parse_instantNoZone_ZDT() local 198 TemporalAccessor actual = formatter.parse(text); in test_parse_instantNoZone_LDT() local 204 TemporalAccessor actual = formatter.parse(text); in test_parse_instantNoZone_Instant() local 210 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/Collection/testlibrary/ |
D | CollectionAsserts.java | 123 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents() 127 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected, String msg) { in assertContents() 131 public static<T> void assertContents(Iterator<T> actual, Iterator<T> expected) { in assertContents() 135 public static<T> void assertContents(Iterator<T> actual, Iterator<T> expected, String msg) { in assertContents() 165 public static<T> void assertContents(Iterator<T> actual, T... expected) { in assertContents() 169 …public static<T extends Comparable<? super T>> void assertContentsUnordered(Iterable<T> actual, It… in assertContentsUnordered() 173 …public static<T extends Comparable<? super T>> void assertContentsUnordered(Iterable<T> actual, It… in assertContentsUnordered()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ArrayDequeTest.java | 45 List<Integer> actual = new ArrayList<>(); in forEach_emptyDeque() local 60 List<Integer> actual = new ArrayList<>(); in forEach_nonEmptyDeque() local
|
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()
|
/libcore/ojluni/src/test/java/math/BigInteger/ |
D | PrimitiveConversionTests.java | 75 double actual = big.doubleValue(); in testDoubleValue() local 87 float actual = big.floatValue(); in testFloatValue() local
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | RoundTests.java | 117 float actual = Math.round(value); in testUnityULPCases() local 127 double actual = Math.round(value); in testUnityULPCases() local
|
/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/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/ojluni/src/test/java/lang/invoke/ |
D | InvokeWithArgumentsTest.java | 68 String[] actual = {"A", "B"}; in testArrayNoPassThrough() local 85 String[] actual = new String[]{"A", "B"}; in testArrayPack() local
|
/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()
|