Skip to content

Commit

Permalink
[incubator-kie-issues-1103] Move tests and create infrastructure to m…
Browse files Browse the repository at this point in the history
…ove old legacy v7 tests to kogito. (apache#3478)

* [incubator-kie-issues-1103] Move tests and create infrastructure to move old legacy v7 tests to kogito.
  • Loading branch information
elguardian authored Apr 27, 2024
1 parent 1601ca4 commit a52ea3a
Show file tree
Hide file tree
Showing 488 changed files with 2,390 additions and 1,567 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ public static boolean isNotEmpty(String value) {
return !isEmpty(value);
}

public static String sanitizeString(String string) {
return string.replaceAll("\"", "\\\\\"");
}

public static String sanitizeClassName(String className) {
return sanitizeJavaName(className, true);
}
Expand Down
67 changes: 2 additions & 65 deletions jbpm/jbpm-bpmn2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<scope>provided</scope>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
Expand All @@ -88,62 +87,13 @@
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<scope>provided</scope>
<version>4.0.4</version>
</dependency>
<!--~~(No version provided)~~>--><dependency>
<!--~~(No version provided)~~>-->
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-activation</artifactId>
<scope>provided</scope>
</dependency>

<!-- test -->
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>jbpm-flow-builder</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-wiring-dynamic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<scope>test</scope>
</dependency>
</dependencies>


Expand All @@ -168,19 +118,6 @@
</testResource>
</testResources>

<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<!-- enforce strict variable checking for the sake of tests -->
<org.jbpm.variable.strict>true</org.jbpm.variable.strict>
</systemPropertyVariables>
<forkCount>2</forkCount>
<parallel>all</parallel>
</configuration>
</plugin>
</plugins>
</build>

</project>
Loading

0 comments on commit a52ea3a

Please sign in to comment.