--- a/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug7014246Test.java Thu Aug 04 17:47:31 2016 -0700
+++ b/jaxp/test/javax/xml/jaxp/unittest/validation/tck/Bug7014246Test.java Mon Aug 08 12:50:00 2016 +0800
@@ -29,13 +29,19 @@
import javax.xml.validation.SchemaFactory;
import org.testng.Assert;
+import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
import org.xml.sax.SAXException;
/*
+ * @test
* @bug 7014246
+ * @library /javax/xml/jaxp/libs /javax/xml/jaxp/unittest
+ * @run testng/othervm -DrunSecMngr=true validation.tck.Bug7014246Test
+ * @run testng/othervm validation.tck.Bug7014246Test
* @summary Test Schema doesn't allow maxInclusive of derived time type greater than the base.
*/
+@Listeners({jaxp.library.FilePolicy.class})
public class Bug7014246Test {
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";
@@ -53,3 +59,4 @@
}
}
+