Author: struberg
Date: Tue Apr 22 11:17:33 2014
New Revision: 1589087

URL: http://svn.apache.org/r1589087
Log:
force well specified order for 2 TCK tests

Those tests fail in Java8 since the order in which the test
methods get called are not deterministic anymore. At least
they are not called in the order as they appear in the source.

Modified:
    openwebbeans/branches/owb_1.2.x/webbeans-tck/standalone-suite.xml

Modified: openwebbeans/branches/owb_1.2.x/webbeans-tck/standalone-suite.xml
URL: 
http://svn.apache.org/viewvc/openwebbeans/branches/owb_1.2.x/webbeans-tck/standalone-suite.xml?rev=1589087&r1=1589086&r2=1589087&view=diff
==============================================================================
--- openwebbeans/branches/owb_1.2.x/webbeans-tck/standalone-suite.xml (original)
+++ openwebbeans/branches/owb_1.2.x/webbeans-tck/standalone-suite.xml Tue Apr 
22 11:17:33 2014
@@ -140,6 +140,39 @@
                     <exclude 
name="testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoProducerMethodParameterWithPassivatingScopeFails"></exclude>
                 </methods>
             </class>
+            
+            <!-- we need to force the order in which those methods get called 
as the TCK is broken otherwise -->
+            <class 
name="org.jboss.jsr299.tck.tests.event.observer.conditional.ConditionalObserverTest">
+                <methods>
+                    <include name="testConditionalObserver"/>
+                </methods>
+            </class>
+            <class 
name="org.jboss.jsr299.tck.tests.event.observer.conditional.ConditionalObserverTest">
+                <methods>
+                    <include 
name="testObserverMethodInvokedOnReturnedInstanceFromContext"/>
+                </methods>
+            </class>
+            <class 
name="org.jboss.jsr299.tck.tests.event.observer.conditional.ConditionalObserverTest">
+                <methods>
+                    <include name="testNotifyEnumerationContainsNotifyValues"/>
+                </methods>
+            </class>
+
+            <class 
name="org.jboss.jsr299.tck.tests.implementation.disposal.method.definition.DisposalMethodDefinitionTest">
+                <methods>
+                    <include 
name="testBindingTypesAppliedToDisposalMethodParameters"/>
+                </methods>
+            </class>
+            <class 
name="org.jboss.jsr299.tck.tests.implementation.disposal.method.definition.DisposalMethodDefinitionTest">
+                <methods>
+                    <include name="testDisposalMethodOnNonBean"/>
+                </methods>
+            </class>
+            <class 
name="org.jboss.jsr299.tck.tests.implementation.disposal.method.definition.DisposalMethodDefinitionTest">
+                <methods>
+                    <include name="testDisposalMethodParametersGetInjected"/>
+                </methods>
+            </class>
 
         </classes>
 


Reply via email to