public class XSLTtransformationStageTest extends BaseDOMTest
XSLTransformationStage unit test.| Modifier and Type | Class and Description |
|---|---|
private static class |
XSLTtransformationStageTest.TestInfo
Simple marker object to test correct passage of
ItemMetadata through pipeline stages. |
testingClass| Constructor and Description |
|---|
XSLTtransformationStageTest()
Constructor sets class under test.
|
| Modifier and Type | Method and Description |
|---|---|
private net.shibboleth.metadata.dom.DOMElementItem |
makeInput()
Utility method to grab our standard input file and turn it into a
DOMElementItem. |
void |
testInclude()
Test a transform which results from templates contained in a main stylesheet and one which is included.
|
void |
testOutsideDocumentElement()
Test a transform which manipulates the document's nodes that lie outside the document element.
|
void |
testTransform1()
Test a transform which results in a single output element, which we can test against a known good output file.
|
void |
testTransformListener()
Test a transform which results in Status objects being attached to the output element.
|
void |
testTransformParam()
Test a transform to which we supply a named parameter.
|
void |
testURIResolver() |
assertXMLIdentical, countErrors, getParserPool, readDOMItem, readXMLData, setUpclassRelativeResource, getClasspathResource, packageRelativeResource, simpleClassRelativeNamepublic XSLTtransformationStageTest()
private net.shibboleth.metadata.dom.DOMElementItem makeInput()
throws net.shibboleth.utilities.java.support.xml.XMLParserException
DOMElementItem.DOMElementItem.net.shibboleth.utilities.java.support.xml.XMLParserException - if there is a problem reading the input filepublic void testTransform1()
throws Exception
Exception - if anything goes wrong.public void testTransformParam()
throws Exception
Exception - if something goes wrongpublic void testTransformListener()
throws Exception
Exception - if anything goes wrongpublic void testInclude()
throws Exception
Exception - if anything goes wrongpublic void testOutsideDocumentElement()
throws Exception
Exception - if something goes wrongCopyright © 1999–2016. All rights reserved.