| 
||||||||||
| 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.velocity.test.BaseTestCase
org.apache.velocity.test.sql.BaseSQLTest
org.apache.velocity.test.sql.DataSourceResourceLoaderTestCase
public class DataSourceResourceLoaderTestCase
| Nested Class Summary | |
|---|---|
static class | 
DataSourceResourceLoaderTestCase.DSRLTCTool
 | 
| Field Summary | 
|---|
| Fields inherited from interface org.apache.velocity.test.TemplateTestBase | 
|---|
FILE_RESOURCE_LOADER_PATH, RESULT_DIR, TEST_CASE_PROPERTIES, TEST_COMPARE_DIR, TEST_RESULT_DIR, TMPL_FILE_EXT | 
| Constructor Summary | |
|---|---|
DataSourceResourceLoaderTestCase(String name)
 | 
|
| Method Summary | |
|---|---|
protected  Template | 
executeTest(String templateName)
 | 
 void | 
setUp()
 | 
 void | 
setUpUnicode()
 | 
static junit.framework.Test | 
suite()
 | 
 void | 
testMacroInvocation()
Does it load the global Macros from the DB?  | 
 void | 
testNullTimestamp()
Will a NULL timestamp choke the loader?  | 
 void | 
testRenderTool()
Now we have a more complex example.  | 
 void | 
testSimpleTemplate()
Tests loading and rendering of a simple template.  | 
 void | 
testUnicode()
 | 
| Methods inherited from class org.apache.velocity.test.sql.BaseSQLTest | 
|---|
executeSQL | 
| Methods inherited from class org.apache.velocity.test.BaseTestCase | 
|---|
assureResultsDirectoryExists, getFileContents, getFileName, getFileName, getTestCaseName, isMatch, isMatch, normalizeNewlines | 
| 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 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public DataSourceResourceLoaderTestCase(String name)
                                 throws Exception
Exception| Method Detail | 
|---|
public static junit.framework.Test suite()
public void setUp()
           throws Exception
setUp in class junit.framework.TestCaseException
public void setUpUnicode()
                  throws Exception
Exception
public void testSimpleTemplate()
                        throws Exception
Exception
public void testUnicode()
                 throws Exception
Exception
public void testRenderTool()
                    throws Exception
Exception
public void testNullTimestamp()
                       throws Exception
Exception
public void testMacroInvocation()
                         throws Exception
Exception
protected Template executeTest(String templateName)
                        throws Exception
Exception
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||