< prev index next >

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

Print this page

        

@@ -32,17 +32,19 @@
 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;
 import org.xml.sax.InputSource;
 import org.xml.sax.SAXException;
 
 /*
  * @summary Test XMLStreamWriter shall escape the illegal characters.
  */
+@Listeners({jaxp.library.BasePolicy.class})
 public class AttributeEscapeTest {
 
     /**
      * XML content for testing the escaping of <, >, &, ', ".
      */
< prev index next >