Class TemplateTest
- java.lang.Object
-
- org.apache.turbine.test.BaseTestCase
-
- org.apache.turbine.services.template.TemplateTest
-
public class TemplateTest extends BaseTestCase
Tests all the various template mappings for Screen and Layout templates of the template service.- Version:
- $Id$
- Author:
- Henning P. Schmiedehausen
-
-
Field Summary
-
Fields inherited from class org.apache.turbine.test.BaseTestCase
attributes, maxInactiveInterval
-
-
Constructor Summary
Constructors Constructor Description TemplateTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidsetUp()static voidtearDown()voidtestExistingDefaultLayoutTemplate()voidtestExistingLayoutTemplate()voidtestExistingSublevelLayoutTemplate()voidtestExistingSublevelTemplate()voidtestExistingTemplate()voidtestNonExistingSublevelTemplate()voidtestNonExistingTemplate()voidtestTemplateDefaults()voidtestTemplateExtension()voidtestVelocityDefaults()-
Methods inherited from class org.apache.turbine.test.BaseTestCase
baseInit, getMockRequest, getPipelineData, getRunData
-
-
-
-
Constructor Detail
-
TemplateTest
public TemplateTest()
-
-
Method Detail
-
testTemplateDefaults
public void testTemplateDefaults()
-
testVelocityDefaults
public void testVelocityDefaults()
-
testTemplateExtension
public void testTemplateExtension()
-
testNonExistingTemplate
public void testNonExistingTemplate() throws Exception
- Throws:
Exception
-
testNonExistingSublevelTemplate
public void testNonExistingSublevelTemplate() throws Exception
- Throws:
Exception
-
testExistingTemplate
public void testExistingTemplate() throws Exception
- Throws:
Exception
-
testExistingSublevelTemplate
public void testExistingSublevelTemplate() throws Exception
- Throws:
Exception
-
testExistingLayoutTemplate
public void testExistingLayoutTemplate() throws Exception
- Throws:
Exception
-
testExistingSublevelLayoutTemplate
public void testExistingSublevelLayoutTemplate() throws Exception
- Throws:
Exception
-
testExistingDefaultLayoutTemplate
public void testExistingDefaultLayoutTemplate() throws Exception
- Throws:
Exception
-
-