| 
 | ||||||||||
| 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.TestUrlDefinitionsFactory
public class TestUrlDefinitionsFactory
Tests the UrlDefinitionsFactory.
| Constructor Summary | |
|---|---|
| TestUrlDefinitionsFactory(String name)Creates a new instance of TestUrlDefinitionsFactory. | |
| Method Summary | |
|---|---|
| static void | main(String[] theArgs)Start the tests. | 
| static junit.framework.Test | suite() | 
|  void | testBadSourceType()Tests addSource with a bad source object type. | 
|  void | testCalculatePostfixes()Tests the calculatePostfixes method. | 
|  void | testConcatPostfix()Tests the concatPostfix method. | 
|  void | testGetDefinition()Tests the getDefinition method. | 
|  void | testIsContextProcessed()Tests the isContextProcessed method. | 
|  void | testReadByLocale()Tests the addDefinitions method under normal circumstances. | 
|  void | testReadDefinitions()Tests the readDefinitions method under normal conditions. | 
|  void | testReaderParam()Tests the reader init param. | 
| 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 TestUrlDefinitionsFactory(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 testReadDefinitions()
                         throws Exception
Exception - If something goes wrong.
public void testGetDefinition()
                       throws Exception
Exception - If something goes wrong.
public void testBadSourceType()
                       throws Exception
Exception - If something goes wrong.
public void testReadByLocale()
                      throws Exception
Exception - If something goes wrong.
public void testIsContextProcessed()
                            throws Exception
Exception - If something goes wrong.
public void testReaderParam()
                     throws Exception
Exception - If something goes wrong.public void testCalculatePostfixes()
public void testConcatPostfix()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||