/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | GetElementsByTagNameNS.java | 102 List<String> expectedResult = new ArrayList<String>(); in testGetElementsByTagNameNS3() local 103 expectedResult.add("employee"); in testGetElementsByTagNameNS3() 104 expectedResult.add("employeeId"); in testGetElementsByTagNameNS3() 105 expectedResult.add("name"); in testGetElementsByTagNameNS3() 106 expectedResult.add("position"); in testGetElementsByTagNameNS3() 107 expectedResult.add("salary"); in testGetElementsByTagNameNS3() 108 expectedResult.add("gender"); in testGetElementsByTagNameNS3() 109 expectedResult.add("address"); in testGetElementsByTagNameNS3() 110 expectedResult.add("emp:employee"); in testGetElementsByTagNameNS3() 111 expectedResult.add("emp:employeeId"); in testGetElementsByTagNameNS3() [all …]
|
D | ImportNode.java | 106 List<String> expectedResult = new ArrayList<String>(); in _testImportNode1() local 107 expectedResult.add("elem:attr1"); in _testImportNode1() 108 expectedResult.add("importedText"); in _testImportNode1()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | getElementsByTagNameNS03.java | 81 java.util.List expectedResult = new java.util.ArrayList(); in runTest() local 82 expectedResult.add("employee"); in runTest() 83 expectedResult.add("employeeId"); in runTest() 84 expectedResult.add("name"); in runTest() 85 expectedResult.add("position"); in runTest() 86 expectedResult.add("salary"); in runTest() 87 expectedResult.add("gender"); in runTest() 88 expectedResult.add("address"); in runTest() 89 expectedResult.add("emp:employee"); in runTest() 90 expectedResult.add("emp:employeeId"); in runTest() [all …]
|
D | getElementsByTagNameNS10.java | 83 java.util.List expectedResult = new java.util.ArrayList(); in runTest() local 84 expectedResult.add("employee"); in runTest() 85 expectedResult.add("employeeId"); in runTest() 86 expectedResult.add("name"); in runTest() 87 expectedResult.add("position"); in runTest() 88 expectedResult.add("salary"); in runTest() 89 expectedResult.add("gender"); in runTest() 90 expectedResult.add("address"); in runTest() 91 expectedResult.add("emp:employee"); in runTest() 92 expectedResult.add("emp:employeeId"); in runTest() [all …]
|
D | getElementsByTagNameNS04.java | 81 java.util.List expectedResult = new java.util.ArrayList(); in runTest() local 82 expectedResult.add("address"); in runTest() 83 expectedResult.add("address"); in runTest() 84 expectedResult.add("address"); in runTest() 85 expectedResult.add("emp:address"); in runTest() 86 expectedResult.add("address"); in runTest() 95 assertEquals("nodeNames", expectedResult, result); in runTest()
|
D | getElementsByTagNameNS11.java | 82 java.util.List expectedResult = new java.util.ArrayList(); in runTest() local 83 expectedResult.add("address"); in runTest() 84 expectedResult.add("address"); in runTest() 85 expectedResult.add("address"); in runTest() 86 expectedResult.add("emp:address"); in runTest() 87 expectedResult.add("address"); in runTest() 97 assertEquals("nodeNames", expectedResult, result); in runTest()
|
D | importNode01.java | 90 java.util.List expectedResult = new java.util.ArrayList(); in runTest() local 91 expectedResult.add("elem:attr1"); in runTest() 92 expectedResult.add("importedText"); in runTest()
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | hc_elementgetelementsbytagnamespecialvalue.java | 71 java.util.List expectedResult = new java.util.ArrayList(); in runTest() local 72 expectedResult.add("em"); in runTest() 73 expectedResult.add("strong"); in runTest() 74 expectedResult.add("code"); in runTest() 75 expectedResult.add("sup"); in runTest() 76 expectedResult.add("var"); in runTest() 77 expectedResult.add("acronym"); in runTest() 88 assertEqualsAutoCase("element", "tagNames", expectedResult, result); in runTest()
|
D | elementgetelementsbytagnamespecialvalue.java | 72 java.util.List expectedResult = new java.util.ArrayList(); in runTest() local 73 expectedResult.add("employeeId"); in runTest() 74 expectedResult.add("name"); in runTest() 75 expectedResult.add("position"); in runTest() 76 expectedResult.add("salary"); in runTest() 77 expectedResult.add("gender"); in runTest() 78 expectedResult.add("address"); in runTest() 89 assertEquals("tagNames", expectedResult, result); in runTest()
|
D | documenttypegetentities.java | 68 java.util.Collection expectedResult = new java.util.ArrayList(); in runTest() local 69 expectedResult.add("ent1"); in runTest() 70 expectedResult.add("ent2"); in runTest() 71 expectedResult.add("ent3"); in runTest() 72 expectedResult.add("ent4"); in runTest() 73 expectedResult.add("ent5"); in runTest() 101 assertEquals("entityNames", expectedResult, nameList); in runTest()
|
D | nodecloneattributescopied.java | 74 java.util.Collection expectedResult = new java.util.ArrayList(); in runTest() local 75 expectedResult.add("domestic"); in runTest() 76 expectedResult.add("street"); in runTest() 88 assertEquals("nodeCloneAttributesCopiedAssert1", expectedResult, result); in runTest()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | StreamBuilderTest.java | 82 expectedResult(Collections.singletonList(1)). in testSingleton() 87 expectedResult(Collections.singletonList(1)). in testSingleton() 126 expectedResult(IntStream.range(0, size).boxed().collect(toList())). in testStreamBuilder() 131 expectedResult(IntStream.range(0, size).boxed().collect(toList())). in testStreamBuilder() 144 expectedResult(Collections.singletonList(1)). in testIntSingleton() 149 expectedResult(Collections.singletonList(1)). in testIntSingleton() 188 expectedResult(IntStream.range(0, size).toArray()). in testIntStreamBuilder() 193 expectedResult(IntStream.range(0, size).toArray()). in testIntStreamBuilder() 206 expectedResult(Collections.singletonList(1L)). in testLongSingleton() 211 expectedResult(Collections.singletonList(1L)). in testLongSingleton() [all …]
|
D | CountTest.java | 57 expectedResult(expectedCount.get()). in testOps() 68 expectedResult(expectedCount.get()). in testOps() 79 expectedResult(expectedCount.get()). in testOps() 90 expectedResult(expectedCount.get()). in testOps()
|
D | ForEachOpTest.java | 100 expectedResult(input). 106 expectedResult(input). 148 expectedResult(input). 154 expectedResult(input). 196 expectedResult(input). 202 expectedResult(input). 244 expectedResult(input). 250 expectedResult(input).
|
D | PrimitiveSumTest.java | 49 expectedResult(data.stream().asLongStream().reduce(0, LambdaTestHelpers.lrPlus)). in testOps() 59 expectedResult(data.stream().reduce(0, LambdaTestHelpers.lrPlus)). in testOps() 73 expectedResult(data.stream().reduce(0, LambdaTestHelpers.drPlus)). in testOps()
|
D | StreamLinkTest.java | 68 expectedResult(expected). 81 expectedResult(expected). in testIntManyStreams() 94 expectedResult(expected). in testLongManyStreams() 107 expectedResult(expected). in testDoubleManyStreams()
|
D | RangeTest.java | 54 terminal(s->s.findFirst()).expectedResult(Optional.of(10001)).exercise(); in testInfiniteRangeFindFirst() 76 expectedResult(exp).exercise(); in testIntRange() 96 expectedResult(exp).exercise(); in testIntRange() 166 expectedResult(exp).exercise(); in testLongRange() 186 expectedResult(exp).exercise(); in testLongRange()
|
D | TabulatorsTest.java | 284 withData(data).terminal(s -> s.collect(collector)).expectedResult(check).exercise(); 340 .expectedResult(join(data, "")) 346 .expectedResult(join(data, "")) 351 .expectedResult(join(data, ",")) 356 .expectedResult("[" + join(data, ",") + "]") 363 .expectedResult(join(data, "")) 372 .expectedResult(join(data, ",")) 381 .expectedResult("[" + join(data, ",") + "]")
|
/libcore/support/src/test/java/libcore/sun/security/x509/ |
D | Utils.java | 86 String expectedResult = new String(); in testWithEveryOtherPart() local 89 expectedResult += parts[i]; in testWithEveryOtherPart() 91 assertEquals(prefix + expectedResult + suffix, objectCreator.apply(ba).toString()); in testWithEveryOtherPart()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | OpTestCase.java | 156 .expectedResult(expected) in exerciseTerminalOpsMulti() 195 return withData(data1).stream(m).expectedResult(expected).exercise(); in exerciseOps() 206 return withData(data1).stream(m).expectedResult(expected).exercise(); in exerciseOps() 285 …xtends Iterable<U>> ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(I expectedResult) { in expectedResult() argument 287 expectedResult.forEach(l::add); in expectedResult() 292 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(int[] expectedResult) { in expectedResult() argument 294 for (int anExpectedResult : expectedResult) { in expectedResult() 301 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(long[] expectedResult) { in expectedResult() argument 303 for (long anExpectedResult : expectedResult) { in expectedResult() 310 … public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(double[] expectedResult) { in expectedResult() argument [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | OpTestCase.java | 155 .expectedResult(expected) in exerciseTerminalOpsMulti() 194 return withData(data1).stream(m).expectedResult(expected).exercise(); in exerciseOps() 205 return withData(data1).stream(m).expectedResult(expected).exercise(); in exerciseOps() 284 …xtends Iterable<U>> ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(I expectedResult) { in expectedResult() argument 286 expectedResult.forEach(l::add); in expectedResult() 291 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(int[] expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataStreamBuilder 293 for (int anExpectedResult : expectedResult) { in expectedResult() 300 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(long[] expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataStreamBuilder 302 for (long anExpectedResult : expectedResult) { in expectedResult() 309 … public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(double[] expectedResult) { in expectedResult() argument [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 156 private void assertBigDecimalWithFraction(BigDecimal bd, String expectedResult, int fraction) { in assertBigDecimalWithFraction() argument 159 assertEquals(expectedResult, pf.format(bd)); in assertBigDecimalWithFraction() 162 …ecFmtWithMultiplierAndFraction(String value, int multiplier, int fraction, String expectedResult) { in assertDecFmtWithMultiplierAndFraction() argument 167 assertEquals(expectedResult, df.format(d)); in assertDecFmtWithMultiplierAndFraction() 170 …ractionByLocale(String value, int multiplier, int fraction, Locale locale, String expectedResult) { in assertDecFmtWithMultiplierAndFractionByLocale() argument 175 assertEquals(expectedResult, df.format(d)); in assertDecFmtWithMultiplierAndFractionByLocale()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 409 private static <T> void assertCallableBehavior(Callable<T> r1, T expectedResult) in assertCallableBehavior() argument 411 assertEquals(expectedResult, r1.call()); in assertCallableBehavior() 414 assertEquals(expectedResult, implCallMethod.invoke(r1)); in assertCallableBehavior() 417 assertEquals(expectedResult, interfaceCallMethod.invoke(r1)); in assertCallableBehavior()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuffer2Test.java | 398 String expectedResult = "This is a test " in test_insertIF() local 401 + " but wanted: " + "\'" + expectedResult + "\'", in test_insertIF() 402 testBufferString.equals(expectedResult)); in test_insertIF()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigDecimalTest.java | 366 long expectedResult = a * b; in checkMultiply_consistentWithLong() local 368 assertEquals(Long.toString(expectedResult), in checkMultiply_consistentWithLong() 373 assertEquals(valueOf(expectedResult, 5), valueOf(a, 2).multiply(valueOf(b, 3))); in checkMultiply_consistentWithLong()
|