public class MultiOutputXSLTransformationStageTest extends BaseDOMTest
MultiOutputXSLTransformationStage unit test.| Modifier and Type | Class and Description |
|---|---|
private static class |
MultiOutputXSLTransformationStageTest.TestInfo
Simple marker object to test correct passage of
ItemMetadata through pipeline stages. |
testingClass| Constructor and Description |
|---|
MultiOutputXSLTransformationStageTest()
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 |
testTransform0()
Test a transform which results in no output elements.
|
void |
testTransform1()
Test a transform which results in a single output element, which we can test against a known good output file.
|
void |
testTransform2()
Test a transform which results in two empty output elements, which we can test against by collecting their
element names.
|
void |
testTransformListener()
Test a transform which results in Status objects being attached to each of two empty output elements.
|
void |
testTransformParam()
Test a transform to which we supply a named parameter.
|
assertXMLIdentical, countErrors, getParserPool, readDOMItem, readXMLData, setUpclassRelativeResource, getClasspathResource, packageRelativeResource, simpleClassRelativeNamepublic MultiOutputXSLTransformationStageTest()
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 testTransform0()
throws Exception
Exception - if anything goes wrong.public void testTransform2()
throws Exception
ItemMetadatas.Exception - if anything goes wrong.public void testTransformParam()
throws Exception
Exception - if anything goes wrong.public void testTransformListener()
throws Exception
Exception - if anything goes wrong.Copyright © 1999–2015. All rights reserved.