tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r609324 - in /openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors: SecondStatelessInterceptedTest.java ThirdSLSBeanTest.java
Date Sun, 06 Jan 2008 14:59:31 GMT
Author: jlaskowski
Date: Sun Jan  6 06:59:26 2008
New Revision: 609324

URL: http://svn.apache.org/viewvc?rev=609324&view=rev
Log:
Uncomment two additional interceptor-related tests as OPENEJB-583's fixed now.
License and version headers added

Modified:
    openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/SecondStatelessInterceptedTest.java
    openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/ThirdSLSBeanTest.java

Modified: openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/SecondStatelessInterceptedTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/SecondStatelessInterceptedTest.java?rev=609324&r1=609323&r2=609324&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/SecondStatelessInterceptedTest.java
(original)
+++ openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/SecondStatelessInterceptedTest.java
Sun Jan  6 06:59:26 2008
@@ -1,3 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
 package org.superbiz.interceptors;
 
 import org.junit.Before;
@@ -11,6 +27,9 @@
 
 import junit.framework.TestCase;
 
+/**
+ * @version $Rev$ $Date$
+ */
 public class SecondStatelessInterceptedTest extends TestCase {
 
     private InitialContext initCtx;

Modified: openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/ThirdSLSBeanTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/ThirdSLSBeanTest.java?rev=609324&r1=609323&r2=609324&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/ThirdSLSBeanTest.java
(original)
+++ openejb/trunk/openejb3/examples/interceptors/src/test/java/org/superbiz/interceptors/ThirdSLSBeanTest.java
Sun Jan  6 06:59:26 2008
@@ -42,8 +42,7 @@
         initCtx = new InitialContext(properties);
     }
 
-    // TODO: Enable it once OPENEJB-583 gets fixed
-    //@Test
+    @Test
     public void testMethodWithDefaultInterceptorsExcluded() throws Exception {
         ThirdSLSBeanLocal bean = (ThirdSLSBeanLocal) initCtx.lookup("ThirdSLSBeanLocal");
 
@@ -61,8 +60,7 @@
         assert expected.equals(actual) : "Expected " + expected + ", but got " + actual;
     }
 
-    // TODO: Enable it once OPENEJB-583 gets fixed
-    //@Test
+    @Test
     public void testMethodWithDefaultAndClassInterceptorsExcluded() throws Exception {
         ThirdSLSBeanLocal bean = (ThirdSLSBeanLocal) initCtx.lookup("ThirdSLSBeanLocal");
 



Mime
View raw message