|
||||||||||
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.TestDefinition
public class TestDefinition
Tests the Definition class.
Constructor Summary | |
---|---|
TestDefinition(String name)
Creates a new instance of TestDefinition. |
Method Summary | |
---|---|
static void |
main(String[] theArgs)
Start the tests. |
static junit.framework.Test |
suite()
|
void |
testInherit()
Tests the Definition#inherit(Definition) method. |
void |
testPutAttribute()
Verifies the put Attribute functionality. |
void |
testToString()
Tests Definition.toString() . |
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 TestDefinition(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 testPutAttribute()
public void testInherit()
Definition#inherit(Definition)
method.
public void testToString()
Definition.toString()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |