From 4c1cbed577204f2223a43c7cc073bb76d43fda03 Mon Sep 17 00:00:00 2001 From: Rainer Hermanns Date: Wed, 11 Jun 2008 18:15:01 +0000 Subject: [PATCH] WW-2623 Struts 2.1.3 omnibus ticket o optimzed imports git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@666762 13f79535-47bb-0310-9956-ffa450edef68 --- .../CodebehindUnknownHandlerTest.java | 23 ++++++++----------- .../config/ClasspathPackageProviderTest.java | 11 +++------ 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/plugins/codebehind/src/test/java/org/apache/struts2/codebehind/CodebehindUnknownHandlerTest.java b/plugins/codebehind/src/test/java/org/apache/struts2/codebehind/CodebehindUnknownHandlerTest.java index 760bbc506..aded5fcf1 100644 --- a/plugins/codebehind/src/test/java/org/apache/struts2/codebehind/CodebehindUnknownHandlerTest.java +++ b/plugins/codebehind/src/test/java/org/apache/struts2/codebehind/CodebehindUnknownHandlerTest.java @@ -21,24 +21,21 @@ package org.apache.struts2.codebehind; +import com.mockobjects.dynamic.C; +import com.mockobjects.dynamic.Mock; +import com.opensymphony.xwork2.*; +import com.opensymphony.xwork2.config.entities.ActionConfig; +import com.opensymphony.xwork2.config.entities.ResultTypeConfig; +import com.opensymphony.xwork2.util.XWorkTestCaseHelper; +import org.apache.struts2.StrutsTestCase; +import org.apache.struts2.dispatcher.ServletDispatcherResult; + +import javax.servlet.ServletContext; import java.net.MalformedURLException; import java.net.URL; import java.util.Collections; import java.util.HashMap; -import javax.servlet.ServletContext; - -import org.apache.struts2.StrutsTestCase; -import org.apache.struts2.config.NullResult; -import org.apache.struts2.dispatcher.ServletDispatcherResult; - -import com.mockobjects.dynamic.C; -import com.mockobjects.dynamic.Mock; -import com.opensymphony.xwork2.*; -import com.opensymphony.xwork2.config.entities.ResultTypeConfig; -import com.opensymphony.xwork2.config.entities.ActionConfig; -import com.opensymphony.xwork2.util.XWorkTestCaseHelper; - public class CodebehindUnknownHandlerTest extends StrutsTestCase { CodebehindUnknownHandler handler; diff --git a/plugins/codebehind/src/test/java/org/apache/struts2/config/ClasspathPackageProviderTest.java b/plugins/codebehind/src/test/java/org/apache/struts2/config/ClasspathPackageProviderTest.java index 646f6b10c..1a84a97a0 100644 --- a/plugins/codebehind/src/test/java/org/apache/struts2/config/ClasspathPackageProviderTest.java +++ b/plugins/codebehind/src/test/java/org/apache/struts2/config/ClasspathPackageProviderTest.java @@ -21,20 +21,15 @@ package org.apache.struts2.config; -import java.util.HashMap; -import java.util.Map; - -import org.apache.struts2.dispatcher.ServletDispatcherResult; -import org.apache.struts2.util.StrutsTestCaseHelper; - import com.opensymphony.xwork2.config.Configuration; import com.opensymphony.xwork2.config.entities.ActionConfig; import com.opensymphony.xwork2.config.entities.PackageConfig; -import com.opensymphony.xwork2.config.entities.ResultConfig; import com.opensymphony.xwork2.config.entities.ResultTypeConfig; import com.opensymphony.xwork2.config.impl.DefaultConfiguration; - import junit.framework.TestCase; +import org.apache.struts2.dispatcher.ServletDispatcherResult; + +import java.util.Map; public class ClasspathPackageProviderTest extends TestCase {