|
||||||||||
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.compat.definition.digester.TestCompatibilityDigesterDefinitionsReader
public class TestCompatibilityDigesterDefinitionsReader
Tests the org.apache.tiles.definition.digester.DigesterDefinitionsReader
class.
Constructor Summary | |
---|---|
TestCompatibilityDigesterDefinitionsReader(String name)
Creates a new instance of TestDigesterDefinitionsReader. |
Method Summary | |
---|---|
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testBadSource()
Tests read with bad input source. |
void |
testRead21Version()
Tests the read method under normal conditions for the new features in 2.1 version of the DTD. |
void |
testReadNewFormat()
Tests the read method to read Tiles 2.0 files. |
void |
testReadOldFormat()
Tests the read method to read Tiles 1.1 files. |
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 TestCompatibilityDigesterDefinitionsReader(String name)
name
- The name of the test.Method Detail |
---|
public 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 testReadOldFormat() throws IOException
DefinitionsFactoryException
- If the definitions factory fails.
IOException
- If an I/O exception happens.public void testReadNewFormat() throws IOException
IOException
- If an I/O exception happens.public void testRead21Version()
public void testBadSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |