Ping: [JAXP] RFR: 8173602: TESTBUG: javax/xml/jaxp/unittest/transform/TransformerTest.java needs refactoring
christoph.langer at sap.com
Fri Feb 3 10:11:34 UTC 2017
Ping - anyone out there who could have a look at my JAXP test update?
From: Langer, Christoph
Sent: Montag, 30. Januar 2017 15:28
To: core-libs-dev at openjdk.java.net
Subject: [JAXP] RFR: 8173602: TESTBUG: javax/xml/jaxp/unittest/transform/TransformerTest.java needs refactoring
please review a test fix for javax/xml/jaxp/unittest/transform/TransformerTest.java:
The main motivation for this refactoring is to remove the dependency to the JDK internal classes com.sun.org.apache.xml.internal.serialize.OutputFormat and com.sun.org.apache.xml.internal.serialize.XMLSerializer.
Generally, TransformerTest.java contains several subtests which do similar things (test XALAN transformations) but the implementations differ. I created a common template with helper methods which all tests take advantage of now. I also introduced data sources to some tests to make them more readable and adaptable.
More information about the core-libs-dev