Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
diff --git a/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java
index 15f2f94a2..dc678c646 100644
--- a/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java
+++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java
@@ -20,8 +20,12 @@ import java.lang.System.Logger;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
-
+import org.jboss.arquillian.container.test.api.Deployment;
This file has been truncated, but you can view the full file.
diff --git a/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java
index 15f2f94a2..19f99269c 100644
--- a/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java
+++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java
@@ -34,6 +34,59 @@ import jakarta.persistence.TransactionRequiredException;
public class Client extends PMClientBase {
+ @Deployment(testable = false)
+ public static Archive<?> deployment() {
Applying template to method code: @Deployment(testable = false)
public static Archive<?> deployment() {
final EnterpriseArchive ear = ShrinkWrap.create(EnterpriseArchive.class, "jpa_ee_propagation_cm_jta.ear");
// TODO: filter/eliminate the library jar classes that shouldn't be included
// Add ear/lib jars
JavaArchive jpa_ee_propagation_cm_jta_jar = ShrinkWrap.create(JavaArchive.class, "jpa_ee_propagation_cm_jta_jar");
jpa_ee_propagation_cm_jta_jar.addClass(ee.jakarta.tck.persistence.ee.common.A.class);
jpa_ee_propagation_cm_jta_jar.addClass(ee.jakarta.tck.persistence.ee.common.Account.class);
Evaluating `classDecl.getBody()` from line https://github.com/scottmarlow/jakartaee-tck-tools/blob/rewritejpa/tools/tck-rewrite/src/main/java/tck/jakarta/platform/rewrite/AddArquillianDeployMethod.java#L107 has the following contents:
result = {org.openrewrite.java.tree.J$Block@11061} "J.Block(padding=org.openrewrite.java.tree.J$Block$Padding@5da12a94, id=933f4de7-afb4-40a7-bb11-3e2d19088d61, prefix=Space(comments=<0 comments>, whitespace='·₁'), markers=Markers(id=136389b8-b2d3-41f6-8229-51fc2cfa1a47, markers=[]), statik=JRightPadded(element=false, after=Space(comments=<0 comments>, whitespace='')), statements=[private static final Logger logger = (Logger) System.getLogger(Client4.class.getName()), MethodDeclaration{ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder.Client4{name=createDeployment,return=org.jboss.shrinkwrap.api.spec.JavaArchive,parameters=[]}}, MethodDeclaration{ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder.Client4{name=greaterThanExpNumTest,return=void,parameters=[]}},
@scottmarlow
scottmarlow / gist:5aa1837294606fa980f77f2feb3c5b0d
Created April 1, 2024 14:16
wildfly/testsuite/integration/basic/target/test-classes/org/jboss/as/test/integration/ee/injection/resource/superclass/SimpleManagedBean.class
Classfile /home/smarlow/work/wildfly/testsuite/integration/basic/target/test-classes/org/jboss/as/test/integration/ee/injection/resource/superclass/SimpleManagedBean.class
Last modified Mar 22, 2024; size 510 bytes
SHA-256 checksum e188306f687a4a0d569351ec9b6a6ad62aa46e75b42b8e348665293b1496af59
Compiled from "SimpleManagedBean.java"
public class org.jboss.as.test.integration.ee.injection.resource.superclass.SimpleManagedBean
minor version: 0
major version: 55
flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: #7 // org/jboss/as/test/integration/ee/injection/resource/superclass/SimpleManagedBean
super_class: #2 // java/lang/Object
#Signature file v4.1
#Version 6.0
CLSS public jakarta.el.ArrayELResolver
cons public init()
cons public init(boolean)
meth public boolean isReadOnly(jakarta.el.ELContext,java.lang.Object,java.lang.Object)
meth public java.lang.Class<?> getCommonPropertyType(jakarta.el.ELContext,java.lang.Object)
meth public java.lang.Class<?> getType(jakarta.el.ELContext,java.lang.Object,java.lang.Object)
meth public java.lang.Object getValue(jakarta.el.ELContext,java.lang.Object,java.lang.Object)
mvn clean install -Precord-signature
[INFO] Cache configuration is not available at configured path /home/smarlow/work/jakarta/platformtck/.mvn/maven-build-cache-config.xml, cache is enabled with defaults
[INFO] Using XX hash algorithm for cache
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< jakartatck:jakarta-expression-language-tck >-------------
[INFO] Building el-tck 6.0.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public/org/netbeans/tools/sigtest-maven-plugin/1.4/sigtest-maven-plugin-1.4.pom
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.wildfly.ee:wildfly-tck-runner:jar:1.0.Final-SNAPSHOT
[WARNING] 'dependencies.dependency.scope' for org.junit:junit-bom:pom must be one of [provided, compile, runtime, test, system] but is 'import'. @ line 110, column 20
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[javatest.batch] 07:42:00,133 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "annotations_ejb_vehicle.ear" (runtime-name: "annotations_ejb_vehicle.ear")
[javatest.batch] 07:42:00,191 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0207: Starting subdeployment (runtime-name: "annotations_ejb_vehicle_client.jar")
[javatest.batch] 07:42:00,191 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0207: Starting subdeployment (runtime-name: "annotations_ejb_vehicle_ejb.jar")
[javatest.batch] 07:42:00,310 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=tsharness, specificationVersion=1.4, title=tsharness] referenced from ResourceRoot [root="/content/annotations_ejb_vehicle.ear"]
[javatest.batch] 07:42:00,310 WARN [org.jboss.as.server.
TCK test regression in Connector tests caused by https://github.com/wildfly/wildfly-core/pull/5735 change
[javatest.batch] 06:36:14,012 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "annotations_ejb_vehicle.ear" (runtime-name: "annotations_ejb_vehicle.ear")
[javatest.batch] 06:36:14,060 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0207: Starting subdeployment (runtime-name: "annotations_ejb_vehicle_client.jar")
[javatest.batch] 06:36:14,060 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0207: Starting subdeployment (runtime-name: "annotations_ejb_vehicle_ejb.jar")
[javatest.batch] 06:36:14,205 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=tsharness, specificationVersion=1.4, title=tsharness] referenced from ResourceRoot [root