< prev index next >

test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogFileInputTest.java

Print this page
rev 51881 : [mq]: 8211171

*** 41,51 **** import javax.xml.catalog.CatalogException; import javax.xml.catalog.CatalogFeatures; import javax.xml.catalog.CatalogManager; import javax.xml.catalog.CatalogResolver; import static jaxp.library.JAXPTestUtilities.getSystemProperty; - import jaxp.library.JarUtils; import jaxp.library.SimpleHttpServer; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; --- 41,50 ----
*** 54,67 **** import org.xml.sax.InputSource; /* * @test * @bug 8151154 8171243 ! * @library /javax/xml/jaxp/libs /javax/xml/jaxp/unittest * @run testng/othervm catalog.CatalogFileInputTest * @summary Verifies that the Catalog API accepts valid URIs only; ! Verifies that the CatalogFeatures' builder throws * IllegalArgumentException on invalid file inputs. * This test was splitted from CatalogTest.java due to * JDK-8168968, it has to only run without SecurityManager * because an ACE will be thrown for invalid path. */ --- 53,66 ---- import org.xml.sax.InputSource; /* * @test * @bug 8151154 8171243 ! * @library /javax/xml/jaxp/libs /javax/xml/jaxp/unittest /test/lib * @run testng/othervm catalog.CatalogFileInputTest * @summary Verifies that the Catalog API accepts valid URIs only; ! * Verifies that the CatalogFeatures' builder throws * IllegalArgumentException on invalid file inputs. * This test was splitted from CatalogTest.java due to * JDK-8168968, it has to only run without SecurityManager * because an ACE will be thrown for invalid path. */
< prev index next >