|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.dom.BaseDomTest
net.shibboleth.metadata.dom.MultiOutputXSLTtransformationStageTest
public class MultiOutputXSLTtransformationStageTest
MultiOutputXSLTransformationStage unit test.
| Nested Class Summary | |
|---|---|
private static class |
MultiOutputXSLTtransformationStageTest.TestInfo
Simple marker object to test correct passage of ItemMetadata through pipeline stages. |
| Constructor Summary | |
|---|---|
MultiOutputXSLTtransformationStageTest()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.shibboleth.metadata.dom.BaseDomTest |
|---|
assertXmlIdentical, getParserPool, readTestRelativeXmlData, readXmlData, setUp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiOutputXSLTtransformationStageTest()
| Method Detail |
|---|
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 file
public 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.
public void testInclude()
throws Exception
Exception - if anything goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||