|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.melati.poem.test.PoemTestCase org.melati.template.test.TemplateEngineSpec org.melati.template.test.ServletTemplateEngineSpec org.melati.template.velocity.test.VelocityServletTemplateEngineTest
public class VelocityServletTemplateEngineTest
Field Summary |
---|
Fields inherited from class org.melati.template.test.ServletTemplateEngineSpec |
---|
servletTemplateEngine |
Fields inherited from class org.melati.template.test.TemplateEngineSpec |
---|
templateEngine |
Fields inherited from class org.melati.poem.test.PoemTestCase |
---|
maxTrans, result |
Constructor Summary | |
---|---|
VelocityServletTemplateEngineTest(String name)
|
Method Summary | |
---|---|
protected void |
setServletTemplateEngine()
|
protected void |
setTemplateEngine()
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testGetName()
Test method for TemplateEngine.getName() . |
void |
testGetServletWriter()
Test method for ServletTemplateEngine.getServletWriter(javax.servlet.http.HttpServletResponse, boolean) . |
void |
testTemplateExtension()
Test method for TemplateEngine.templateExtension() . |
Methods inherited from class org.melati.template.test.ServletTemplateEngineSpec |
---|
testGetServletTemplateContext, testInitMelatiConfigHttpServlet |
Methods inherited from class org.melati.template.test.TemplateEngineSpec |
---|
testAddRoot, testExpandedTemplate, testExpandTemplateMelatiWriterStringTemplateContext, testExpandTemplateMelatiWriterTemplateTemplateContext, testGetEngine, testGetRoots, testGetStringWriter, testGetTemplateContext, testGetTemplateName, testInit, testTemplate |
Methods inherited from class org.melati.poem.test.PoemTestCase |
---|
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, databaseUnchanged, dropTable, dumpTable, getDatabase, getDatabaseName, getDb, getDb, getName, getOrDie, getProperties, getPropertiesFileName, getUserToRunAs, run, runTest, setDatabaseName, setName, setPropertiesFileName, setUserToRunAs, testNothing |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, run, runBare, 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, 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 |
Methods inherited from interface junit.framework.Test |
---|
countTestCases |
Constructor Detail |
---|
public VelocityServletTemplateEngineTest(String name)
name
- Method Detail |
---|
protected void setUp() throws Exception
TemplateEngineSpec
setUp
in class ServletTemplateEngineSpec
Exception
PoemTestCase.setUp()
protected void tearDown() throws Exception
TemplateEngineSpec
tearDown
in class ServletTemplateEngineSpec
Exception
PoemTestCase.tearDown()
protected void setTemplateEngine()
setTemplateEngine
in class TemplateEngineSpec
TemplateEngineSpec.setTemplateEngine()
protected void setServletTemplateEngine()
setServletTemplateEngine
in class ServletTemplateEngineSpec
ServletTemplateEngineSpec.setServletTemplateEngine()
public void testGetName()
TemplateEngine.getName()
.
testGetName
in class TemplateEngineSpec
TemplateEngineSpec.testGetName()
public void testTemplateExtension()
TemplateEngine.templateExtension()
.
testTemplateExtension
in class TemplateEngineSpec
TemplateEngineSpec.testTemplateExtension()
public void testGetServletWriter() throws Exception
ServletTemplateEngine.getServletWriter(javax.servlet.http.HttpServletResponse, boolean)
.
testGetServletWriter
in class ServletTemplateEngineSpec
Exception
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |