org.apache.turbine.services.template

## 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: TemplateTest.java 1812628 2017-10-19 12:34:25Z gk $
  Author:
    Henning P. Schmiedehausen

- - ### Field Summary

    - ### Fields inherited from class org.apache.turbine.test.BaseTestCase

      `attributes, maxInactiveInterval`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TemplateTest()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `setUp()`
    `static void` | `tearDown()`
    `void` | `testExistingDefaultLayoutTemplate()`
    `void` | `testExistingLayoutTemplate()`
    `void` | `testExistingSublevelLayoutTemplate()`
    `void` | `testExistingSublevelTemplate()`
    `void` | `testExistingTemplate()`
    `void` | `testNonExistingSublevelTemplate()`
    `void` | `testNonExistingTemplate()`
    `void` | `testTemplateDefaults()`
    `void` | `testTemplateExtension()`
    `void` | `testVelocityDefaults()`

    - ### Methods inherited from class org.apache.turbine.test.BaseTestCase

      `baseInit, getMockRequest, getPipelineData, getRunData`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TemplateTest

          public TemplateTest()

  - ### Method Detail

    - #### setUp

          public static void setUp()
                            throws Exception

      Throws:
        `Exception`

    - #### tearDown

          public static void tearDown()
                               throws Exception

      Throws:
        `Exception`

    - #### 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`

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.