< prev index next >
test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/BugTest.java
Print this page
@@ -28,15 +28,17 @@
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 >