< prev index next >

test/javax/xml/jaxp/functional/javax/xml/parsers/ptests/SAXParserFactTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 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) 1999, 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.
*** 22,39 **** */ package javax.xml.parsers.ptests; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertTrue; import javax.xml.parsers.SAXParserFactory; ! import jaxp.library.JAXPBaseTest; import org.testng.annotations.Test; /** * Class containing the test cases for SAXParserFactory API. */ ! public class SAXParserFactTest 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"; private static final String STRING_INTERNING = "http://xml.org/sax/features/string-interning"; private static final String VALIDATION = "http://xml.org/sax/features/validation"; --- 22,42 ---- */ package javax.xml.parsers.ptests; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertTrue; + import javax.xml.parsers.SAXParserFactory; ! ! import org.testng.annotations.Listeners; import org.testng.annotations.Test; /** * Class containing the test cases for SAXParserFactory API. */ ! @Listeners({jaxp.library.BasePolicy.class}) ! public class SAXParserFactTest { private static final String NAMESPACES = "http://xml.org/sax/features/namespaces"; private static final String NAMESPACE_PREFIXES = "http://xml.org/sax/features/namespace-prefixes"; private static final String STRING_INTERNING = "http://xml.org/sax/features/string-interning"; private static final String VALIDATION = "http://xml.org/sax/features/validation";
< prev index next >