org.apache.turbine.services.template
Class TemplateTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.turbine.test.BaseTestCase
              extended by org.apache.turbine.services.template.TemplateTest
All Implemented Interfaces:
junit.framework.Test

public class TemplateTest
extends BaseTestCase

Tests all the various template mappings for Screen and Layout templates of the template service.

Version:
$Id: TemplateTest.java 615328 2008-01-25 20:25:05Z tv $
Author:
Henning P. Schmiedehausen

Constructor Summary
TemplateTest(String name)
           
 
Method Summary
 void testExistingDefaultLayoutTemplate()
           
 void testExistingLayoutTemplate()
           
 void testExistingSublevelLayoutTemplate()
           
 void testExistingSublevelTemplate()
           
 void testExistingTemplate()
           
 void testNonExistingSublevelTemplate()
           
 void testNonExistingTemplate()
           
 void testTemplateDefaults()
           
 void testVelocityDefaults()
           
 
Methods inherited from class org.apache.turbine.test.BaseTestCase
getMockRequest, getPipelineData, getRunData
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

TemplateTest

public TemplateTest(String name)
             throws Exception
Throws:
Exception
Method Detail

testTemplateDefaults

public void testTemplateDefaults()

testVelocityDefaults

public void testVelocityDefaults()

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


Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.