Home
last modified time | relevance | path

Searched refs:errorRecorder (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/xml/
DNormalizeTest.java399 ErrorRecorder errorRecorder = new ErrorRecorder(); in testCommentContainingDoubleDash() local
400 domConfiguration.setParameter("error-handler", errorRecorder); in testCommentContainingDoubleDash()
406 errorRecorder.assertAllErrors(DOMError.SEVERITY_ERROR, "wf-invalid-character"); in testCommentContainingDoubleDash()
418 ErrorRecorder errorRecorder = new ErrorRecorder(); in testSplittingCdataSectionsSplit() local
420 domConfiguration.setParameter("error-handler", errorRecorder); in testSplittingCdataSectionsSplit()
426 errorRecorder.assertAllErrors(DOMError.SEVERITY_WARNING, "cdata-sections-splitted"); in testSplittingCdataSectionsSplit()
431 ErrorRecorder errorRecorder = new ErrorRecorder(); in testSplittingCdataSectionsReportError() local
433 domConfiguration.setParameter("error-handler", errorRecorder); in testSplittingCdataSectionsReportError()
439 errorRecorder.assertAllErrors(DOMError.SEVERITY_ERROR, "wf-invalid-character"); in testSplittingCdataSectionsReportError()
443 ErrorRecorder errorRecorder = new ErrorRecorder(); in testInvalidCharactersCdata() local
[all …]
DXsltXPathConformanceTestSuite.java366 ErrorRecorder errorRecorder = new ErrorRecorder(); in test() local
367 transformerFactory.setErrorListener(errorRecorder); in test()
373 if (errorRecorder.error == null) { in test()
374 transformer.setErrorListener(errorRecorder); in test()
378 errorRecorder.fatalError(e); in test()
382 if (errorRecorder.error != null) { in test()
383 throw errorRecorder.error; in test()
386 if (errorRecorder.error != null) { in test()
390 + " (Warning=" + errorRecorder.warning + ")"); in test()