RFR: JDK-8051563: Convert JAXP function tests in xslt components: : org.apache.qetest.dtm package, org.apache.qetest.trax package to openjdk
tristan.yan at oracle.com
Tue Dec 30 22:28:32 UTC 2014
Can I get your review on this change.
These fixes originally come from bug https://bugs.openjdk.java.net/browse/JDK-8051563 <https://bugs.openjdk.java.net/browse/JDK-8051563> as part of our XML test colocation work. ThIS change-set mainly covers tests for package org.apache.qetest.dtm and org.apache.qetest.trax.
In the meantime I took steps at fixing some of our existed test code on below issues:
1. Add a base test class for all functional tests that enable security manager running. A limited minimal permissions set have been set for every test.
2. Remove all unnecessary exception capture for functional tests that we’re using testng to handle all the exceptions.
3. Use try-resource block to solve all possible resource leaks (including InputStream, OutputStream, Writer, Reader).
Thanks a lot.
More information about the core-libs-dev