< prev index next >

test/javax/xml/jaxp/functional/org/w3c/dom/ptests/DomImplementationTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 25,46 **** import static org.testng.Assert.assertEquals; import static org.w3c.dom.ptests.DOMTestUtil.createNewDocument; import javax.xml.parsers.ParserConfigurationException; - import jaxp.library.JAXPBaseTest; - import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import org.w3c.dom.DOMImplementation; import org.w3c.dom.Document; import org.w3c.dom.DocumentType; /* * @summary Test DomImplementation API */ ! public class DomImplementationTest extends JAXPBaseTest { /* * Test createDocument method with a namespace uri, qualified name and null * for the doctype */ @Test --- 25,46 ---- import static org.testng.Assert.assertEquals; import static org.w3c.dom.ptests.DOMTestUtil.createNewDocument; import javax.xml.parsers.ParserConfigurationException; import org.testng.annotations.DataProvider; + import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.w3c.dom.DOMImplementation; import org.w3c.dom.Document; import org.w3c.dom.DocumentType; /* * @summary Test DomImplementation API */ ! @Listeners({jaxp.library.BasePolicy.class}) ! public class DomImplementationTest { /* * Test createDocument method with a namespace uri, qualified name and null * for the doctype */ @Test
< prev index next >