< prev index next >

test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/BugTest.java

Print this page

        

*** 28,42 **** --- 28,44 ---- import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamReader; import org.testng.Assert; + import org.testng.annotations.Listeners; import org.testng.annotations.Test; /* * @summary Test StAX parser can parse xml without declaration. */ + @Listeners({jaxp.library.BasePolicy.class}) public class BugTest { @Test public static void test1() throws Exception { XMLInputFactory xif = XMLInputFactory.newInstance(); // new
< prev index next >