< prev index next >

test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/UnprefixedNameTest.java

Print this page

        

@@ -26,16 +26,18 @@
 import javax.xml.stream.XMLOutputFactory;
 import javax.xml.stream.XMLStreamException;
 import javax.xml.stream.XMLStreamWriter;
 
 import org.testng.Assert;
+import org.testng.annotations.Listeners;
 import org.testng.annotations.Test;
 
 /*
  * @bug 6394074
  * @summary Test XMLStreamWriter namespace prefix with writeDefaultNamespace.
  */
+@Listeners({jaxp.library.BasePolicy.class})
 public class UnprefixedNameTest {
 
     @Test
     public void testUnboundPrefix() throws Exception {
 
< prev index next >