org.apache.struts2.util

## Class StrutsTestCaseHelper

- java.lang.Object
- - org.apache.struts2.util.StrutsTestCaseHelper

-     public class StrutsTestCaseHelper
      extends Object

  Generic test setup methods to be used with any unit testing framework.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StrutsTestCaseHelper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Dispatcher` | `initDispatcher(javax.servlet.ServletContext ctx, Map<String,String> params)`
    `static void` | `tearDown()`
    `static void` | `tearDown(Dispatcher dispatcher)`

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

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

- - ### Constructor Detail

    - #### StrutsTestCaseHelper

          public StrutsTestCaseHelper()

  - ### Method Detail

    - #### initDispatcher

          public static Dispatcher initDispatcher(javax.servlet.ServletContext ctx,
                                                  Map<String,String> params)

    - #### tearDown

          public static void tearDown(Dispatcher dispatcher)

    - #### tearDown

          public static void tearDown()

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.