Skip to content

Commit

Permalink
use TestCase to enhance performance
Browse files Browse the repository at this point in the history
  • Loading branch information
zalsaeed committed Jan 27, 2018
1 parent 8111fbf commit 820d18d
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
import com.opensymphony.xwork2.config.entities.ActionConfig;
import com.opensymphony.xwork2.config.providers.SomeUnknownHandler;

import junit.framework.TestCase;

import java.util.ArrayList;

/**
* Partial test to the DefaultUnknownHandlerManager to understand the relationship between Manager and Handlers.
*
*/
public class DefaultUnknownHandlerManagerTest extends XWorkTestCase {
public class DefaultUnknownHandlerManagerTest extends TestCase {

ActionConfig actionConfig;
SomeUnknownHandler someUnknownHandler;
Expand Down Expand Up @@ -78,10 +80,4 @@ protected void setUp() throws Exception {
someUnknownHandler.setActionMethodResult("specialActionMethod");
}

@Override
protected void tearDown() throws Exception {
super.tearDown();

}

}

0 comments on commit 820d18d

Please sign in to comment.