Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration of the cdi-tck/web tests to the platform tck repo main bran…
…chCdi tck (jakartaee#1432) * Remove wf-core-tck-runner Signed-off-by: Scott Marlow <smarlow@redhat.com> * Add new WildFly wf-core-tck-runner submodule using https://github.com/wildfly/wildfly-tck-runners/tree/main/wf-core-tck-runner Signed-off-by: Scott Marlow <smarlow@redhat.com> * Update README.adoc to explain the git submodule deinit command and also change WildFly Preview to WildFly Signed-off-by: Scott Marlow <smarlow@redhat.com> * [1135] Do not add the CustomJsonbResolver as a service provider for a JsonbProvider. Signed-off-by: James R. Perkins <jperkins@redhat.com> * [1134] Allow the response type to be either 400 or 500. In Jakarta RESTful Web Services 3.1 a default ExceptionMapper is required. The suggestion of the specification is to return 500 as the response status. Signed-off-by: James R. Perkins <jperkins@redhat.com> * Prepare release notes for a 10.0.1 core profile tck release Signed-off-by: Scott M Stark <starksm64@gmail.com> * Update version to 10.0.1 Signed-off-by: Scott M Stark <starksm64@gmail.com> * Accept unique constraint as part of the create table statement * Fixed RESULT_FILE_NAME variable Signed-off-by: David Matějček <david.matejcek@omnifish.ee> * New Dockerfile 0.4, updated Jenkinsfile, fixed bash script - previous version - used root to run builds - had no permissions to write to the home dir - had no permissions to kill processes - this version - prints useful information about user, network, env - uses user tck based on Jenkins user (see Elipses' documentation) - added AS_TRACE parameter, useful when GF asadmin behaves badly - with fixed GlassFish (PR24200) doesn't need to kill (but for sure...) Signed-off-by: David Matějček <david.matejcek@omnifish.ee> * JUnit reports archive was created in user's home instead of a workspace dir Signed-off-by: David Matějček <david.matejcek@omnifish.ee> * JPA#391 Fix wrongly typed comparison expressions * ClassLoader issue in embedded Arquillian Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com> * Upgrade to CDI TCK 4.0.10 Also updated associated dependencies and plugins in pom. Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee> * Null check Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com> * update configuration to exclude JPMS by disabling module and to use classpath. (jakartaee#1211) Signed-off-by: Gurunandan Rao <gurunandan.rao@oracle.com> * Bump testng from 7.4.0 to 7.5.1 in /glassfish-runner/cdi-tck (jakartaee#1173) Bumps [testng](https://github.com/cbeust/testng) from 7.4.0 to 7.5.1. - [Release notes](https://github.com/cbeust/testng/releases) - [Changelog](https://github.com/testng-team/testng/blob/master/CHANGES.txt) - [Commits](testng-team/testng@7.4.0...7.5.1) --- updated-dependencies: - dependency-name: org.testng:testng dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump testng from 7.4.0 to 7.5.1 in /core-profile-tck (jakartaee#1174) Bumps [testng](https://github.com/cbeust/testng) from 7.4.0 to 7.5.1. - [Release notes](https://github.com/cbeust/testng/releases) - [Changelog](https://github.com/testng-team/testng/blob/master/CHANGES.txt) - [Commits](testng-team/testng@7.4.0...7.5.1) --- updated-dependencies: - dependency-name: org.testng:testng dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump testng from 7.4.0 to 7.5.1 in /glassfish-runner/concurrency-tck (jakartaee#1172) Bumps [testng](https://github.com/cbeust/testng) from 7.4.0 to 7.5.1. - [Release notes](https://github.com/cbeust/testng/releases) - [Changelog](https://github.com/testng-team/testng/blob/master/CHANGES.txt) - [Commits](testng-team/testng@7.4.0...7.5.1) --- updated-dependencies: - dependency-name: org.testng:testng dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Initial migration of the cdi-tck/web tests to the platform tck repo (jakartaee#1220) * Intial prototype of breaking up TCK into a core and web profile set of tests Signed-off-by: Scott M Stark <starksm64@gmail.com> * Merge from master and get working with weld master Signed-off-by: Scott M Stark <starksm64@gmail.com> * Update the 10 year old htmlunit to the most recent version Signed-off-by: Scott M Stark <starksm64@gmail.com> * Move more TestGroups.INTEGRATION tests into the web collection Signed-off-by: Scott M Stark <starksm64@gmail.com> * Prepare for the 4.1.0.Alpha1 release Signed-off-by: Scott M Stark <starksm64@gmail.com> * Try this again, need snapshot for release plugin Signed-off-by: Scott M Stark <starksm64@gmail.com> * [maven-release-plugin] prepare release 4.1.0.Alpha1 * [maven-release-plugin] prepare for next development iteration * Add comment about the testResourceBeanTypes types check assert along with the types actually seen Signed-off-by: Scott M Stark <starksm64@gmail.com> * Build expected Boolean types from JVM class to avoid issues with future java.lang type changes Signed-off-by: Scott M Stark <starksm64@gmail.com> jakartaee#238 * Update persistence.xml schema to Jakarta EE 9 version Signed-off-by: Scott M Stark <starksm64@gmail.com> * Update CDI API to 4.0.0.Alpha1; rework tests that use now removed APIs. * [maven-release-plugin] prepare release 4.1.0.Alpha2 * [maven-release-plugin] prepare for next development iteration * Changes to support test archive source for cdi-lite Signed-off-by: Scott M Stark <starksm64@gmail.com> * Changes to support test archive source for cdi-lite Signed-off-by: Scott M Stark <starksm64@gmail.com> * First pass aadding cdi-full group to @decorators tests (jakartaee#279) * First pass aadding cdi-full group to @decorators tests Addresses jakartaee#263 Signed-off-by: Scott M Stark <starksm64@gmail.com> * Move/rework/alter tests using CDI extensions, part 2 * Move/rework/alter tests using CDI extensions, part 3 * Move/rework/alter tests using CDI extensions, part 4 * Move/rework/alter tests using CDI extensions, part 5 * Second pass at adding cdi-full to interceptors tests (jakartaee#285) * Update most tests to not use @interceptors so they work in Lite and full. * Move cdi-full group tests to under org.jboss.cdi.tck.tests.full.interceptors.* Signed-off-by: Scott M Stark <starksm64@gmail.com> * Move more decorator related tests to cdi-full, jakartaee#290 (jakartaee#291) * More decorator related tests need the cdi-full test group Addresses jakartaee#290, jakartaee#273 Signed-off-by: Scott M Stark <starksm64@gmail.com> * [maven-release-plugin] prepare release 4.1.0.Alpha3 * [maven-release-plugin] prepare for next development iteration * Change BeanDiscovery test to account for beans.xml version attribute changes. Expand BeansXml util to allow creation of XML without certain attributes. * Merge the two BeanDiscoveryTest classes together as they both test plain CDI Full features anyway. * remove SourceProcessor and everything related The `cdiLiteMode` flag is retained, because that seems to be useful. Everything else should be gone with this commit. * Adapt TCK Full and incontainer tests to new beans.xml defaults. * Revert the dev version from 4.1.0-SNAPSHOT to 4.0.0-SNAPSHOT to correct the current major/minor mismatch between api/tck Signed-off-by: starksm64 <starksm64@gmail.com> * [maven-release-plugin] prepare release 4.0.0.Alpha4 * [maven-release-plugin] prepare for next development iteration * Add ability to skip adding beans.xml to the archive * Revert mistakenly commited change to web.xml file. * [maven-release-plugin] prepare release 4.0.0.Alpha5 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0-RC1 * [maven-release-plugin] prepare for next development iteration * Update signature test packages and Java version to 11. Remove the duplicate sigtest-pom.xml from the web module. Update the TCK guide version references, examples and add lang model TCK section Signed-off-by: starksm64 <starksm64@gmail.com> * [maven-release-plugin] prepare release 4.0.0-RC1 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0-RC2 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0-RC3 * [maven-release-plugin] prepare for next development iteration * Move some misplaced tests under full package, add CDI_FULL category. Rework few other tests to work equally for Lite and Full. (jakartaee#338) * [maven-release-plugin] prepare release 4.0.0-RC4 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0.RC5 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0.RC6 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0-RC7 * [maven-release-plugin] prepare for next development iteration * IntrospectServlet needs to be a bean for JEEComponentTest This used to be a bean because we used discovery mode all. However, the default discovery mode has changed in 4.0 to be annotated, so the class needs an annotation to be a bean. * [maven-release-plugin] prepare release 4.0.0-RC8 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0-RC8 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.0 * [maven-release-plugin] prepare for next development iteration * Set discovery-mode=all for non.contextual.ContainerEventTest This test relies on unannotated classes being discovered and so needs discovery-mode=all. This now needs to be added explicitly because the default was changed to discovery-mode=annotated. * Revert change to InvalidatingSessionDestroysConversationTest Request clouds.jsf rather than clouds.xhtml so that the request matches the pattern for the faces servlet. * [maven-release-plugin] prepare release 4.0.1 * [maven-release-plugin] prepare for next development iteration * Update for removeal of managed beans, faces in jsp Signed-off-by: Scott M Stark <starksm64@gmail.com> * Migrate another jsp test using jsf Signed-off-by: Scott M Stark <starksm64@gmail.com> * Address removal of managed beans/faces in jsp (jakartaee#374) * Update for removeal of managed beans, faces in jsp * Migrate another jsp test using jsf Signed-off-by: Scott M Stark <starksm64@gmail.com> * Update versions to final for all specs Signed-off-by: Scott M Stark <starksm64@gmail.com> * Update missing final versions (jakartaee#375) * Update for removeal of managed beans, faces in jsp * Migrate another jsp test using jsf * Update versions to final for all specs Signed-off-by: Scott M Stark <starksm64@gmail.com> * [maven-release-plugin] prepare release 4.0.2 * [maven-release-plugin] prepare for next development iteration * Move the test-audit dependencies into the plugin using them Signed-off-by: Scott M Stark <starksm64@gmail.com> * [maven-release-plugin] prepare release 4.0.3 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.3 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.3 * [maven-release-plugin] prepare for next development iteration * Fix PersistenceContextInjectionTest to include AutoCloseable as type of EM and EMF (jakartaee#381) * [maven-release-plugin] prepare release 4.0.4 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.5 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.5 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.5 * [maven-release-plugin] prepare for next development iteration * More test-audit workarounds Signed-off-by: Scott M Stark <starksm64@gmail.com> * [maven-release-plugin] prepare release 4.0.5 * [maven-release-plugin] prepare for next development iteration * Disable the tck-audit profile by default so that the org.jboss.test-a… (jakartaee#388) * Disable the tck-audit profile by default so that the org.jboss.test-audit dependencies are not seen by default in the TCK test artifact dependencies. The build needs -DgenerateSource to run with this change * Update the action build set for tck-audit activation Signed-off-by: Scott M Stark <starksm64@gmail.com> * Revert "Disable the tck-audit profile by default so that the org.jboss.test-a… (jakartaee#388)" This reverts commit 22d9a76199356b8da8827ed76f415ef1ff45f107. * Fixed tests to disabling thrown of FailingHttpStatusCode exception * [maven-release-plugin] prepare release 4.0.6 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.7 * [maven-release-plugin] prepare for next development iteration * Add Support for Selenium Tests - Adds Selenium implementation for Faces Ajax test * [maven-release-plugin] prepare release 4.0.8 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.0.8 * [maven-release-plugin] prepare for next development iteration * Selenium Fix for Chromium v111+ * [maven-release-plugin] prepare release 4.0.9 * [maven-release-plugin] prepare for next development iteration * fix version string after incorrect 4.0.9 release * [maven-release-plugin] prepare release 4.0.10 * [maven-release-plugin] prepare for next development iteration * Change ProcessBeanAttributesNotFiredForBuiltinBean to only detect PBA for beans with @default qualifiers * Change main branch to 4.1 version * Fix invalid annotation literals The `Annotation.equals()` contract directly states that for two annotation objects to be equal, they must (among others) both implement the [same] annotation interface. The CDI TCK used to create instances of memberless annotations simply by instantiating an anonymous subclass of `AnnotationLiteral`, which doesn't implement the annotation interface and hence is invalid. It has never been a problem, because `AnnotationLiteral` implements equality in a slightly more permissive manner: instead of checking that both objects implement the same annotation interface, it checks that both objects are annotations that have an equal `annotationType()`. It becomes problematic when an implementation uses a different mechanism to instantiate annotations than extending `AnnotationLiteral`, one that closely follows the `Annotation` contract. This commit replaces all usages of such anonymous subclasses by proper `AnnotationLiteral` subclasses that implement the annotation interface as well. * add the CreationalContexts SPI This commit also removes a few outdated references to Web Beans. * add the Contextuals SPI * Revisit two TCK tests that were disable in non-standard manner * Add tests for InvocationContext.getInterceptorBindings() * [maven-release-plugin] prepare release 4.1.0.Alpha4 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.1.0.Alpha5 * [maven-release-plugin] prepare for next development iteration * Relax the scope requirement for public fields This is a TCK counterpart to the specification change that allows all pseudo-scoped beans to have public fields. It updates the text in `tck-audit-cdi.xml` files, fixes naming in the relevant tests and adds a test that a `@Singleton` bean can have a public field. * Updates for the 4.1.0-M1 release (jakartaee#504) * Updates for the 4.1.0-M1 release * Web tck dependencies require Java SE 17+ --------- Signed-off-by: Scott M Stark <starksm64@gmail.com> * Fix se 17 javadoc error (jakartaee#510) add javadoc to the non-stage ci build Signed-off-by: Scott M Stark <starksm64@gmail.com> * [maven-release-plugin] prepare release 4.1.0-M1 * [maven-release-plugin] prepare for next development iteration * [maven-release-plugin] prepare release 4.1.0-M1 * [maven-release-plugin] prepare for next development iteration * Add test coverage for declaring @priority on producers * synchronize exclusion lists in "impl" and "web" and add a test * remove tck-tests-previous.xml files, they are not maintained * remove the JBoss tagline from license headers * Add missing copyright headers to Java files Copyright owner and date was generated by finding the original author and date from the git history. * remove the reference to @ManagedBean * Update web/src/main/resources/tck-audit-cdi.xml Co-authored-by: Ladislav Thon <ladicek@gmail.com> * Migrate the cdi-tck/web contents to the platform tck with history Signed-off-by: Scott M Stark <starksm64@gmail.com> * Initial migration of the https://github.com/jakartaee/cdi-tck/web tests to the platform tck Signed-off-by: Scott M Stark <starksm64@gmail.com> --------- Signed-off-by: Scott M Stark <starksm64@gmail.com> Signed-off-by: starksm64 <starksm64@gmail.com> Co-authored-by: Eclipse CDI Bot <cdi-bot@eclipse.org> Co-authored-by: Matej Novotny <manovotn@redhat.com> Co-authored-by: Ladislav Thon <lthon@redhat.com> Co-authored-by: Andrew Rouse <anrouse@uk.ibm.com> Co-authored-by: Alfonso Altamirano <alfonso.altamirano@payara.fish> Co-authored-by: Brian Decker <bmdecker@us.ibm.com> Co-authored-by: Emily Jiang <emijiang6@googlemail.com> Co-authored-by: Ladislav Thon <ladicek@gmail.com> * Migration of the cdi-tck/web tests to the platform tck repo main branch Signed-off-by: Scott M Stark <starksm@starkinternational.com> * Fix conflicts Signed-off-by: Scott M Stark <starksm@starkinternational.com> --------- Signed-off-by: Scott Marlow <smarlow@redhat.com> Signed-off-by: James R. Perkins <jperkins@redhat.com> Signed-off-by: Scott M Stark <starksm64@gmail.com> Signed-off-by: David Matějček <david.matejcek@omnifish.ee> Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com> Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee> Signed-off-by: Gurunandan Rao <gurunandan.rao@oracle.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: starksm64 <starksm64@gmail.com> Signed-off-by: Scott M Stark <starksm@starkinternational.com> Co-authored-by: Scott Marlow <smarlow@redhat.com> Co-authored-by: James R. Perkins <jperkins@redhat.com> Co-authored-by: Christian Beikov <christian.beikov@gmail.com> Co-authored-by: David Matějček <david.matejcek@omnifish.ee> Co-authored-by: Alwin Joseph <44426046+alwin-joseph@users.noreply.github.com> Co-authored-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com> Co-authored-by: Arjan Tijms <arjan.tijms@omnifish.ee> Co-authored-by: Arjan Tijms <arjan.tijms@gmail.com> Co-authored-by: Gurunandan Rao <gurunandan.rao@oracle.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Eclipse CDI Bot <cdi-bot@eclipse.org> Co-authored-by: Matej Novotny <manovotn@redhat.com> Co-authored-by: Ladislav Thon <lthon@redhat.com> Co-authored-by: Andrew Rouse <anrouse@uk.ibm.com> Co-authored-by: Alfonso Altamirano <alfonso.altamirano@payara.fish> Co-authored-by: Brian Decker <bmdecker@us.ibm.com> Co-authored-by: Emily Jiang <emijiang6@googlemail.com> Co-authored-by: Ladislav Thon <ladicek@gmail.com>
- Loading branch information