move abstract test case to appropriate package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/proxy/trunk@1582390 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/src/test/java/org/apache/commons/proxy2/stub/AbstractProxyFactoryAgnosticTest.java b/test/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryAgnosticTest.java
similarity index 97%
rename from test/src/test/java/org/apache/commons/proxy2/stub/AbstractProxyFactoryAgnosticTest.java
rename to test/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryAgnosticTest.java
index dcf016b..0840e04 100755
--- a/test/src/test/java/org/apache/commons/proxy2/stub/AbstractProxyFactoryAgnosticTest.java
+++ b/test/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryAgnosticTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.commons.proxy2.stub;
+package org.apache.commons.proxy2;
import java.util.ArrayList;
import java.util.List;
diff --git a/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java b/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java
index b6481c0..658144a 100755
--- a/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java
+++ b/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java
@@ -27,7 +27,7 @@
import org.apache.commons.proxy2.interceptor.InterceptorUtils;
import org.apache.commons.proxy2.interceptor.SwitchInterceptor;
import org.apache.commons.proxy2.interceptor.matcher.invocation.DeclaredByMatcher;
-import org.apache.commons.proxy2.stub.AbstractProxyFactoryAgnosticTest;
+import org.apache.commons.proxy2.AbstractProxyFactoryAgnosticTest;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
diff --git a/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java b/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java
index e8187a8..5d6e674 100644
--- a/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java
+++ b/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java
@@ -23,6 +23,7 @@
import java.util.Arrays;
+import org.apache.commons.proxy2.AbstractProxyFactoryAgnosticTest;
import org.apache.commons.proxy2.invoker.NullInvoker;
import org.apache.commons.proxy2.provider.ObjectProviderUtils;
import org.junit.Before;
@@ -30,21 +31,21 @@
public abstract class AbstractStubTestCase extends AbstractProxyFactoryAgnosticTest
{
- // ----------------------------------------------------------------------------------------------------------------------
+ // *****************************************************************************************************************
// Fields
- // ----------------------------------------------------------------------------------------------------------------------
+ // *****************************************************************************************************************
protected StubInterface target;
- // ----------------------------------------------------------------------------------------------------------------------
+ // *****************************************************************************************************************
// Abstract Methods
- // ----------------------------------------------------------------------------------------------------------------------
+ // *****************************************************************************************************************
protected abstract StubInterface createProxy(Trainer<StubInterface> trainer);
- // ----------------------------------------------------------------------------------------------------------------------
+ // *****************************************************************************************************************
// Other Methods
- // ----------------------------------------------------------------------------------------------------------------------
+ // *****************************************************************************************************************
@Before
public final void setUpProxyFactory()