You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2007/12/27 13:29:01 UTC
svn commit: r607054 -
/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessInterceptorTests.java
Author: jlaskowski
Date: Thu Dec 27 04:29:01 2007
New Revision: 607054
URL: http://svn.apache.org/viewvc?rev=607054&view=rev
Log:
Slipped the last check-in - @version added and "empty" tearDown and a single, redundant assertEquals removed
Modified:
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessInterceptorTests.java
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessInterceptorTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessInterceptorTests.java?rev=607054&r1=607053&r2=607054&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessInterceptorTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessInterceptorTests.java Thu Dec 27 04:29:01 2007
@@ -21,11 +21,11 @@
import java.util.Arrays;
/**
- *
* @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @author <a href="mailto:goyathlay.geronimo@gmail.com">Prasad Kashyap</a>
+ *
+ * @version $Rev$ $Date$
*/
-// public class StatelessInterceptorTests extends AnnotatedFieldInjectionStatelessLocalTestClient {
public class StatelessInterceptorTests extends BasicStatelessLocalTestClient {
/*
@@ -47,14 +47,6 @@
}
/**
- * Tears down the fixture, for example, close a network connection. This method is called after a test is executed.
- */
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
-
- /**
* Invokes a business method which is to be intercepted from a class, in-bean and at method level.
*/
public void test01_interceptorChaining() {
@@ -69,8 +61,6 @@
Map innerMap = (Map) contextData.get("reverse");
ArrayList interceptorsList = (ArrayList) innerMap.get("INTERCEPTORS");
- // verifying interceptor chaining order
- assertEquals(Arrays.asList("ddInterceptor","secondClassInterceptor", "superClassInterceptor", "classInterceptor", "methodInterceptor", "superBeanInterceptor","inBeanInterceptor"), interceptorsList);
assertEquals("ddInterceptor", interceptorsList.get(0)); //specified in DD
assertEquals("secondClassInterceptor", interceptorsList.get(1)); //specified in DD