<commit_before><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

<!-- JSR-299 TCK TestNG configuration for Weld -->

<suite name="Weld / JBoss AS run of CDI TCK" verbose="0">

    <listeners>
        <listener class-name="org.jboss.weld.tck.jbossas.SingleTestMethodListener"/>
        <listener class-name="org.jboss.weld.tck.jbossas.DatasourceManager"/>
    </listeners>

    <test name="CDI TCK">
        <method-selectors>
            <method-selector>
                <selector-class name="org.jboss.jsr299.tck.impl.WebProfileMethodSelector"/>
                <selector-class name="org.jboss.testharness.impl.testng.DisableIntegrationTestsMethodSelector"/>
            </method-selector>
        </method-selectors>

        <packages>

            <package name="org.jboss.jsr299.tck.tests.*"/>
            <package name="org.jboss.jsr299.tck.interceptors.tests.*"/>
        </packages>
        <classes>

            <!-- Ensure that the DefaultDS has been set up -->

            <!-- Issues in the TCK -->
            <!-- CDITCK-212 -->
            <class name="org.jboss.jsr299.tck.tests.context.DestroyedInstanceReturnedByGetTest">
                <methods>
                    <exclude name="testDestroyedInstanceMustNotBeReturnedByGet"/>
                </methods>
            </class>
            
            <!-- TCK tests no longer valid for CDI 1.1 -->
            <!-- CDITCK-237 -->
            <class name="org.jboss.jsr299.tck.tests.interceptors.definition.broken.invalidBindingAnnotations.InvalidInterceptorBindingAnnotationsTest">
                <methods>
                    <exclude name="testInterceptorBindingsWithConflictingAnnotationMembersNotOk"/>
                </methods>
            </class>
            <!-- CDITCK-141 -->
            <!-- TestNG does not let us exclude a list of packages :-( -->
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.decoratorWithNonPassivatingBeanConstructor.DecoratorWithNonPassivatingBeanConstructorTest">
                <methods>
                    <exclude name="testPassivationCapableBeanWithNonPassivatingDecoratorBeanConstructorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.decoratorWithNonPassivatingInitializerMethod.DecoratorWithNonPassivatingInitializerMethodTest">
                <methods>
                    <exclude name="testPassivationCapableBeanWithNonPassivatingInitializerInDecoratorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor.EnterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptorTest">
                <methods>
                    <exclude name="testSessionBeanWithNonPassivatingBeanConstructorParamInInterceptorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingConstructorFieldInDecorator.EnterpriseBeanWithNonPassivatingFieldInDecoratorTest">
                <methods>
                    <exclude name="testSessionBeanWithNonPassivatingConstructorFieldInDecoratorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingInitializerInDecorator.EnterpriseBeanWithNonPassivatingInitializerInDecoratorTest">
                <methods>
                    <exclude name="testSessionBeanWithNonPassivatingInitializerFieldInDecoratorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor.EnterpriseBeanWithNonPassivatingInitializerParameterInInterceptorTest">
                <methods>
                    <exclude name="testSessionBeanWithNonPassivatingInitializerParamInInterceptorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.interceptorWithNonPassivatingBeanConstructorParameter.PassivationCapableBeanWithNonPassivatingInterceptorTest">
                <methods>
                    <exclude name="testPassivationCapableBeanWithNonPassivatingInterceptorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.passivatingManagedBeanWithNonPassivatingBeanConstructor.PassivatingManagedBeanWithNonPassivatingBeanConstructorTest">
                <methods>
                    <exclude name="testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoConstructorParameterOfWebBeanWithPassivatingScopeFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.passivatingManagedBeanWithNonPassivatingInitializerMethod.PassivatingManagedBeanWithNonPassivatingInitializerMethodTest">
                <methods>
                    <exclude name="testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoInitializerParameterOfWebBeanWithPassivatingScopeFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.passivatingProducerMethodWithNonPassivatingParameter.PassivatingProducerMethodWithNonPassivatingParameterTest">
                <methods>
                    <exclude name="testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoProducerMethodParameterWithPassivatingScopeFails"/>
                </methods>
            </class>
            <!-- CDI-136 -->
            <class name="org.jboss.jsr299.tck.tests.context.passivating.PassivatingContextTest">
                <methods>
                    <exclude name="testBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK"/>
                    <exclude name="testInjectionOfDependentPrimitiveProductIntoNormalBean"/>
                    <exclude name="testInjectionOfDependentSerializableProductIntoNormalBean"/>
                    <exclude name="testManagedBeanWithSerializableDecoratorOK"/>
                    <exclude name="testManagedBeanWithSerializableImplementationClassOK"/>
                    <exclude name="testManagedBeanWithSerializableInterceptorClassOK"/>
                    <exclude name="testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException"/>
                    <exclude name="testPassivatingScopeProducerMethodReturnsUnserializableObjectNotOk"/>
                    <exclude name="testPassivationCapableProducerFieldIsOK"/>
                    <exclude name="testPassivationCapableProducerMethodIsOK"/>
                    <exclude name="testPassivationOccurs"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest">
                <methods>
                    <exclude name="testForEachEnterpriseBeanANewBeanExists"/>
                    <exclude name="testNewBeanHasNoBeanELName"/>
                    <exclude name="testNewBeanHasNoObservers"/>
                    <exclude name="testNewBeanHasNoStereotypes"/>
                    <exclude name="testNewBeanIsDependentScoped"/>
                    <exclude name="testNewBeanIsHasOnlyNewBinding"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingDecorator.EnterpriseBeanWithNonPassivatingDecoratorTest">
                <methods>
                    <exclude name="testEnterpriseBeanWithNonPassivatingDecoratorFails"/>
                </methods>
            </class>

            <!-- Issues in Weld (the RI) -->

            <!-- Issues in JBoss AS -->


            <!-- Requires EJB 3.1 -->
            <!-- TODO Check these -->

            <!-- JBAS-8306 -->
            <class name="org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest">
                <methods>
                    <exclude name="testRequestScopeActiveDuringCallToEjbTimeoutMethod"/>
                    <exclude name="testRequestScopeDestroyedAfterCallToEjbTimeoutMethod"/>
                </methods>
            </class>


            <!-- Remove exclusion when AS7 suports SFSB serialization properly-->
            <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.lifecycle.EnterpriseBeanLifecycleTest">
                <methods>
                    <exclude name="testSerializeSFSB"/>
                </methods>
            </class>
            <!-- Remove exclusion when AS7 suports WS endpoint injection-->
            <class name="org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.ws.InjectionIntoWebServiceEndPointTest">
                <methods>
                    <exclude name="testInjectionIntoWebServiceEndpoint"/>
                </methods>
            </class>
            
        </classes>
    </test>

</suite>
<commit_msg>More excludes for CDI-136<commit_after><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

<!-- JSR-299 TCK TestNG configuration for Weld -->

<suite name="Weld / JBoss AS run of CDI TCK" verbose="0">

    <listeners>
        <listener class-name="org.jboss.weld.tck.jbossas.SingleTestMethodListener"/>
        <listener class-name="org.jboss.weld.tck.jbossas.DatasourceManager"/>
    </listeners>

    <test name="CDI TCK">
        <method-selectors>
            <method-selector>
                <selector-class name="org.jboss.jsr299.tck.impl.WebProfileMethodSelector"/>
                <selector-class name="org.jboss.testharness.impl.testng.DisableIntegrationTestsMethodSelector"/>
            </method-selector>
        </method-selectors>

        <packages>

            <package name="org.jboss.jsr299.tck.tests.*"/>
            <package name="org.jboss.jsr299.tck.interceptors.tests.*"/>
        </packages>
        <classes>

            <!-- Ensure that the DefaultDS has been set up -->

            <!-- Issues in the TCK -->
            <!-- CDITCK-212 -->
            <class name="org.jboss.jsr299.tck.tests.context.DestroyedInstanceReturnedByGetTest">
                <methods>
                    <exclude name="testDestroyedInstanceMustNotBeReturnedByGet"/>
                </methods>
            </class>
            
            <!-- TCK tests no longer valid for CDI 1.1 -->
            <!-- CDITCK-237 -->
            <class name="org.jboss.jsr299.tck.tests.interceptors.definition.broken.invalidBindingAnnotations.InvalidInterceptorBindingAnnotationsTest">
                <methods>
                    <exclude name="testInterceptorBindingsWithConflictingAnnotationMembersNotOk"/>
                </methods>
            </class>
            <!-- CDITCK-141 -->
            <!-- TestNG does not let us exclude a list of packages :-( -->
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.decoratorWithNonPassivatingBeanConstructor.DecoratorWithNonPassivatingBeanConstructorTest">
                <methods>
                    <exclude name="testPassivationCapableBeanWithNonPassivatingDecoratorBeanConstructorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.decoratorWithNonPassivatingInitializerMethod.DecoratorWithNonPassivatingInitializerMethodTest">
                <methods>
                    <exclude name="testPassivationCapableBeanWithNonPassivatingInitializerInDecoratorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor.EnterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptorTest">
                <methods>
                    <exclude name="testSessionBeanWithNonPassivatingBeanConstructorParamInInterceptorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingConstructorFieldInDecorator.EnterpriseBeanWithNonPassivatingFieldInDecoratorTest">
                <methods>
                    <exclude name="testSessionBeanWithNonPassivatingConstructorFieldInDecoratorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingInitializerInDecorator.EnterpriseBeanWithNonPassivatingInitializerInDecoratorTest">
                <methods>
                    <exclude name="testSessionBeanWithNonPassivatingInitializerFieldInDecoratorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor.EnterpriseBeanWithNonPassivatingInitializerParameterInInterceptorTest">
                <methods>
                    <exclude name="testSessionBeanWithNonPassivatingInitializerParamInInterceptorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.interceptorWithNonPassivatingBeanConstructorParameter.PassivationCapableBeanWithNonPassivatingInterceptorTest">
                <methods>
                    <exclude name="testPassivationCapableBeanWithNonPassivatingInterceptorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.passivatingManagedBeanWithNonPassivatingBeanConstructor.PassivatingManagedBeanWithNonPassivatingBeanConstructorTest">
                <methods>
                    <exclude name="testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoConstructorParameterOfWebBeanWithPassivatingScopeFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.passivatingManagedBeanWithNonPassivatingInitializerMethod.PassivatingManagedBeanWithNonPassivatingInitializerMethodTest">
                <methods>
                    <exclude name="testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoInitializerParameterOfWebBeanWithPassivatingScopeFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.passivatingProducerMethodWithNonPassivatingParameter.PassivatingProducerMethodWithNonPassivatingParameterTest">
                <methods>
                    <exclude name="testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoProducerMethodParameterWithPassivatingScopeFails"/>
                </methods>
            </class>
            <!-- CDI-136 -->
            <class name="org.jboss.jsr299.tck.tests.context.passivating.PassivatingContextTest">
                <methods>
                    <exclude name="testBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK"/>
                    <exclude name="testInjectionOfDependentPrimitiveProductIntoNormalBean"/>
                    <exclude name="testInjectionOfDependentSerializableProductIntoNormalBean"/>
                    <exclude name="testManagedBeanWithSerializableDecoratorOK"/>
                    <exclude name="testManagedBeanWithSerializableImplementationClassOK"/>
                    <exclude name="testManagedBeanWithSerializableInterceptorClassOK"/>
                    <exclude name="testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException"/>
                    <exclude name="testPassivatingScopeProducerMethodReturnsUnserializableObjectNotOk"/>
                    <exclude name="testPassivationCapableProducerFieldIsOK"/>
                    <exclude name="testPassivationCapableProducerMethodIsOK"/>
                    <exclude name="testPassivationOccurs"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest">
                <methods>
                    <exclude name="testForEachEnterpriseBeanANewBeanExists"/>
                    <exclude name="testNewBeanHasNoBeanELName"/>
                    <exclude name="testNewBeanHasNoObservers"/>
                    <exclude name="testNewBeanHasNoStereotypes"/>
                    <exclude name="testNewBeanIsDependentScoped"/>
                    <exclude name="testNewBeanIsHasOnlyNewBinding"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingDecorator.EnterpriseBeanWithNonPassivatingDecoratorTest">
                <methods>
                    <exclude name="testEnterpriseBeanWithNonPassivatingDecoratorFails"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.remove.EnterpriseBeanRemoveMethodTest">
                <methods>
                    <exclude name="testApplicationCannotCallRemoveMethodOnNonDependentScopedSessionEnterpriseBean"/>
                    <exclude name="testApplicationMayCallAnyRemoveMethodOnDependentScopedSessionEnterpriseBeans"/>
                    <exclude name="testApplicationMayCallRemoveMethodOnDependentScopedSessionEnterpriseBeansButNoParametersArePassed"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanICTest">
                <methods>
                    <exclude name="testNewBeanHasNoDisposalMethods"/>
                    <exclude name="testNewBeanHasNoProducerMethods"/>
                    <exclude name="testNewBeanHasSameConstructor"/>
                    <exclude name="testNewBeanHasSameInitializers"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean.EnterpriseBeanWithIllegalDependencyTest">
                <methods>
                    <exclude name="test"/>
                </methods>
            </class>
            <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean.EnterpriseBeanWithIllegalDependencyTest">
                <methods>
                    <exclude name="test"/>
                </methods>
            </class>

            <!-- Issues in Weld (the RI) -->

            <!-- Issues in JBoss AS -->


            <!-- Requires EJB 3.1 -->
            <!-- TODO Check these -->

            <!-- JBAS-8306 -->
            <class name="org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest">
                <methods>
                    <exclude name="testRequestScopeActiveDuringCallToEjbTimeoutMethod"/>
                    <exclude name="testRequestScopeDestroyedAfterCallToEjbTimeoutMethod"/>
                </methods>
            </class>


            <!-- Remove exclusion when AS7 suports SFSB serialization properly-->
            <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.lifecycle.EnterpriseBeanLifecycleTest">
                <methods>
                    <exclude name="testSerializeSFSB"/>
                </methods>
            </class>
            <!-- Remove exclusion when AS7 suports WS endpoint injection-->
            <class name="org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.ws.InjectionIntoWebServiceEndPointTest">
                <methods>
                    <exclude name="testInjectionIntoWebServiceEndpoint"/>
                </methods>
            </class>
            
        </classes>
    </test>

</suite>

{'fraction_non_alphanumeric': 0.09229006873194541, 'fraction_numerical': 0.009811734236477737, 'mean_word_length': 2.368959731543624, 'pattern_counts': {'":': 0, '<': 314, '<?xml version=': 0, '>': 314, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2976227', 'n_tokens_mistral': 5520, 'n_tokens_neox': 4994, 'n_words': 581}