FYI we already have these files in src/test/resources ;) ---------- Forwarded message --------- From: <strub...@apache.org> Date: mar. 19 juin 2018 21:12 Subject: [2/2] tomee git commit: add testng runner files for tests which are under development. To: <comm...@tomee.apache.org>
add testng runner files for tests which are under development. Just change those files as needed. But please don't check all changes in... Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/344cc5cd Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/344cc5cd Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/344cc5cd Branch: refs/heads/master Commit: 344cc5cd52f43eab3d13ce39f3b308582350af45 Parents: 1e0438f Author: Mark Struberg <strub...@apache.org> Authored: Tue Jun 19 21:11:32 2018 +0200 Committer: Mark Struberg <strub...@apache.org> Committed: Tue Jun 19 21:11:32 2018 +0200 ---------------------------------------------------------------------- tck/cdi-embedded/dev-tests.xml | 60 +++++++++++++++++++++++++++++++++++ tck/cdi-tomee/dev-tests.xml | 62 +++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/344cc5cd/tck/cdi-embedded/dev-tests.xml ---------------------------------------------------------------------- diff --git a/tck/cdi-embedded/dev-tests.xml b/tck/cdi-embedded/dev-tests.xml new file mode 100644 index 0000000..52e88d3 --- /dev/null +++ b/tck/cdi-embedded/dev-tests.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. + --> +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > +<suite name="JSR-346-TCK" verbose="2" configfailurepolicy="continue" > + <listeners> + <!-- debug --> + <!--listener class-name="org.apache.openejb.tck.cdi.embedded.GCListener"/--> + <!-- Required - avoid randomly mixed test method execution --> + <listener class-name="org.jboss.cdi.tck.impl.testng.SingleTestClassMethodInterceptor"/> + <!-- Optional - intended for debug purpose only --> + <listener class-name="org.jboss.cdi.tck.impl.testng.ConfigurationLoggingListener"/> + <listener class-name="org.jboss.cdi.tck.impl.testng.ProgressLoggingTestListener"/> + <!-- Optional - it's recommended to disable the default JUnit XML reporter --> + <!-- too slow to be there by default + <listener class-name="org.testng.reporters.SuiteHTMLReporter"/> + <listener class-name="org.testng.reporters.FailedReporter"/> + <listener class-name="org.testng.reporters.XMLReporter"/> + <listener class-name="org.testng.reporters.EmailableReporter"/> + <listener class-name="org.apache.openejb.tck.testng.HTMLReporter"/> + --> + </listeners> + + <test name="JSR-365 TCK"> +<!-- + <packages> + <package name="org.jboss.cdi.tck.tests.*"> + <!– CHALLENGED TCK TESTS: clarifying this in the EG –> + <exclude name="org.jboss.cdi.tck.tests.inheritance.specialization.simple"/> + <!– CDITCK-432 –> + <exclude name="org.jboss.cdi.tck.tests.decorators.builtin.event.complex"/> + </package> + <package name="org.jboss.cdi.tck.interceptors.tests.*"/> + </packages> +--> + + <classes> + <!-- fails due to integration issue within openejb-http, but passes on cdi-tomee --> + <class name="org.jboss.cdi.tck.tests.implementation.builtin.metadata.session.BuiltinMetadataSessionBeanTest"> + <methods><include name="testInterceptorMetadata"/></methods> + </class> + + </classes> + </test> +</suite> + http://git-wip-us.apache.org/repos/asf/tomee/blob/344cc5cd/tck/cdi-tomee/dev-tests.xml ---------------------------------------------------------------------- diff --git a/tck/cdi-tomee/dev-tests.xml b/tck/cdi-tomee/dev-tests.xml new file mode 100644 index 0000000..f42d9a0 --- /dev/null +++ b/tck/cdi-tomee/dev-tests.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. + --> +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > +<suite name="JSR-346-TCK" verbose="2" configfailurepolicy="continue" > + <listeners> + <!-- debug --> + <!--listener class-name="org.apache.openejb.tck.cdi.embedded.GCListener"/--> + <!-- Required - avoid randomly mixed test method execution --> + <listener class-name="org.jboss.cdi.tck.impl.testng.SingleTestClassMethodInterceptor"/> + <!-- Optional - intended for debug purpose only --> + <listener class-name="org.jboss.cdi.tck.impl.testng.ConfigurationLoggingListener"/> + <listener class-name="org.jboss.cdi.tck.impl.testng.ProgressLoggingTestListener"/> + <!-- Optional - it's recommended to disable the default JUnit XML reporter --> + <!-- too slow to be there by default + <listener class-name="org.testng.reporters.SuiteHTMLReporter"/> + <listener class-name="org.testng.reporters.FailedReporter"/> + <listener class-name="org.testng.reporters.XMLReporter"/> + <listener class-name="org.testng.reporters.EmailableReporter"/> + <listener class-name="org.apache.openejb.tck.testng.HTMLReporter"/> + --> + </listeners> + + <test name="JSR-365 TCK"> +<!-- + <packages> + <package name="org.jboss.cdi.tck.tests.*"> + <!– CHALLENGED TCK TESTS: clarifying this in the EG –> + <exclude name="org.jboss.cdi.tck.tests.inheritance.specialization.simple"/> + <!– CDITCK-432 –> + <exclude name="org.jboss.cdi.tck.tests.decorators.builtin.event.complex"/> + </package> + <package name="org.jboss.cdi.tck.interceptors.tests.*"/> + </packages> +--> + + <classes> + <class name="org.jboss.cdi.tck.tests.lookup.modules.InterModuleLookupTest"/> +<!-- + <class name="org.jboss.cdi.tck.tests.context.request.event.RequestScopeEventTest"> + <methods><include name=".*"/></methods> + </class> +--> + + </classes> + </test> +</suite> +