|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.arsdigita.acs.test.TemplateTest
Test suite for the template translator.
To run from the command line, try
java junit.textui.TestRunner -Dserver.url=http://hostname.com:port
com.arsdigita.acs.test.TemplateTest
| Field Summary | |
static java.lang.String |
cvsId
|
| Constructor Summary | |
TemplateTest(java.lang.String name)
|
|
| Method Summary | |
void |
setUp()
Sets up the fixture to run the test case. |
void |
tearDown()
Release any resources needed for thet testcase, such as network connections, file descriptors, etc. |
void |
testBind()
Tests the simple one-row, bind variables case makes a Selection out of a Map (column_array option to db_1row) |
void |
testGrid()
Tests grid tag |
void |
testGroup()
Tests group tag |
void |
testHelloWorld()
Tests the hello-world case |
void |
testIf()
Tests some conditional expressions with the if tag |
void |
testInclude()
Tests basic include tag usage |
void |
testList()
Tests list tag, passing a Vector directly, with the factorial example |
void |
testMasterSlave()
Tests master tag with supplied and default master templates |
void |
testMultiple()
Tests multiple tag |
void |
testRecursiveInclude()
Tests recursive inclusion (fib) |
void |
testSkins()
Tests ad_return_template with different templates supplied as parameters |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String cvsId
| Constructor Detail |
public TemplateTest(java.lang.String name)
| Method Detail |
public void setUp()
setUp in class junit.framework.TestCasepublic void tearDown()
tearDown in class junit.framework.TestCasepublic void testHelloWorld()
public void testBind()
public void testIf()
public void testInclude()
public void testMasterSlave()
public void testSkins()
public void testRecursiveInclude()
public void testMultiple()
public void testGroup()
public void testGrid()
public void testList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||