< prev index next >

test/javax/xml/jaxp/functional/javax/xml/datatype/ptests/XMLGregorianCalendarTest.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.
*** 37,58 **** import javax.xml.datatype.DatatypeConstants; import javax.xml.datatype.DatatypeFactory; import javax.xml.datatype.Duration; import javax.xml.datatype.XMLGregorianCalendar; - import jaxp.library.JAXPBaseTest; - import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; /* * @bug 5049592 5041845 5048932 5064587 5040542 5049531 5049528 * @summary Class containing the test cases for XMLGregorianCalendar */ ! public class XMLGregorianCalendarTest extends JAXPBaseTest { private DatatypeFactory datatypeFactory; @BeforeClass public void setup() throws DatatypeConfigurationException { --- 37,58 ---- import javax.xml.datatype.DatatypeConstants; import javax.xml.datatype.DatatypeFactory; import javax.xml.datatype.Duration; import javax.xml.datatype.XMLGregorianCalendar; import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; + import org.testng.annotations.Listeners; import org.testng.annotations.Test; /* * @bug 5049592 5041845 5048932 5064587 5040542 5049531 5049528 * @summary Class containing the test cases for XMLGregorianCalendar */ ! @Listeners({jaxp.library.BasePolicy.class}) ! public class XMLGregorianCalendarTest { private DatatypeFactory datatypeFactory; @BeforeClass public void setup() throws DatatypeConfigurationException {
< prev index next >