8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org> Co-authored-by: Weijun Wang <weijun@openjdk.org> Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
This commit is contained in:
parent
f04db5fbd7
commit
640a2afda3
@ -29,7 +29,7 @@
|
||||
* @author Tom Rodriguez
|
||||
*
|
||||
* @modules java.rmi
|
||||
* @run main compiler.exceptions.ExceptionInInit
|
||||
* @run main/othervm -Djava.security.manager=allow compiler.exceptions.ExceptionInInit
|
||||
*/
|
||||
|
||||
package compiler.exceptions;
|
||||
|
@ -36,14 +36,17 @@
|
||||
* NO_SEC_MAN
|
||||
* @run main/othervm -XX:+UnlockExperimentalVMOptions
|
||||
* -XX:+EnableJVMCI
|
||||
* -Djava.security.manager=allow
|
||||
* compiler.jvmci.SecurityRestrictionsTest
|
||||
* NO_PERM
|
||||
* @run main/othervm -XX:+UnlockExperimentalVMOptions
|
||||
* -XX:+EnableJVMCI
|
||||
* -Djava.security.manager=allow
|
||||
* compiler.jvmci.SecurityRestrictionsTest
|
||||
* ALL_PERM
|
||||
* @run main/othervm -XX:+UnlockExperimentalVMOptions
|
||||
* -XX:+EnableJVMCI -XX:-UseJVMCICompiler
|
||||
* -Djava.security.manager=allow
|
||||
* compiler.jvmci.SecurityRestrictionsTest
|
||||
* NO_JVMCI_ACCESS_PERM
|
||||
* @run main/othervm -XX:+UnlockExperimentalVMOptions
|
||||
|
@ -48,6 +48,7 @@ public class CleanProtectionDomain {
|
||||
"-XX:+UnlockDiagnosticVMOptions",
|
||||
"-XX:+WhiteBoxAPI",
|
||||
"-Xbootclasspath/a:.",
|
||||
"-Djava.security.manager=allow",
|
||||
Test.class.getName());
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldContain("protection domain added");
|
||||
|
@ -40,6 +40,7 @@ public class ProtectionDomainVerificationTest {
|
||||
// -Xlog:protectiondomain=trace
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:protectiondomain=trace",
|
||||
"-Xmx128m",
|
||||
"-Djava.security.manager=allow",
|
||||
Hello.class.getName(), "security_manager");
|
||||
new OutputAnalyzer(pb.start())
|
||||
.shouldHaveExitValue(0)
|
||||
@ -49,6 +50,7 @@ public class ProtectionDomainVerificationTest {
|
||||
// -Xlog:protectiondomain=debug
|
||||
pb = ProcessTools.createJavaProcessBuilder("-Xlog:protectiondomain=debug",
|
||||
"-Xmx128m",
|
||||
"-Djava.security.manager=allow",
|
||||
Hello.class.getName(), "security_manager");
|
||||
new OutputAnalyzer(pb.start())
|
||||
.shouldHaveExitValue(0)
|
||||
|
@ -31,6 +31,6 @@
|
||||
*
|
||||
* @library /vmTestbase
|
||||
* /test/lib
|
||||
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp charArr -ms medium
|
||||
* @run main/othervm -Xlog:gc=debug:gc.log -Djava.security.manager=allow gc.ArrayJuggle.Juggle01.Juggle01 -gp charArr -ms medium
|
||||
*/
|
||||
|
||||
|
@ -35,7 +35,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.CatalogReferCircularityTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.CatalogReferCircularityTest
|
||||
* @run testng/othervm catalog.CatalogReferCircularityTest
|
||||
* @summary Via nextCatalog entry, the catalog reference chain may be
|
||||
* a (partial) closed circuit. For instance, a catalog may use itself
|
||||
|
@ -36,7 +36,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.DefaultFeaturesTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.DefaultFeaturesTest
|
||||
* @run testng/othervm catalog.DefaultFeaturesTest
|
||||
* @summary This case tests if the default feature values are expected.
|
||||
*/
|
||||
|
@ -48,7 +48,7 @@ import org.testng.annotations.Test;
|
||||
* @bug 8077931 8176405
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @modules java.xml/javax.xml.catalog:open
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.DeferFeatureTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.DeferFeatureTest
|
||||
* @run testng/othervm catalog.DeferFeatureTest
|
||||
* @summary This case tests whether the catalogs specified in delegateSystem,
|
||||
* delegatePublic, delegateURI and nextCatalog entries are used lazily
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.DelegatePublicTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.DelegatePublicTest
|
||||
* @run testng/othervm catalog.DelegatePublicTest
|
||||
* @summary Get matched URIs from DelegatePublic entries.
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.DelegateSystemTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.DelegateSystemTest
|
||||
* @run testng/othervm catalog.DelegateSystemTest
|
||||
* @summary Get matched URIs from delegateSystem entries.
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.DelegateUriTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.DelegateUriTest
|
||||
* @run testng/othervm catalog.DelegateUriTest
|
||||
* @summary Get matched URIs from delegateURI entries.
|
||||
*/
|
||||
|
@ -39,7 +39,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.GroupTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.GroupTest
|
||||
* @run testng/othervm catalog.GroupTest
|
||||
* @summary Get matched URIs from system, public and uri entries respectively,
|
||||
* and some of the entries are enclosed by group entries.
|
||||
|
@ -42,7 +42,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.LoadCatalogTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.LoadCatalogTest
|
||||
* @run testng/othervm catalog.LoadCatalogTest
|
||||
* @summary When catalog resolver loads catalog files, the current catalog file
|
||||
* and the catalog files specified by the nextCatalog entries may not
|
||||
|
@ -39,7 +39,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.NextCatalogTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.NextCatalogTest
|
||||
* @run testng/othervm catalog.NextCatalogTest
|
||||
* @summary Get matched URIs from system, public and uri entries respectively,
|
||||
* but some of the entries are defined in none-current catalog files.
|
||||
|
@ -39,7 +39,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.NormalizationTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.NormalizationTest
|
||||
* @run testng/othervm catalog.NormalizationTest
|
||||
* @summary Before matching identifiers and URI references, it has to normalize
|
||||
* the passed identifiers and URI references. And then the catalog
|
||||
|
@ -40,7 +40,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.PreferFeatureTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.PreferFeatureTest
|
||||
* @run testng/othervm catalog.PreferFeatureTest
|
||||
* @summary This case tests how does the feature affect the catalog resolution,
|
||||
* and tests the priority between this feature and attribute prefer
|
||||
|
@ -36,7 +36,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.PreferTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.PreferTest
|
||||
* @run testng/othervm catalog.PreferTest
|
||||
* @summary Get matched URIs from system and public family entries, which
|
||||
* specify the prefer attribute. It tests how does the prefer attribute
|
||||
|
@ -37,7 +37,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.PublicFamilyTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.PublicFamilyTest
|
||||
* @run testng/othervm catalog.PublicFamilyTest
|
||||
* @summary Get matched URIs from public and delegatePublic entries.
|
||||
* It tests the resolution priorities among the public family entries.
|
||||
|
@ -39,7 +39,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.PublicTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.PublicTest
|
||||
* @run testng/othervm catalog.PublicTest
|
||||
* @summary Get matched URIs from public entries.
|
||||
*/
|
||||
|
@ -46,7 +46,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.ResolveFeatureTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.ResolveFeatureTest
|
||||
* @run testng/othervm catalog.ResolveFeatureTest
|
||||
* @summary This case tests how does resolve feature affect the catalog
|
||||
* resolution.
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.RewriteSystemTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.RewriteSystemTest
|
||||
* @run testng/othervm catalog.RewriteSystemTest
|
||||
* @summary Get matched URIs from rewriteSystem entries.
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.RewriteUriTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.RewriteUriTest
|
||||
* @run testng/othervm catalog.RewriteUriTest
|
||||
* @summary Get matched URIs from rewriteURI entries.
|
||||
*/
|
||||
|
@ -44,7 +44,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.SpecifyCatalogTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.SpecifyCatalogTest
|
||||
* @run testng/othervm catalog.SpecifyCatalogTest
|
||||
* @summary This case tests how to specify the catalog files.
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.SystemFamilyTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.SystemFamilyTest
|
||||
* @run testng/othervm catalog.SystemFamilyTest
|
||||
* @summary Get matched URIs from system, rewriteSystem, systemSuffix and
|
||||
* delegateSystem entries. It tests the resolution priorities among
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.SystemSuffixTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.SystemSuffixTest
|
||||
* @run testng/othervm catalog.SystemSuffixTest
|
||||
* @summary Get matched URIs from systemSuffix entries.
|
||||
*/
|
||||
|
@ -39,7 +39,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.SystemTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.SystemTest
|
||||
* @run testng/othervm catalog.SystemTest
|
||||
* @summary Get matched URIs from system entries.
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.UriFamilyTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.UriFamilyTest
|
||||
* @run testng/othervm catalog.UriFamilyTest
|
||||
* @summary Get matched URIs from uri, rewriteURI, uriSuffix and delegateURI
|
||||
* entries. It tests the resolution priorities among the uri family
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.UriSuffixTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.UriSuffixTest
|
||||
* @run testng/othervm catalog.UriSuffixTest
|
||||
* @summary Get matched URIs from rewriteURI entries.
|
||||
*/
|
||||
|
@ -41,7 +41,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.UriTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.UriTest
|
||||
* @run testng/othervm catalog.UriTest
|
||||
* @summary Get matched URIs from uri entries.
|
||||
*/
|
||||
|
@ -36,7 +36,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.UrnUnwrappingTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.UrnUnwrappingTest
|
||||
* @run testng/othervm catalog.UrnUnwrappingTest
|
||||
* @summary If the passed public identifier is started with "urn:publicid:",
|
||||
* it has to be regarded as URN and normalized. And then the catalog
|
||||
|
@ -39,7 +39,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8077931
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true catalog.ValidateCatalogTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow catalog.ValidateCatalogTest
|
||||
* @run testng/othervm catalog.ValidateCatalogTest
|
||||
* @summary A legal catalog file must be well-formed XML, the root element
|
||||
* must be catalog, and the naming space of the root element must be
|
||||
|
@ -53,7 +53,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.datatype.ptests.DurationTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.datatype.ptests.DurationTest
|
||||
* @run testng/othervm javax.xml.datatype.ptests.DurationTest
|
||||
* @summary Class containing the test cases for Duration.
|
||||
*/
|
||||
|
@ -42,7 +42,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8169778
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.datatype.ptests.FactoryNewInstanceTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.datatype.ptests.FactoryNewInstanceTest
|
||||
* @run testng/othervm javax.xml.datatype.ptests.FactoryNewInstanceTest
|
||||
* @summary Tests for DatatypeFactory.newInstance(factoryClassName , classLoader)
|
||||
*/
|
||||
|
@ -49,7 +49,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 5049592 5041845 5048932 5064587 5040542 5049531 5049528
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.datatype.ptests.XMLGregorianCalendarTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.datatype.ptests.XMLGregorianCalendarTest
|
||||
* @run testng/othervm javax.xml.datatype.ptests.XMLGregorianCalendarTest
|
||||
* @summary Class containing the test cases for XMLGregorianCalendar
|
||||
*/
|
||||
|
@ -48,7 +48,7 @@ import org.w3c.dom.Document;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.DBFNamespaceTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.DBFNamespaceTest
|
||||
* @run testng/othervm javax.xml.parsers.ptests.DBFNamespaceTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -74,7 +74,7 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.DocumentBuilderFactoryTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.DocumentBuilderFactoryTest
|
||||
* @run testng/othervm javax.xml.parsers.ptests.DocumentBuilderFactoryTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -48,7 +48,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.DocumentBuilderImpl01
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.DocumentBuilderImpl01
|
||||
* @run testng/othervm javax.xml.parsers.ptests.DocumentBuilderImpl01
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -42,7 +42,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.FactoryConfErrorTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.FactoryConfErrorTest
|
||||
* @run testng/othervm javax.xml.parsers.ptests.FactoryConfErrorTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -40,7 +40,7 @@ import org.xml.sax.SAXException;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.SAXFactoryNewInstanceTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.SAXFactoryNewInstanceTest
|
||||
* @run testng/othervm javax.xml.parsers.ptests.SAXFactoryNewInstanceTest
|
||||
* @summary Tests for SAXParserFactory.newInstance(factoryClassName , classLoader)
|
||||
*/
|
||||
|
@ -40,7 +40,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8169778
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.SAXParserFactTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.SAXParserFactTest
|
||||
* @run testng/othervm javax.xml.parsers.ptests.SAXParserFactTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -48,7 +48,7 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.SAXParserTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.SAXParserTest
|
||||
* @run testng/othervm javax.xml.parsers.ptests.SAXParserTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -45,7 +45,7 @@ import org.xml.sax.ext.LexicalHandler;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.SAXParserTest02
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.SAXParserTest02
|
||||
* @run testng/othervm javax.xml.parsers.ptests.SAXParserTest02
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -44,7 +44,7 @@ import org.xml.sax.SAXException;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.parsers.ptests.SAXParserTest03
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.parsers.ptests.SAXParserTest03
|
||||
* @run testng/othervm javax.xml.parsers.ptests.SAXParserTest03
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -43,7 +43,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8169778
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.stream.ptests.XMLEventFactoryNewInstanceTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.stream.ptests.XMLEventFactoryNewInstanceTest
|
||||
* @run testng/othervm javax.xml.stream.ptests.XMLEventFactoryNewInstanceTest
|
||||
* @summary Tests for XMLEventFactory.newFactory(factoryId , classLoader)
|
||||
*/
|
||||
|
@ -43,7 +43,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8169778
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.stream.ptests.XMLInputFactoryNewInstanceTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.stream.ptests.XMLInputFactoryNewInstanceTest
|
||||
* @run testng/othervm javax.xml.stream.ptests.XMLInputFactoryNewInstanceTest
|
||||
* @summary Tests for XMLInputFactory.newFactory(factoryId , classLoader)
|
||||
*/
|
||||
|
@ -43,7 +43,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8169778
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.stream.ptests.XMLOutputFactoryNewInstanceTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.stream.ptests.XMLOutputFactoryNewInstanceTest
|
||||
* @run testng/othervm javax.xml.stream.ptests.XMLOutputFactoryNewInstanceTest
|
||||
* @summary Tests for XMLOutputFactory.newFactory(factoryId , classLoader)
|
||||
*/
|
||||
|
@ -44,7 +44,7 @@ import org.w3c.dom.Document;
|
||||
* @test
|
||||
* @bug 6384418
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.Bug6384418Test
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.Bug6384418Test
|
||||
* @run testng/othervm javax.xml.transform.ptests.Bug6384418Test
|
||||
* @summary verify the transforming won't throw any exception
|
||||
*/
|
||||
|
@ -56,7 +56,7 @@ import org.xml.sax.helpers.XMLReaderFactory;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.DOMResultTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.DOMResultTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.DOMResultTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -44,7 +44,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.ErrorListenerTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.ErrorListenerTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.ErrorListenerTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -48,7 +48,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.SAXSourceTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.SAXSourceTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.SAXSourceTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -62,7 +62,7 @@ import org.xml.sax.helpers.XMLReaderFactory;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.SAXTFactoryTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.SAXTFactoryTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.SAXTFactoryTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -54,7 +54,7 @@ import org.xml.sax.SAXException;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.StreamResultTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.StreamResultTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.StreamResultTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -50,7 +50,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.TfClearParamTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.TfClearParamTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.TfClearParamTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -71,7 +71,7 @@ import org.xml.sax.SAXException;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.TransformTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.TransformTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.TransformTest
|
||||
* @summary Tests for variable combination of Transformer.transform(Source, Result)
|
||||
*/
|
||||
|
@ -45,7 +45,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.TransformerExcpTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.TransformerExcpTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.TransformerExcpTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -60,7 +60,7 @@ import org.w3c.dom.Document;
|
||||
* @test
|
||||
* @bug 8169778
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.TransformerFactoryTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.TransformerFactoryTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.TransformerFactoryTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -53,7 +53,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.TransformerTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.TransformerTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.TransformerTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -50,7 +50,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.TransformerTest02
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.TransformerTest02
|
||||
* @run testng/othervm javax.xml.transform.ptests.TransformerTest02
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -52,7 +52,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.TransformerTest03
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.TransformerTest03
|
||||
* @run testng/othervm javax.xml.transform.ptests.TransformerTest03
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -51,7 +51,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.URIResolverTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.URIResolverTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.URIResolverTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -38,7 +38,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.transform.ptests.othervm.TFCErrorTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.transform.ptests.othervm.TFCErrorTest
|
||||
* @run testng/othervm javax.xml.transform.ptests.othervm.TFCErrorTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -71,7 +71,7 @@ import org.xml.sax.SAXParseException;
|
||||
* @test
|
||||
* @bug 8080907 8169778
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.validation.ptests.SchemaFactoryTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.validation.ptests.SchemaFactoryTest
|
||||
* @run testng/othervm javax.xml.validation.ptests.SchemaFactoryTest
|
||||
* @summary Class containing the test cases for SchemaFactory
|
||||
*/
|
||||
|
@ -50,7 +50,7 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.validation.ptests.TypeInfoProviderTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.validation.ptests.TypeInfoProviderTest
|
||||
* @run testng/othervm javax.xml.validation.ptests.TypeInfoProviderTest
|
||||
* @summary test ValidatorHandler.getTypeInfoProvider()
|
||||
*/
|
||||
|
@ -49,7 +49,7 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.validation.ptests.ValidatorHandlerTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.validation.ptests.ValidatorHandlerTest
|
||||
* @run testng/othervm javax.xml.validation.ptests.ValidatorHandlerTest
|
||||
* @summary Class containing the test cases for ValidatorHandler API
|
||||
*/
|
||||
|
@ -60,7 +60,7 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.validation.ptests.ValidatorTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.validation.ptests.ValidatorTest
|
||||
* @run testng/othervm javax.xml.validation.ptests.ValidatorTest
|
||||
* @summary Class containing the test cases for Validator API
|
||||
*/
|
||||
|
@ -44,7 +44,7 @@ import static org.testng.Assert.*;
|
||||
* @bug 8183266
|
||||
* @summary verifies the specification of the XPathEvaluationResult API
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.xpath.ptests.XPathEvaluationResultTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.xpath.ptests.XPathEvaluationResultTest
|
||||
* @run testng/othervm javax.xml.xpath.ptests.XPathEvaluationResultTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -57,7 +57,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.xpath.ptests.XPathExpressionTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.xpath.ptests.XPathExpressionTest
|
||||
* @run testng/othervm javax.xml.xpath.ptests.XPathExpressionTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -49,7 +49,7 @@ import org.testng.annotations.Test;
|
||||
* @test
|
||||
* @bug 8169778
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.xpath.ptests.XPathFactoryTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.xpath.ptests.XPathFactoryTest
|
||||
* @run testng/othervm javax.xml.xpath.ptests.XPathFactoryTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -39,7 +39,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.xpath.ptests.XPathFunctionResolverTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.xpath.ptests.XPathFunctionResolverTest
|
||||
* @run testng/othervm javax.xml.xpath.ptests.XPathFunctionResolverTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -61,7 +61,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true javax.xml.xpath.ptests.XPathTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow javax.xml.xpath.ptests.XPathTest
|
||||
* @run testng/othervm javax.xml.xpath.ptests.XPathTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -40,7 +40,7 @@ import org.w3c.dom.NamedNodeMap;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.AttrTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.AttrTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.AttrTest
|
||||
* @summary Test for the Attr Interface
|
||||
*/
|
||||
|
@ -36,7 +36,7 @@ import org.xml.sax.SAXException;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs /javax/xml/jaxp/functional
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.CommentTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.CommentTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.CommentTest
|
||||
* @summary Test for Comment implementation returned by Document.createComment(String)
|
||||
*/
|
||||
|
@ -44,7 +44,7 @@ import org.w3c.dom.NodeList;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.DocumentTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.DocumentTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.DocumentTest
|
||||
* @summary Test createAttributeNS, getElementsByTagNameNS and createElementNS method of Document
|
||||
*/
|
||||
|
@ -35,7 +35,7 @@ import org.w3c.dom.NamedNodeMap;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.DocumentTypeTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.DocumentTypeTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.DocumentTypeTest
|
||||
* @summary Test DocumentType
|
||||
*/
|
||||
|
@ -37,7 +37,7 @@ import org.w3c.dom.DocumentType;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.DomImplementationTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.DomImplementationTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.DomImplementationTest
|
||||
* @summary Test DomImplementation API
|
||||
*/
|
||||
|
@ -51,7 +51,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.ElementTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.ElementTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.ElementTest
|
||||
* @summary Test for the methods of Element Interface
|
||||
*/
|
||||
|
@ -39,7 +39,7 @@ import org.w3c.dom.NodeList;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.EntityChildTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.EntityChildTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.EntityChildTest
|
||||
* @summary Test DOM Parser: parsing an xml file that contains external entities.
|
||||
*/
|
||||
|
@ -37,7 +37,7 @@ import org.w3c.dom.NodeList;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.NamedNodeMapTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.NamedNodeMapTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.NamedNodeMapTest
|
||||
* @summary Test for the methods of NamedNodeMap Interface
|
||||
*/
|
||||
|
@ -35,7 +35,7 @@ import org.w3c.dom.NodeList;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.NodeListTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.NodeListTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.NodeListTest
|
||||
* @summary Verifies a bug found in jaxp1.0.1 and 1.1FCS. After going out of
|
||||
* bound, the last element of a NodeList returns null. The bug has been fixed
|
||||
|
@ -57,7 +57,7 @@ import org.w3c.dom.NodeList;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.NodeTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.NodeTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.NodeTest
|
||||
* @summary Test Node interface
|
||||
*/
|
||||
|
@ -39,7 +39,7 @@ import org.xml.sax.SAXException;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.NotationTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.NotationTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.NotationTest
|
||||
* @summary Test for Notation interface
|
||||
*/
|
||||
|
@ -33,7 +33,7 @@ import org.w3c.dom.ProcessingInstruction;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.PITest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.PITest
|
||||
* @run testng/othervm org.w3c.dom.ptests.PITest
|
||||
* @summary Test for the methods of Processing Instruction
|
||||
*/
|
||||
|
@ -42,7 +42,7 @@ import org.xml.sax.SAXException;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs /javax/xml/jaxp/functional
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.TextTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.TextTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.TextTest
|
||||
* @summary Test for Text implementation returned by Document.createTextNode(String)
|
||||
*/
|
||||
|
@ -40,7 +40,7 @@ import org.xml.sax.InputSource;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.w3c.dom.ptests.TypeInfoTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.w3c.dom.ptests.TypeInfoTest
|
||||
* @run testng/othervm org.w3c.dom.ptests.TypeInfoTest
|
||||
* @summary Test getTypeName and getTypeNamespace methods of TypeInfo interface
|
||||
*/
|
||||
|
@ -35,7 +35,7 @@ import org.xml.sax.helpers.AttributesImpl;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.AttrImplTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.AttrImplTest
|
||||
* @run testng/othervm org.xml.sax.ptests.AttrImplTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -46,7 +46,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.AttributesNSTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.AttributesNSTest
|
||||
* @run testng/othervm org.xml.sax.ptests.AttributesNSTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -47,7 +47,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.AttributesTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.AttributesTest
|
||||
* @run testng/othervm org.xml.sax.ptests.AttributesTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -52,7 +52,7 @@ import org.xml.sax.helpers.XMLFilterImpl;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.ContentHandlerTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.ContentHandlerTest
|
||||
* @run testng/othervm org.xml.sax.ptests.ContentHandlerTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -51,7 +51,7 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.DefaultHandlerTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.DefaultHandlerTest
|
||||
* @run testng/othervm org.xml.sax.ptests.DefaultHandlerTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -52,7 +52,7 @@ import org.xml.sax.helpers.XMLFilterImpl;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.EHFatalTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.EHFatalTest
|
||||
* @run testng/othervm org.xml.sax.ptests.EHFatalTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -37,7 +37,7 @@ import org.xml.sax.helpers.NamespaceSupport;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.NSSupportTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.NSSupportTest
|
||||
* @run testng/othervm org.xml.sax.ptests.NSSupportTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -39,7 +39,7 @@ import org.xml.sax.XMLReader;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.NSTableTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.NSTableTest
|
||||
* @run testng/othervm org.xml.sax.ptests.NSTableTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -50,7 +50,7 @@ import org.xml.sax.helpers.XMLReaderAdapter;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.ParserAdapterTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.ParserAdapterTest
|
||||
* @run testng/othervm org.xml.sax.ptests.ParserAdapterTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -55,7 +55,7 @@ import org.xml.sax.helpers.XMLFilterImpl;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.ResolverTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.ResolverTest
|
||||
* @run testng/othervm org.xml.sax.ptests.ResolverTest
|
||||
*/
|
||||
@Test
|
||||
|
@ -42,7 +42,7 @@ import org.testng.annotations.Test;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.SAXParserNSTableTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.SAXParserNSTableTest
|
||||
* @run testng/othervm org.xml.sax.ptests.SAXParserNSTableTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -52,7 +52,7 @@ import org.xml.sax.helpers.XMLFilterImpl;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.XMLFilterCBTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.XMLFilterCBTest
|
||||
* @run testng/othervm org.xml.sax.ptests.XMLFilterCBTest
|
||||
*/
|
||||
@Test
|
||||
|
@ -44,7 +44,7 @@ import org.xml.sax.helpers.XMLFilterImpl;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.XMLFilterTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.XMLFilterTest
|
||||
* @run testng/othervm org.xml.sax.ptests.XMLFilterTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -44,7 +44,7 @@ import org.xml.sax.helpers.XMLReaderAdapter;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.XMLReaderAdapterTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.XMLReaderAdapterTest
|
||||
* @run testng/othervm org.xml.sax.ptests.XMLReaderAdapterTest
|
||||
*/
|
||||
@Listeners({jaxp.library.FilePolicy.class})
|
||||
|
@ -37,7 +37,7 @@ import org.xml.sax.helpers.XMLReaderFactory;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.XMLReaderFactoryTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.XMLReaderFactoryTest
|
||||
* @run testng/othervm org.xml.sax.ptests.XMLReaderFactoryTest
|
||||
*/
|
||||
@Listeners({jaxp.library.BasePolicy.class})
|
||||
|
@ -45,7 +45,7 @@ import org.xml.sax.XMLReader;
|
||||
/*
|
||||
* @test
|
||||
* @library /javax/xml/jaxp/libs
|
||||
* @run testng/othervm -DrunSecMngr=true org.xml.sax.ptests.XMLReaderNSTableTest
|
||||
* @run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow org.xml.sax.ptests.XMLReaderNSTableTest
|
||||
* @run testng/othervm org.xml.sax.ptests.XMLReaderNSTableTest
|
||||
*/
|
||||
@Test
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user