< prev index next >

test/javax/xml/jaxp/functional/javax/xml/transform/ptests/StreamResultTest01.java

Print this page

        

*** 36,55 **** import javax.xml.transform.dom.DOMSource; import static javax.xml.transform.ptests.TransformerTestConst.CLASS_DIR; import static javax.xml.transform.ptests.TransformerTestConst.XML_DIR; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; import static jaxp.library.JAXPTestUtilities.failUnexpected; import org.testng.annotations.Test; import org.w3c.dom.Document; import org.xml.sax.SAXException; /** * Test a StreamResult using a file name that contains URL characters that need * to be encoded. */ ! public class StreamResultTest01 { /** * Unit test for StreamResult. */ @Test public void testcase01() { --- 36,56 ---- import javax.xml.transform.dom.DOMSource; import static javax.xml.transform.ptests.TransformerTestConst.CLASS_DIR; import static javax.xml.transform.ptests.TransformerTestConst.XML_DIR; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; + import jaxp.library.JAXPFileBaseTest; import static jaxp.library.JAXPTestUtilities.failUnexpected; import org.testng.annotations.Test; import org.w3c.dom.Document; import org.xml.sax.SAXException; /** * Test a StreamResult using a file name that contains URL characters that need * to be encoded. */ ! public class StreamResultTest01 extends JAXPFileBaseTest { /** * Unit test for StreamResult. */ @Test public void testcase01() {
< prev index next >