< prev index next >

test/javax/xml/jaxp/functional/javax/xml/xpath/ptests/XPathFunctionResolverTest.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.
*** 21,42 **** * questions. */ package javax.xml.xpath.ptests; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathExpressionException; import javax.xml.xpath.XPathFactory; ! import jaxp.library.JAXPBaseTest; ! import static org.testng.Assert.assertEquals; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; /** * Class containing the test cases for XPathFunctionResolver. */ ! public class XPathFunctionResolverTest extends JAXPBaseTest { /** * A XPath for evaluation environment and expressions. */ private XPath xpath; --- 21,45 ---- * questions. */ package javax.xml.xpath.ptests; + import static org.testng.Assert.assertEquals; + import javax.xml.xpath.XPath; import javax.xml.xpath.XPathExpressionException; import javax.xml.xpath.XPathFactory; ! import org.testng.annotations.BeforeTest; + import org.testng.annotations.Listeners; import org.testng.annotations.Test; /** * Class containing the test cases for XPathFunctionResolver. */ ! @Listeners({jaxp.library.BasePolicy.class}) ! public class XPathFunctionResolverTest { /** * A XPath for evaluation environment and expressions. */ private XPath xpath;
< prev index next >