Searched refs:errorRecorder (Results 1 – 2 of 2) sorted by relevance
399 ErrorRecorder errorRecorder = new ErrorRecorder(); in testCommentContainingDoubleDash() local400 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() local420 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() local433 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 …]
366 ErrorRecorder errorRecorder = new ErrorRecorder(); in test() local367 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()