10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 import static org.testng.Assert.assertTrue;
25
26 import java.io.File;
27 import java.nio.file.Path;
28 import java.nio.file.Paths;
29
30 import static jdk.testlibrary.ProcessTools.executeTestJava;
31 import jdk.testlibrary.CompilerUtils;
32
33 import org.testng.annotations.BeforeTest;
34 import org.testng.annotations.Test;
35
36 /*
37 * @test
38 * @library /javax/xml/jaxp/libs
39 * @build jdk.testlibrary.*
40 * @run testng BasicModularXMLParserTest
41 * @bug 8078820 8156119
42 * @summary Tests JAXP lib can instantiate the following interfaces
43 * with customized provider module on boot layer
44 *
45 * javax.xml.datatype.DatatypeFactory
46 * javax.xml.parsers.DocumentBuilderFactory
47 * javax.xml.parsers.SAXParserFactory
48 * javax.xml.stream.XMLEventFactory
49 * javax.xml.stream.XMLInputFactory
50 * javax.xml.stream.XMLOutputFactory
51 * javax.xml.transform.TransformerFactory
52 * javax.xml.validation.SchemaFactory
53 * javax.xml.xpath.XPathFactory
54 * org.xml.sax.XMLReader
55 */
56
57 @Test
58 public class BasicModularXMLParserTest {
59
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 import static org.testng.Assert.assertTrue;
25
26 import java.io.File;
27 import java.nio.file.Path;
28 import java.nio.file.Paths;
29
30 import static jdk.test.lib.process.ProcessTools.executeTestJava;
31 import jdk.test.lib.compiler.CompilerUtils;
32
33 import org.testng.annotations.BeforeTest;
34 import org.testng.annotations.Test;
35
36 /*
37 * @test
38 * @library /test/lib
39 * @run testng BasicModularXMLParserTest
40 * @bug 8078820 8156119
41 * @summary Tests JAXP lib can instantiate the following interfaces
42 * with customized provider module on boot layer
43 *
44 * javax.xml.datatype.DatatypeFactory
45 * javax.xml.parsers.DocumentBuilderFactory
46 * javax.xml.parsers.SAXParserFactory
47 * javax.xml.stream.XMLEventFactory
48 * javax.xml.stream.XMLInputFactory
49 * javax.xml.stream.XMLOutputFactory
50 * javax.xml.transform.TransformerFactory
51 * javax.xml.validation.SchemaFactory
52 * javax.xml.xpath.XPathFactory
53 * org.xml.sax.XMLReader
54 */
55
56 @Test
57 public class BasicModularXMLParserTest {
58
|