Skip to content

Commit 10afb16

Browse files
committed
Discontinue junit-platform-suite-commons
The sole reason for this module was sharing code between junit-platform-suite-engine and junit-platform-runner. Since the latter has been discontinued, this commit merges the two classes from junit-platform-suite-commons into junit-platform-suite-engine.
1 parent 4c9096c commit 10afb16

File tree

23 files changed

+47
-210
lines changed

23 files changed

+47
-210
lines changed

build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ val platformProjects by extra(listOf(
2727
projects.junitPlatformReporting,
2828
projects.junitPlatformSuite,
2929
projects.junitPlatformSuiteApi,
30-
projects.junitPlatformSuiteCommons,
3130
projects.junitPlatformSuiteEngine,
3231
projects.junitPlatformTestkit
3332
).map { dependencyProject(it) })

documentation/src/docs/asciidoc/release-notes/release-notes-6.0.0-M2.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ repository on GitHub.
2121
[[release-notes-6.0.0-M2-junit-platform-deprecations-and-breaking-changes]]
2222
==== Deprecations and Breaking Changes
2323

24-
* ❓
24+
* Discontinue `junit-platform-suite-commons` which is now integrated into
25+
`junit-platform-suite`
2526

2627
[[release-notes-6.0.0-M2-junit-platform-new-features-and-improvements]]
2728
==== New Features and Improvements

documentation/src/docs/asciidoc/user-guide/advanced-topics/junit-platform-suite-engine.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ on `junit-platform-suite-api` and `junit-platform-suite-engine`.
2626
[[junit-platform-suite-engine-setup-transitive-dependencies]]
2727
===== Transitive Dependencies
2828

29-
* `junit-platform-suite-commons` in _test_ scope
3029
* `junit-platform-launcher` in _test_ scope
3130
* `junit-platform-engine` in _test_ scope
3231
* `junit-platform-commons` in _test_ scope

documentation/src/docs/asciidoc/user-guide/appendix.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ Please refer to the corresponding sections for <<running-tests-build-maven-bom,
7878
`junit-platform-suite-api`::
7979
Annotations for configuring test suites on the JUnit Platform. Supported by the
8080
<<junit-platform-suite-engine, JUnit Platform Suite Engine>>.
81-
`junit-platform-suite-commons`::
82-
Common support utilities for executing test suites on the JUnit Platform.
8381
`junit-platform-suite-engine`::
8482
Engine that executes test suites on the JUnit Platform; only required at runtime. See
8583
<<junit-platform-suite-engine,JUnit Platform Suite Engine>> for details.

documentation/src/plantuml/component-diagram.puml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ package org.junit.platform {
2424
[junit-platform-reporting] as reporting
2525
[junit-platform-suite] as suite
2626
[junit-platform-suite-api] as suite_api
27-
[junit-platform-suite-commons] as suite_commons
2827
[junit-platform-suite-engine] as suite_engine
2928
[junit-platform-testkit] as testkit
3029
}
@@ -82,10 +81,8 @@ reporting ......> otr_tooling_spi
8281
suite ..> suite_api
8382
suite ..> suite_engine
8483

85-
suite_engine ..> suite_commons
86-
87-
suite_commons ..> launcher
88-
suite_commons ..> suite_api
84+
suite_engine ..> launcher
85+
suite_engine ..> suite_api
8986

9087
testkit ....> opentest4j
9188
testkit ..> launcher

junit-platform-commons/src/main/java/module-info.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
org.junit.platform.launcher,
5454
org.junit.platform.reporting,
5555
org.junit.platform.suite.api,
56-
org.junit.platform.suite.commons,
5756
org.junit.platform.suite.engine,
5857
org.junit.platform.testkit,
5958
org.junit.vintage.engine;

junit-platform-launcher/src/main/java/org/junit/platform/launcher/core/ClasspathAlignmentChecker.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class ClasspathAlignmentChecker {
4141
"org.junit.platform.launcher", //
4242
"org.junit.platform.reporting", //
4343
"org.junit.platform.suite.api", //
44-
"org.junit.platform.suite.commons", //
4544
"org.junit.platform.suite.engine", //
4645
"org.junit.platform.testkit", //
4746
"org.junit.vintage.engine" //

junit-platform-suite-commons/junit-platform-suite-commons.gradle.kts

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

junit-platform-suite-commons/src/main/java/module-info.java

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

junit-platform-suite-commons/src/main/java/org/junit/platform/suite/commons/package-info.java

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

0 commit comments

Comments
 (0)