|
||||||||||
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.TestDefinitions
public class TestDefinitions
Tests the DefinitionsImpl class.
Constructor Summary | |
---|---|
TestDefinitions(String name)
Creates a new instance of TestDefinitions. |
Method Summary | |
---|---|
static void |
main(String[] theArgs)
Start the tests. |
static junit.framework.Test |
suite()
|
void |
testLocalizedResolveInheritances()
Tests the inheritance with localized definitions. |
void |
testReset()
Tests the reset method. |
void |
testResolveAttributeDependencies()
Verifies that attribute dependencies are resolved. |
void |
testResolveInheritances()
Tests the inheritance properties of Definition objects. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, 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, 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 TestDefinitions(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"public void testResolveInheritances()
public void testLocalizedResolveInheritances()
public void testReset()
public void testResolveAttributeDependencies()
resolveAttributes
method is
executed and attribute dependencies are calculated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |