Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial migration of the cdi-tck/web tests to the platform tck repo (#…
…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> #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 (#279) * First pass aadding cdi-full group to @decorators tests Addresses #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 (#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, #290 (#291) * More decorator related tests need the cdi-full test group Addresses #290, #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. (#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 (#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 (#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 (#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… (#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… (#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 (#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 (#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>
- Loading branch information