Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 15 of 15) sorted by relevance

/libcore/dom/src/test/java/org/w3c/domts/
DDOMErrorMonitor.java29 private final List errors = new ArrayList(); field in DOMErrorMonitor
44 errors.add(new DOMErrorImpl(error)); in handleError()
54 return new ArrayList(errors); in getAllErrors()
58 Iterator iter = errors.iterator(); in assertLowerSeverity()
/libcore/luni/src/test/java/libcore/xml/
DXmlToSax2DriverTest.java297 final int[] errors = {0, 0, 0}; in testParse_InputSource() local
301 errors[0]++; in testParse_InputSource()
306 errors[1]++; in testParse_InputSource()
311 errors[2]++; in testParse_InputSource()
362 Assert.assertArrayEquals(new int[]{0, 0, 0}, errors); in testParse_InputSource()
375 final int[] errors = {0, 0, 0}; in testParseSubtree() local
379 errors[0]++; in testParseSubtree()
384 errors[1]++; in testParseSubtree()
389 errors[2]++; in testParseSubtree()
452 Assert.assertArrayEquals(new int[]{0, 0, 0}, errors); in testParseSubtree()
DNormalizeTest.java456 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersCdata()
477 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersText()
496 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersAttribute()
517 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersComment()
538 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersProcessingInstructionData()
600 private final List<DOMError> errors = new ArrayList<DOMError>(); field in NormalizeTest.ErrorRecorder
603 errors.add(error); in handleError()
612 assertFalse(message, errors.isEmpty()); in assertAllErrors()
613 for (DOMError error : errors) { in assertAllErrors()
617 errors.clear(); in assertAllErrors()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileWriterTest.java103 int errors = 0; in test_handleEarlyEOFChar_1() local
111 assertEquals(0, errors); in test_handleEarlyEOFChar_1()
164 int errors = 0; in test_handleExternalFileDescriptor() local
172 assertEquals(0, errors); in test_handleExternalFileDescriptor()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSubmissionPublisherTest.java72 volatile int errors; field in SubmissionPublisherTest.TestSubscriber
100 threadAssertTrue(errors == 0); in onError()
102 ++errors; in onError()
132 while (completes == 0 && errors == 0) { in awaitComplete()
142 while (errors == 0) { in awaitError()
284 assertEquals(0, s.errors); in testSubscribe1()
297 assertEquals(0, s2.errors); in testSubscribe1()
313 assertEquals(0, s.errors); in testSubscribe2()
331 assertEquals(1, s.errors); in testSubscribe3()
349 assertEquals(0, s.errors); in testSubscribe4()
[all …]
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java291 List<IOException> errors = ucp.closeLoaders(); in close() local
301 errors.add(ioex); in close()
307 if (errors.isEmpty()) { in close()
311 IOException firstex = errors.remove(0); in close()
315 for (IOException error: errors) { in close()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DOpTestCase.java389 List<Error> errors = new ArrayList<>(); in exercise() local
412 errors.add(new Error(String.format("%s: %s", test, t), t)); in exercise()
416 if (!errors.isEmpty()) { in exercise()
419 for (Error t : errors) { in exercise()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DOpTestCase.java390 List<Error> errors = new ArrayList<>(); in exercise() local
413 errors.add(new Error(String.format("%s: %s", test, t), t)); in exercise()
417 if (!errors.isEmpty()) { in exercise()
420 for (Error t : errors) { in exercise()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset-X-Coder.java.template83 * <p> There are two general types of $coding$ errors. If the input $itype$
110 * <p> The default action for malformed-input and unmappable-character errors
389 * Returns this $coder$'s current action for malformed-input errors.
398 * Changes this $coder$'s action for malformed-input errors.
430 * Returns this $coder$'s current action for unmappable-character errors.
440 * Changes this $coder$'s action for unmappable-character errors.
781 * method. Most implementations of this method will handle $coding$ errors
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java44 private static int errors = 0; field in ExactArithTests
DDivModTests.java42 private static int errors = 0; field in DivModTests
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/libcore/ojluni/src/test/java/util/Scanner/
Dinput.txt92 # to check that you have not many any basic syntactic errors.
/libcore/
DJavaLibrary.bp1136 // completeness. To check that there are no nullability errors:
/libcore/expectations/
Dknownfailures.txt1675 description: "ignore compilation errors due to different available APIs",
1677 failure: "ignore compilation errors",