You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by st...@apache.org on 2018/01/30 14:50:34 UTC

tomee git commit: exclude more broken test and force strict validation

Repository: tomee
Updated Branches:
  refs/heads/fb_tomee8 cd73283bc -> 76b682059


exclude more broken test and force strict validation


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/76b68205
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/76b68205
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/76b68205

Branch: refs/heads/fb_tomee8
Commit: 76b682059a7a85963adb329d61b985520d1a00c6
Parents: cd73283
Author: Mark Struberg <st...@apache.org>
Authored: Tue Jan 30 15:50:03 2018 +0100
Committer: Mark Struberg <st...@apache.org>
Committed: Tue Jan 30 15:50:03 2018 +0100

----------------------------------------------------------------------
 .../openwebbeans/openwebbeans.properties        | 19 ++++++++
 tck/cdi-embedded/src/test/resources/passing.xml | 48 ++++++++++++++++----
 2 files changed, 59 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/76b68205/tck/cdi-embedded/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
----------------------------------------------------------------------
diff --git a/tck/cdi-embedded/src/test/resources/META-INF/openwebbeans/openwebbeans.properties b/tck/cdi-embedded/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
new file mode 100644
index 0000000..84195bc
--- /dev/null
+++ b/tck/cdi-embedded/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
@@ -0,0 +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.
+
+
+# enable strict validation for the TCK tests
+org.apache.webbeans.strictDynamicValidation=true
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tomee/blob/76b68205/tck/cdi-embedded/src/test/resources/passing.xml
----------------------------------------------------------------------
diff --git a/tck/cdi-embedded/src/test/resources/passing.xml b/tck/cdi-embedded/src/test/resources/passing.xml
index e9dd536..40e6374 100644
--- a/tck/cdi-embedded/src/test/resources/passing.xml
+++ b/tck/cdi-embedded/src/test/resources/passing.xml
@@ -16,7 +16,7 @@
   limitations under the License.
   -->
 <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
-<suite name="JSR-346-TCK" verbose="2" configfailurepolicy="continue" >
+<suite name="JSR-365-TCK" verbose="2" configfailurepolicy="continue" >
     <listeners>
         <!-- debug -->
         <!--listener class-name="org.apache.openejb.tck.cdi.embedded.GCListener"/-->
@@ -35,7 +35,7 @@
         -->
     </listeners>
 
-    <test name="JSR-346 TCK">
+    <test name="JSR-365 TCK">
         <groups>
             <run>
                 <!--
@@ -110,6 +110,15 @@
             <class name="org.jboss.cdi.tck.tests.definition.bean.types.illegal.BeanTypesWithIllegalTypeTest">
                 <methods><exclude name=".*"/></methods>
             </class>
+            <class name="org.jboss.cdi.tck.tests.definition.bean.types.enterprise.illegal.BeanTypesWithIllegalTypeTest">
+                <methods><exclude name=".*"/></methods>
+            </class>
+
+            <!-- CDITCK-476 -->
+            <class name="org.jboss.cdi.tck.tests.context.conversation.filter.ConversationFilterTest">
+                <methods><exclude name=".*"/></methods>
+            </class>
+
 
             <!-- https://issues.jboss.org/browse/CDITCK-580 -->
             <class name="org.jboss.cdi.tck.tests.inheritance.specialization.simple.SimpleBeanSpecializationTest">
@@ -180,6 +189,12 @@
                     <exclude name="testDuplicateBindingsToFireEventFails"/>
                 </methods>
             </class>
+            <class name="org.jboss.cdi.tck.tests.event.select.SelectEventTest">
+                <methods>
+                    <exclude name=".*DuplicateBindingType"/>
+                </methods>
+            </class>
+
 
             <!-- CDITCK-462 javax.enterprise.context.conversation.id is not el compliant -->
             <class name="org.jboss.cdi.tck.tests.context.conversation.LongRunningConversationPropagatedByFacesContextTest">
@@ -267,14 +282,31 @@
 
             <!-- not supported by embedded adapter -->
             <class name="org.jboss.cdi.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest">
-                <methods>
-                    <exclude name=".*" />
-                </methods>
+                <methods><exclude name=".*" /></methods>
             </class>
             <class name="org.jboss.cdi.tck.tests.context.conversation.filter.ConversationFilterTest">
-                <methods>
-                    <exclude name="testConversationActivation" />
-                </methods>
+                <methods><exclude name="testConversationActivation" /></methods>
+            </class>
+            <class name="org.jboss.cdi.tck.tests.lookup.el.integration.IntegrationWithUnifiedELTest">
+                <methods><exclude name=".*" /></methods>
+            </class>
+            <class name="org.jboss.cdi.tck.tests.context.conversation.event.LongRunningConversationLifecycleEventTest">
+                <methods><exclude name=".*" /></methods>
+            </class>
+            <class name="org.jboss.cdi.tck.tests.context.conversation.event.TransientConversationLifecycleEventTest">
+                <methods><exclude name=".*" /></methods>
+            </class>
+            <class name="org.jboss.cdi.tck.tests.context.request.ejb.EJBRequestContextTest">
+                <methods><exclude name="testRequestScopeActiveDuringRemoteCallToEjb" /></methods>
+            </class>
+            <class name="org.jboss.cdi.tck.tests.context.request.event.RequestScopeEventTest">
+                <methods><exclude name=".*" /></methods>
+            </class>
+            <class name="org.jboss.cdi.tck.tests.context.request.event.remote.RequestScopeEventRemoteTest">
+                <methods><exclude name=".*" /></methods>
+            </class>
+            <class name="org.jboss.cdi.tck.tests.context.session.event.SessionScopeEventTest">
+                <methods><exclude name=".*" /></methods>
             </class>