Author: mbenson Date: Thu Mar 27 16:39:17 2014 New Revision: 1582390 URL: http://svn.apache.org/r1582390 Log: move abstract test case to appropriate package
Added: commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryAgnosticTest.java - copied, changed from r1582384, commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractProxyFactoryAgnosticTest.java Removed: commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractProxyFactoryAgnosticTest.java Modified: commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java Copied: commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryAgnosticTest.java (from r1582384, commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractProxyFactoryAgnosticTest.java) URL: http://svn.apache.org/viewvc/commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryAgnosticTest.java?p2=commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryAgnosticTest.java&p1=commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractProxyFactoryAgnosticTest.java&r1=1582384&r2=1582390&rev=1582390&view=diff ============================================================================== --- commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractProxyFactoryAgnosticTest.java (original) +++ commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/AbstractProxyFactoryAgnosticTest.java Thu Mar 27 16:39:17 2014 @@ -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; Modified: commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java?rev=1582390&r1=1582389&r2=1582390&view=diff ============================================================================== --- commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java (original) +++ commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/serialization/SerializationProxyTest.java Thu Mar 27 16:39:17 2014 @@ -27,7 +27,7 @@ import org.apache.commons.proxy2.ProxyFa 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; Modified: commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java?rev=1582390&r1=1582389&r2=1582390&view=diff ============================================================================== --- commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java (original) +++ commons/proper/proxy/trunk/test/src/test/java/org/apache/commons/proxy2/stub/AbstractStubTestCase.java Thu Mar 27 16:39:17 2014 @@ -23,6 +23,7 @@ import static org.junit.Assert.assertTru 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 @@ import org.junit.Test; 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()