Skip to content

Commit aafd130

Browse files
committed
Remove JUnit 3 and Junit 4
Only keep JUnit 4 for the flowable-osgi module since the test framework we are using there (PaxExam) does not support Junit Jupiter and keep it for Flowable 5 for now
1 parent b995c7a commit aafd130

File tree

63 files changed

+61
-3824
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+61
-3824
lines changed

modules/flowable-app-engine-spring/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,11 @@
5757
<groupId>org.apache.commons</groupId>
5858
<artifactId>commons-lang3</artifactId>
5959
</dependency>
60-
<dependency>
61-
<groupId>junit</groupId>
62-
<artifactId>junit</artifactId>
63-
<scope>provided</scope>
64-
</dependency>
6560
<dependency>
6661
<groupId>org.junit.jupiter</groupId>
6762
<artifactId>junit-jupiter</artifactId>
6863
<scope>test</scope>
6964
</dependency>
70-
<dependency>
71-
<groupId>org.junit.vintage</groupId>
72-
<artifactId>junit-vintage-engine</artifactId>
73-
<scope>test</scope>
74-
</dependency>
7565
<dependency>
7666
<groupId>com.h2database</groupId>
7767
<artifactId>h2</artifactId>

modules/flowable-app-engine-spring/src/main/java/org/flowable/app/spring/impl/test/SpringFlowableAppTestCase.java

Lines changed: 0 additions & 70 deletions
This file was deleted.

modules/flowable-app-engine-spring/src/test/java/org/flowable/app/spring/test/autodeployment/AbstractAutoDeploymentStrategyTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import org.flowable.app.api.repository.AppDeployment;
2424
import org.flowable.app.api.repository.AppDeploymentBuilder;
2525
import org.flowable.app.engine.AppEngine;
26-
import org.junit.Before;
2726
import org.junit.jupiter.api.BeforeEach;
2827
import org.mockito.Mock;
2928
import org.springframework.core.io.ByteArrayResource;

modules/flowable-app-engine-spring/src/test/java/org/flowable/app/spring/test/junit4/SpringAppEngineJunit4Test.java

Lines changed: 0 additions & 38 deletions
This file was deleted.

modules/flowable-app-engine-spring/src/test/resources/org/flowable/app/spring/test/junit4/SpringAppEngineJunit4Test.simpleAppTest.app

Lines changed: 0 additions & 4 deletions
This file was deleted.

modules/flowable-app-engine-spring/src/test/resources/org/flowable/app/spring/test/junit4/springTypicalUsageTest-context.xml

Lines changed: 0 additions & 40 deletions
This file was deleted.

modules/flowable-app-engine/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@
7373
<groupId>org.apache.commons</groupId>
7474
<artifactId>commons-lang3</artifactId>
7575
</dependency>
76-
<dependency>
77-
<groupId>junit</groupId>
78-
<artifactId>junit</artifactId>
79-
<scope>provided</scope>
80-
</dependency>
8176
<dependency>
8277
<groupId>org.junit.jupiter</groupId>
8378
<artifactId>junit-jupiter-api</artifactId>
@@ -137,7 +132,6 @@
137132
org.flowable.app.db.mapping.entity
138133
</flowable.osgi.export.additional>
139134
<flowable.osgi.import.additional>
140-
junit*;resolution:=optional,
141135
org.junit*;resolution:=optional,
142136
com.sun*;resolution:=optional,
143137
jakarta.activation*;resolution:=optional,

0 commit comments

Comments
 (0)