8080906: Develop test for Xerces Update: DOM L3 Serializer
Reviewed-by: lancea, joehw
This commit is contained in:
parent
d35b2d378b
commit
4a0e9912f0
@ -7,3 +7,6 @@ lib.dirs = /javax/xml/jaxp/libs
|
||||
# Tests that must run in othervm mode
|
||||
othervm.dirs= /javax/xml/jaxp/functional
|
||||
|
||||
# Declare module dependency
|
||||
modules=java.xml
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
# jaxp test uses TestNG
|
||||
TestNG.dirs = .
|
||||
|
||||
# Declare module dependency
|
||||
modules=java.xml
|
||||
|
||||
|
@ -44,6 +44,7 @@ import org.xml.sax.SAXException;
|
||||
|
||||
|
||||
/*
|
||||
* @bug 6439439 8080906
|
||||
* @summary Test LSSerializer.
|
||||
*/
|
||||
public class LSSerializerTest {
|
||||
@ -98,6 +99,17 @@ public class LSSerializerTest {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* @bug 8080906
|
||||
* It will fail in a Jigsaw build until JDK-8080266 is fixed.
|
||||
*/
|
||||
@Test
|
||||
public void testDefaultLSSerializer() throws Exception {
|
||||
DOMImplementationLS domImpl = (DOMImplementationLS) DocumentBuilderFactory.newInstance().newDocumentBuilder().getDOMImplementation();
|
||||
LSSerializer lsSerializer = domImpl.createLSSerializer();
|
||||
Assert.assertTrue(lsSerializer.getClass().getName().endsWith("dom3.LSSerializerImpl"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testDOMErrorHandler() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user