< prev index next >

test/javax/xml/jaxp/unittest/stream/XMLStreamExceptionTest/ExceptionTest.java

Print this page

        

@@ -26,15 +26,17 @@
 import java.io.IOException;
 
 import javax.xml.stream.XMLStreamException;
 
 import org.testng.Assert;
+import org.testng.annotations.Listeners;
 import org.testng.annotations.Test;
 
 /*
  * @summary Test XMLStreamException contains the message of the wrapped exception.
  */
+@Listeners({jaxp.library.BasePolicy.class})
 public class ExceptionTest {
 
     @Test
     public void testException() {
 
< prev index next >