Unit Test Results.

Designed for use with JUnit and Ant.

Class nu.xom.tests.XSLTransformTest

NameTestsErrorsFailuresTime(s)Time StampHost
XSLTransformTest42702.5852013-08-19T12:33:50f18

Tests

NameStatusTypeTime(s)
testTripleSuccess0.578
testPassingNullSetsDefaultFactorySuccess0.036
testTransformEmptyNodesListSuccess0.091
testMinimizingFactorySuccess0.209
testIllegalTransformErrorSyntax error in stylesheet

nu.xom.xslt.XSLException: Syntax error in stylesheet
at nu.xom.xslt.XSLTransform.<init>(Unknown Source)
at nu.xom.xslt.XSLTransform.<init>(Unknown Source)
at nu.xom.xslt.XSLTransform.<init>(Unknown Source)
at nu.xom.tests.XSLTransformTest.testIllegalTransform(Unknown Source)
Caused by: javax.xml.transform.TransformerConfigurationException: Cannot find external method 'www.example.com.fn' (must be public).
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:891)
0.194
testRemapPrefixToSameURISuccess0.139
testElementsToAttributesSuccess0.046
testAttributesToElementsSuccess0.041
testCommentsAreTransformedSuccess0.065
testCommentToAttributeSuccess0.053
testAdditionalDefaultNamespaceSuccess0.041
testOASISXalanConformanceSuiteSuccess0.005
testOASISMicrosoftConformanceSuiteSuccess0.009
testToDocumentWithEmptyNodesSuccess0.001
testToDocumentWithNoRootSuccess0.000
testToDocumentWithTextSuccess0.004
testToDocumentWithAttributeSuccess0.000
testToDocumentWithDocTypeSuccess0.001
testToDocumentWithDocTypeInEpilogSuccess0.001
testToDocumentWithDoubleRootSuccess0.000
testToDocumentWithSingleRootSuccess0.000
testToDocumentWithPrologAndEpilogSuccess0.000
testCreateDocumentFragmentWithProcessingInstructionFilterSuccess0.073
testCreateDocumentFragmentWithUncommentFilterSuccess0.084
testTransform2Errorfile

java.net.UnknownHostException: file
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:943)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:903)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:984)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1271)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1223)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:258)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:497)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:579)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.tests.XSLTransformTest.testTransform2(Unknown Source)
0.259
testIdentityTransformSuccess0.018
testPrefixMappingIssuesSuccess0.019
testDocumentConstructorSuccess0.020
testLiteralResultElementUsedAsStylesheetSuccess0.019
testCreateDocumentFragmentSuccess0.060
testTransformErrorfile

java.net.UnknownHostException: file
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:943)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:903)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:984)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1271)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1223)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:258)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:497)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:579)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.tests.XSLTransformTest.testTransform(Unknown Source)
0.040
testTransformWithCFilterErrorfile

java.net.UnknownHostException: file
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:943)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:903)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:984)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1271)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1223)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:258)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:497)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:579)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.tests.XSLTransformTest.testTransformWithCFilter(Unknown Source)
0.065
testCreateDocumentFragmentWithCommentFilterSuccess0.060
testTransformFromDocumentErrorfile

java.net.UnknownHostException: file
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:943)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:903)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:984)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1271)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1223)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:258)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:497)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:579)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.tests.XSLTransformTest.testTransformFromDocument(Unknown Source)
0.009
testTransformFromSystemIDErrorfile

java.net.UnknownHostException: file
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:943)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:903)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:984)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1271)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1223)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:258)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:497)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:579)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.tests.XSLTransformTest.testTransformFromSystemID(Unknown Source)
0.006
testTransformWithNamespacesErrorfile

java.net.UnknownHostException: file
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:943)
at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:903)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:998)
at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:984)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1271)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1223)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:258)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:497)
at com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.parse(DTDConfiguration.java:579)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.tests.XSLTransformTest.testTransformWithNamespaces(Unknown Source)
0.033
testSingleTextNodeSuccess0.018
testToStringSuccess0.030
testTextMethodSuccess0.026
testCommentWithParentSuccess0.011
testProcessingInstructionWithParentSuccess0.018
testTransformNodesSuccess0.012
Properties »