org.apache.turbine

## Class DestroyTest

- java.lang.Object
- - org.apache.turbine.test.BaseTestCase
  - - org.apache.turbine.DestroyTest

-     public class DestroyTest
      extends BaseTestCase

  Can we call "destroy" unconditionally on our Turbine Servlet, even if it hasn't configured?
  Version:
    $Id: DestroyTest.java 1606111 2014-06-27 14:46:47Z gk $
  Author:
    Henning P. Schmiedehausen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DestroyTest()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `destroy()`
    `static void` | `init()`
    `void` | `testDestroy()`
    `void` | `testInitAndDestroy()`

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

    - #### DestroyTest

          public DestroyTest()

  - ### Method Detail

    - #### init

          public static void init()
                           throws Exception

      Throws:
        `Exception`

    - #### testDestroy

          public void testDestroy()
                           throws Exception

      Throws:
        `Exception`

    - #### testInitAndDestroy

          public void testInitAndDestroy()
                                  throws Exception

      Throws:
        `Exception`

    - #### destroy

          public static void destroy()
                              throws Exception

      Throws:
        `Exception`

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