|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--ca.quine.jcommons.transform.test.DigesterTest
Constructor Summary | |
DigesterTest(String testName)
|
Method Summary | |
void |
testFileTypes()
Ensures that the right file type is found for a given input file. |
void |
testImports()
Ensures that class imports in the configuration file work as expected. |
void |
testInvalidTransformGraph()
This test case ensures the right exception is thrown when an invalid file is loaded. |
void |
testTransformGraph()
This test case shows the most straightforward way to convert a filename into a desired output type. |
void |
testTransformGraphEdi2()
Ensures that "edi2" files are correctly transformed (which should catch bugs in StructuredXMLTransform as well). |
void |
testTransformGraphEdi2Sample2()
Ensures that the second sample "edi2" file is correctly transformed (which should catch bugs in StructuredXMLTransform as well). |
void |
testTransformGraphInvalidEdi()
Ensures that an invalid file won't cause a NullPointerException. |
void |
testTransformGraphManual()
This test case shows how to deconstruct performing each step of a transformation manually (for extra flexibility). |
Methods inherited from class junit.framework.TestCase |
countTestCases, createDefault, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DigesterTest(String testName)
Method Detail |
public void testImports() throws JDOMException, IOException
JDOMException
IOException
public void testFileTypes() throws JDOMException, IOException
JDOMException
IOException
public void testTransformGraph() throws JDOMException, IOException, GraphException
JDOMException
IOException
GraphException
public void testTransformGraphManual() throws JDOMException, IOException, GraphException
JDOMException
IOException
GraphException
public void testTransformGraphEdi2() throws JDOMException, IOException, GraphException
JDOMException
IOException
GraphException
public void testTransformGraphEdi2Sample2() throws JDOMException, IOException, GraphException
JDOMException
IOException
GraphException
public void testInvalidTransformGraph() throws JDOMException, IOException, GraphException
JDOMException
IOException
GraphException
public void testTransformGraphInvalidEdi() throws JDOMException, IOException, GraphException
JDOMException
IOException
GraphException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |