< prev index next >

test/javax/xml/jaxp/functional/org/xml/sax/ptests/NSTableTest.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.
*** 20,42 **** * or visit www.oracle.com if you need additional information or have any * questions. */ package org.xml.sax.ptests; - import javax.xml.parsers.SAXParser; - import javax.xml.parsers.SAXParserFactory; - import jaxp.library.JAXPBaseTest; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertTrue; import org.testng.annotations.Test; import org.xml.sax.XMLReader; /** * Class containing the test cases for Namespace Table defined at * http://www.megginson.com/SAX/Java/namespaces.html */ ! public class NSTableTest extends JAXPBaseTest { private static final String NAMESPACES = "http://xml.org/sax/features/namespaces"; private static final String NAMESPACE_PREFIXES = "http://xml.org/sax/features/namespace-prefixes"; --- 20,45 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package org.xml.sax.ptests; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertTrue; + + import javax.xml.parsers.SAXParser; + import javax.xml.parsers.SAXParserFactory; + + import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.xml.sax.XMLReader; /** * Class containing the test cases for Namespace Table defined at * http://www.megginson.com/SAX/Java/namespaces.html */ ! @Listeners({jaxp.library.BasePolicy.class}) ! public class NSTableTest { private static final String NAMESPACES = "http://xml.org/sax/features/namespaces"; private static final String NAMESPACE_PREFIXES = "http://xml.org/sax/features/namespace-prefixes";
< prev index next >