org.melati.template.velocity.test
Class VelocityServletTemplateEngineTest

Package class diagram package VelocityServletTemplateEngineTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.poem.test.PoemTestCase
              extended by org.melati.template.test.TemplateEngineSpec
                  extended by org.melati.template.test.ServletTemplateEngineSpec
                      extended by org.melati.template.velocity.test.VelocityServletTemplateEngineTest
All Implemented Interfaces:
junit.framework.Test

public class VelocityServletTemplateEngineTest
extends ServletTemplateEngineSpec

Since:
22 Aug 2007
Author:
timp

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

VelocityServletTemplateEngineTest

public VelocityServletTemplateEngineTest(String name)
Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception
Description copied from class: TemplateEngineSpec

Overrides:
setUp in class ServletTemplateEngineSpec
Throws:
Exception
See Also:
PoemTestCase.setUp()

tearDown

protected void tearDown()
                 throws Exception
Description copied from class: TemplateEngineSpec

Overrides:
tearDown in class ServletTemplateEngineSpec
Throws:
Exception
See Also:
PoemTestCase.tearDown()

setTemplateEngine

protected void setTemplateEngine()

Specified by:
setTemplateEngine in class TemplateEngineSpec
See Also:
TemplateEngineSpec.setTemplateEngine()

setServletTemplateEngine

protected void setServletTemplateEngine()

Specified by:
setServletTemplateEngine in class ServletTemplateEngineSpec
See Also:
ServletTemplateEngineSpec.setServletTemplateEngine()

testGetName

public void testGetName()
Test method for TemplateEngine.getName().

Specified by:
testGetName in class TemplateEngineSpec
See Also:
TemplateEngineSpec.testGetName()

testTemplateExtension

public void testTemplateExtension()
Test method for TemplateEngine.templateExtension().

Specified by:
testTemplateExtension in class TemplateEngineSpec
See Also:
TemplateEngineSpec.testTemplateExtension()

testGetServletWriter

public void testGetServletWriter()
                          throws Exception
Test method for ServletTemplateEngine.getServletWriter(javax.servlet.http.HttpServletResponse, boolean).

Overrides:
testGetServletWriter in class ServletTemplateEngineSpec
Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.