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 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
    `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–2018 The Apache Software Foundation. All rights reserved.