< prev index next >
test/javax/xml/jaxp/unittest/validation/tck/Bug6989956Test.java
Print this page
*** 34,43 ****
--- 34,44 ----
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
import javax.xml.validation.Validator;
import org.testng.Assert;
+ import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;
import org.xml.sax.SAXNotRecognizedException;
import org.xml.sax.SAXNotSupportedException;
*** 46,55 ****
--- 47,57 ----
/*
* @bug 6989956
* @summary Test Validation can process correctly that maxOccurs in Choice less than maxOccurs in Elements contained in the Choice.
*/
+ @Listeners({jaxp.library.FilePolicy.class})
public class Bug6989956Test {
static final String SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
static final String SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
@Test
< prev index next >