Home
last modified time | relevance | path

Searched refs:severity (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDOMErrorImpl.java45 private final short severity; field in DOMErrorImpl
48 public DOMErrorImpl(short severity, String type) { in DOMErrorImpl() argument
49 this.severity = severity; in DOMErrorImpl()
54 return severity; in getSeverity()
DDOMConfigurationImpl.java487 private void report(short severity, String type) {
490 errorHandler.handleError(new DOMErrorImpl(severity, type));
/libcore/dom/src/test/java/org/w3c/domts/
DDOMErrorImpl.java25 private final short severity; field in DOMErrorImpl
37 this.severity = src.getSeverity(); in DOMErrorImpl()
46 return severity; in getSeverity()
DDOMErrorMonitor.java57 public void assertLowerSeverity(DOMTestCase testCase, String id, int severity) { in assertLowerSeverity() argument
61 if (error.getSeverity() >= severity) { in assertLowerSeverity()
/libcore/luni/src/test/java/libcore/xml/
DNormalizeTest.java607 public void assertAllErrors(int severity, String type) { in assertAllErrors() argument
608 assertAllErrors("Expected one or more " + type + " errors", severity, type); in assertAllErrors()
611 public void assertAllErrors(String message, int severity, String type) { in assertAllErrors() argument
614 assertEquals(message, severity, error.getSeverity()); in assertAllErrors()