|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.tiles.definition.digester.TestDigesterDefinitionsReader
public class TestDigesterDefinitionsReader
Tests the org.apache.tiles.definition.digester.DigesterDefinitionsReader
class.
Constructor Summary | |
---|---|
TestDigesterDefinitionsReader(String name)
Creates a new instance of TestDigesterDefinitionsReader. |
Method Summary | |
---|---|
static void |
main(String[] theArgs)
Start the tests. |
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testBadSource()
Tests read with bad input source. |
void |
testBadXml()
Tests read with bad XML source. |
void |
testRead()
Tests the read method under normal conditions. |
void |
testRead21Version()
Tests the read method under normal conditions for the new features in 2.1 version of the DTD. |
void |
testRegressionTiles352()
Regression test for bug TILES-352. |
void |
testValidatingParameter()
Tests the validating input parameter. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestDigesterDefinitionsReader(String name)
name
- The name of the test.Method Detail |
---|
public static void main(String[] theArgs)
theArgs
- the arguments. Not usedpublic static junit.framework.Test suite()
TestSuite
) that includes all methods
starting with "test"protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testRead() throws IOException
IOException
- If something goes wrong.public void testRead21Version() throws IOException
IOException
- If something goes wrong.public void testBadSource()
public void testBadXml()
public void testValidatingParameter()
public void testRegressionTiles352() throws IOException
IOException
- If something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |