From d26e2258a945b9d4099fb7042542e07a64c1a369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 19 Feb 2024 15:41:57 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 junit5 revision de7104f3613bd0ac2f000ec0a9d4df7f --- .gitattributes | 23 +++ aggregator.pom | 69 ++++++++ junit-bom-5.8.2.pom | 159 ++++++++++++++++++ junit-jupiter-5.8.2.pom | 95 +++++++++++ junit-jupiter-api-5.8.2.pom | 94 +++++++++++ junit-jupiter-engine-5.8.2.pom | 94 +++++++++++ junit-jupiter-migrationsupport-5.8.2.pom | 95 +++++++++++ junit-jupiter-params-5.8.2.pom | 88 ++++++++++ junit-platform-commons-1.8.2.pom | 83 +++++++++ junit-platform-console-1.8.2.pom | 89 ++++++++++ junit-platform-console-standalone-1.8.2.pom | 64 +++++++ junit-platform-engine-1.8.2.pom | 95 +++++++++++ junit-platform-launcher-1.8.2.pom | 89 ++++++++++ junit-platform-reporting-1.8.2.pom | 89 ++++++++++ junit-platform-runner-1.8.2.pom | 107 ++++++++++++ junit-platform-suite-api-1.8.2.pom | 89 ++++++++++ junit-platform-suite-commons-1.8.2.pom | 101 +++++++++++ junit-vintage-engine-5.8.2.pom | 95 +++++++++++ junit5-5.8.2.tar.gz | 3 + junit5.changes | 57 +++++++ junit5.spec | 177 ++++++++++++++++++++ unreported-exception.patch | 11 ++ 22 files changed, 1866 insertions(+) create mode 100644 .gitattributes create mode 100644 aggregator.pom create mode 100644 junit-bom-5.8.2.pom create mode 100644 junit-jupiter-5.8.2.pom create mode 100644 junit-jupiter-api-5.8.2.pom create mode 100644 junit-jupiter-engine-5.8.2.pom create mode 100644 junit-jupiter-migrationsupport-5.8.2.pom create mode 100644 junit-jupiter-params-5.8.2.pom create mode 100644 junit-platform-commons-1.8.2.pom create mode 100644 junit-platform-console-1.8.2.pom create mode 100644 junit-platform-console-standalone-1.8.2.pom create mode 100644 junit-platform-engine-1.8.2.pom create mode 100644 junit-platform-launcher-1.8.2.pom create mode 100644 junit-platform-reporting-1.8.2.pom create mode 100644 junit-platform-runner-1.8.2.pom create mode 100644 junit-platform-suite-api-1.8.2.pom create mode 100644 junit-platform-suite-commons-1.8.2.pom create mode 100644 junit-vintage-engine-5.8.2.pom create mode 100644 junit5-5.8.2.tar.gz create mode 100644 junit5.changes create mode 100644 junit5.spec create mode 100644 unreported-exception.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/aggregator.pom b/aggregator.pom new file mode 100644 index 0000000..b2b64bd --- /dev/null +++ b/aggregator.pom @@ -0,0 +1,69 @@ + + 4.0.0 + org.fedoraproject.xmvn.junit5 + aggregator + 1.0.0 + pom + + junit-bom + junit-platform-commons + junit-platform-console + junit-platform-console-standalone + junit-platform-engine + junit-platform-launcher + junit-platform-reporting + junit-platform-runner + junit-platform-suite-api + junit-platform-suite-commons + junit-jupiter + junit-jupiter-api + junit-jupiter-engine + junit-jupiter-migrationsupport + junit-jupiter-params + junit-vintage-engine + + + + + + maven-compiler-plugin + + 1.8 + 1.8 + + + + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + + + + org.apache.felix + maven-bundle-plugin + 2.1.0 + + + bundle-manifest + process-classes + + manifest + + + + ${osgi.bsn} + ${osgi.bsn} + <_nouses>true + + + + + + + + diff --git a/junit-bom-5.8.2.pom b/junit-bom-5.8.2.pom new file mode 100644 index 0000000..c92aae6 --- /dev/null +++ b/junit-bom-5.8.2.pom @@ -0,0 +1,159 @@ + + + + + + + + 4.0.0 + org.junit + junit-bom + 5.8.2 + pom + JUnit 5 (Bill of Materials) + This Bill of Materials POM can be used to ease dependency management when referencing multiple JUnit artifacts using Gradle or Maven. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit.jupiter + junit-jupiter + 5.8.2 + + + org.junit.jupiter + junit-jupiter-api + 5.8.2 + + + org.junit.jupiter + junit-jupiter-engine + 5.8.2 + + + org.junit.jupiter + junit-jupiter-migrationsupport + 5.8.2 + + + org.junit.jupiter + junit-jupiter-params + 5.8.2 + + + org.junit.platform + junit-platform-commons + 1.8.2 + + + org.junit.platform + junit-platform-console + 1.8.2 + + + org.junit.platform + junit-platform-engine + 1.8.2 + + + org.junit.platform + junit-platform-jfr + 1.8.2 + + + org.junit.platform + junit-platform-launcher + 1.8.2 + + + org.junit.platform + junit-platform-reporting + 1.8.2 + + + org.junit.platform + junit-platform-runner + 1.8.2 + + + org.junit.platform + junit-platform-suite + 1.8.2 + + + org.junit.platform + junit-platform-suite-api + 1.8.2 + + + org.junit.platform + junit-platform-suite-commons + 1.8.2 + + + org.junit.platform + junit-platform-suite-engine + 1.8.2 + + + org.junit.platform + junit-platform-testkit + 1.8.2 + + + org.junit.vintage + junit-vintage-engine + 5.8.2 + + + + diff --git a/junit-jupiter-5.8.2.pom b/junit-jupiter-5.8.2.pom new file mode 100644 index 0000000..2c035a8 --- /dev/null +++ b/junit-jupiter-5.8.2.pom @@ -0,0 +1,95 @@ + + + + + + + + 4.0.0 + org.junit.jupiter + junit-jupiter + 5.8.2 + JUnit Jupiter (Aggregator) + Module "junit-jupiter" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.jupiter + junit-jupiter-api + 5.8.2 + compile + + + org.junit.jupiter + junit-jupiter-params + 5.8.2 + compile + + + org.junit.jupiter + junit-jupiter-engine + 5.8.2 + runtime + + + diff --git a/junit-jupiter-api-5.8.2.pom b/junit-jupiter-api-5.8.2.pom new file mode 100644 index 0000000..a48a1cb --- /dev/null +++ b/junit-jupiter-api-5.8.2.pom @@ -0,0 +1,94 @@ + + + + + + + + 4.0.0 + org.junit.jupiter + junit-jupiter-api + 5.8.2 + JUnit Jupiter API + Module "junit-jupiter-api" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.opentest4j + opentest4j + 1.2.0 + compile + + + org.junit.platform + junit-platform-commons + 1.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-jupiter-engine-5.8.2.pom b/junit-jupiter-engine-5.8.2.pom new file mode 100644 index 0000000..e839b5e --- /dev/null +++ b/junit-jupiter-engine-5.8.2.pom @@ -0,0 +1,94 @@ + + + + + + + + 4.0.0 + org.junit.jupiter + junit-jupiter-engine + 5.8.2 + JUnit Jupiter Engine + Module "junit-jupiter-engine" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.platform + junit-platform-engine + 1.8.2 + compile + + + org.junit.jupiter + junit-jupiter-api + 5.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-jupiter-migrationsupport-5.8.2.pom b/junit-jupiter-migrationsupport-5.8.2.pom new file mode 100644 index 0000000..25d0ff6 --- /dev/null +++ b/junit-jupiter-migrationsupport-5.8.2.pom @@ -0,0 +1,95 @@ + + + + + + + + 4.0.0 + org.junit.jupiter + junit-jupiter-migrationsupport + 5.8.2 + JUnit Jupiter Migration Support + Module "junit-jupiter-migrationsupport" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + junit + junit + 4.13.2 + compile + + + org.junit.jupiter + junit-jupiter-api + 5.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-jupiter-params-5.8.2.pom b/junit-jupiter-params-5.8.2.pom new file mode 100644 index 0000000..480173b --- /dev/null +++ b/junit-jupiter-params-5.8.2.pom @@ -0,0 +1,88 @@ + + + + + + + + 4.0.0 + org.junit.jupiter + junit-jupiter-params + 5.8.2 + JUnit Jupiter Params + Module "junit-jupiter-params" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.jupiter + junit-jupiter-api + 5.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-platform-commons-1.8.2.pom b/junit-platform-commons-1.8.2.pom new file mode 100644 index 0000000..5a7fcc8 --- /dev/null +++ b/junit-platform-commons-1.8.2.pom @@ -0,0 +1,83 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-commons + 1.8.2 + JUnit Platform Commons + Module "junit-platform-commons" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-platform-console-1.8.2.pom b/junit-platform-console-1.8.2.pom new file mode 100644 index 0000000..c9d90fd --- /dev/null +++ b/junit-platform-console-1.8.2.pom @@ -0,0 +1,89 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-console + 1.8.2 + JUnit Platform Console + Module "junit-platform-console" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.platform + junit-platform-reporting + 1.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-platform-console-standalone-1.8.2.pom b/junit-platform-console-standalone-1.8.2.pom new file mode 100644 index 0000000..a6bd938 --- /dev/null +++ b/junit-platform-console-standalone-1.8.2.pom @@ -0,0 +1,64 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-console-standalone + 1.8.2 + JUnit Platform Console Standalone + Module "junit-platform-console-standalone" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + diff --git a/junit-platform-engine-1.8.2.pom b/junit-platform-engine-1.8.2.pom new file mode 100644 index 0000000..f70b779 --- /dev/null +++ b/junit-platform-engine-1.8.2.pom @@ -0,0 +1,95 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-engine + 1.8.2 + JUnit Platform Engine API + Module "junit-platform-engine" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.opentest4j + opentest4j + 1.2.0 + compile + + + org.junit.platform + junit-platform-commons + 1.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-platform-launcher-1.8.2.pom b/junit-platform-launcher-1.8.2.pom new file mode 100644 index 0000000..25458ee --- /dev/null +++ b/junit-platform-launcher-1.8.2.pom @@ -0,0 +1,89 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-launcher + 1.8.2 + JUnit Platform Launcher + Module "junit-platform-launcher" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.platform + junit-platform-engine + 1.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-platform-reporting-1.8.2.pom b/junit-platform-reporting-1.8.2.pom new file mode 100644 index 0000000..a8b3135 --- /dev/null +++ b/junit-platform-reporting-1.8.2.pom @@ -0,0 +1,89 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-reporting + 1.8.2 + JUnit Platform Reporting + Module "junit-platform-reporting" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.platform + junit-platform-launcher + 1.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-platform-runner-1.8.2.pom b/junit-platform-runner-1.8.2.pom new file mode 100644 index 0000000..20da9a8 --- /dev/null +++ b/junit-platform-runner-1.8.2.pom @@ -0,0 +1,107 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-runner + 1.8.2 + JUnit Platform Runner + Module "junit-platform-runner" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + junit + junit + 4.13.2 + compile + + + org.junit.platform + junit-platform-launcher + 1.8.2 + compile + + + org.junit.platform + junit-platform-suite-api + 1.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + org.junit.platform + junit-platform-suite-commons + 1.8.2 + runtime + + + diff --git a/junit-platform-suite-api-1.8.2.pom b/junit-platform-suite-api-1.8.2.pom new file mode 100644 index 0000000..eb23c37 --- /dev/null +++ b/junit-platform-suite-api-1.8.2.pom @@ -0,0 +1,89 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-suite-api + 1.8.2 + JUnit Platform Suite API + Module "junit-platform-suite-api" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.platform + junit-platform-commons + 1.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit-platform-suite-commons-1.8.2.pom b/junit-platform-suite-commons-1.8.2.pom new file mode 100644 index 0000000..a1bdeb4 --- /dev/null +++ b/junit-platform-suite-commons-1.8.2.pom @@ -0,0 +1,101 @@ + + + + + + + + 4.0.0 + org.junit.platform + junit-platform-suite-commons + 1.8.2 + JUnit Platform Suite Commons + Module "junit-platform-suite-commons" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.platform + junit-platform-launcher + 1.8.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + org.junit.platform + junit-platform-engine + 1.8.2 + runtime + + + org.junit.platform + junit-platform-suite-api + 1.8.2 + runtime + + + diff --git a/junit-vintage-engine-5.8.2.pom b/junit-vintage-engine-5.8.2.pom new file mode 100644 index 0000000..376a374 --- /dev/null +++ b/junit-vintage-engine-5.8.2.pom @@ -0,0 +1,95 @@ + + + + + + + + 4.0.0 + org.junit.vintage + junit-vintage-engine + 5.8.2 + JUnit Vintage Engine + Module "junit-vintage-engine" of JUnit 5. + https://junit.org/junit5/ + + + Eclipse Public License v2.0 + https://www.eclipse.org/legal/epl-v20.html + + + + + bechte + Stefan Bechtold + stefan.bechtold@me.com + + + jlink + Johannes Link + business@johanneslink.net + + + marcphilipp + Marc Philipp + mail@marcphilipp.de + + + mmerdes + Matthias Merdes + matthias.merdes@heidelpay.com + + + sbrannen + Sam Brannen + sam@sambrannen.com + + + sormuras + Christian Stein + sormuras@gmail.com + + + juliette-derancourt + Juliette de Rancourt + derancourt.juliette@gmail.com + + + + scm:git:git://github.com/junit-team/junit5.git + scm:git:git://github.com/junit-team/junit5.git + https://github.com/junit-team/junit5 + + + + + org.junit + junit-bom + 5.8.2 + pom + import + + + + + + org.junit.platform + junit-platform-engine + 1.8.2 + compile + + + junit + junit + 4.13.2 + compile + + + org.apiguardian + apiguardian-api + 1.1.2 + compile + + + diff --git a/junit5-5.8.2.tar.gz b/junit5-5.8.2.tar.gz new file mode 100644 index 0000000..8406622 --- /dev/null +++ b/junit5-5.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc37632dc36c4eebb9ba8dff07a8a6ced35472be48bf0d9874ecdf7b4bea7fb4 +size 2808680 diff --git a/junit5.changes b/junit5.changes new file mode 100644 index 0000000..a45e6e7 --- /dev/null +++ b/junit5.changes @@ -0,0 +1,57 @@ +------------------------------------------------------------------- +Thu Oct 26 12:21:48 UTC 2023 - Fridrich Strba + +- Added patch: + * unreported-exception.patch fix unreported exception error that + is fatal with JDK 21 + +------------------------------------------------------------------- +Mon Sep 11 10:40:34 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + +------------------------------------------------------------------- +Mon May 9 12:28:45 UTC 2022 - Fridrich Strba + +- Update to upstream version 5.8.2 + * Fixes: + + Text blocks in @CsvSource are treated like CSV files + + CSV headers in display names for @CsvSource and + @CsvFileSource + + Custom quote character support in @CsvSource and + @CsvFileSource + + Support for text blocks in @CsvSource + + Java 18 support in the JRE enum + + Access to the ExecutionMode in the ExtensionContext + + Declarative test suites via @Suite classes + + LauncherSession and accompanying listener + + New UniqueIdTrackingListener + + More fine-grained Java Flight Recorder events + + Java Flight Recorder support on Java 8 Update 262 or + higher + + Test class ordering + + @TempDir can be used to create multiple temporary + directories + + Extension registration via @ExtendWith on fields and + parameters + + Auto-close support for arguments in @ParameterizedTest + methods +- Fix the classpath of console application so that it actually + works + +------------------------------------------------------------------- +Thu Mar 3 14:03:48 UTC 2022 - Fridrich Strba + +- Package also the bill-of-materials pom + +------------------------------------------------------------------- +Fri Nov 8 08:55:55 UTC 2019 - Fridrich Strba + +- Upgrade to junit5 5.5.2 +- Distribute also the manifest-only junit-jupiter artifact +- Build the console by default, since picocli package exists now + +------------------------------------------------------------------- +Thu Apr 11 15:14:17 UTC 2019 - Fridrich Strba + +- Initial packaging of junit5 5.4.0 diff --git a/junit5.spec b/junit5.spec new file mode 100644 index 0000000..68d913c --- /dev/null +++ b/junit5.spec @@ -0,0 +1,177 @@ +# +# spec file for package junit5 +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global platform_version 1.8.2 +%global jupiter_version %{version} +%global vintage_version %{version} +%bcond_without console +Name: junit5 +Version: 5.8.2 +Release: 0 +Summary: Java regression testing framework +License: EPL-2.0 +Group: Development/Libraries/Java +URL: https://junit.org/junit5/ +Source0: https://github.com/junit-team/junit5/archive/r%{version}/junit5-%{version}.tar.gz +# Aggregator POM (used for packaging only) +Source100: aggregator.pom +# Platform POMs +Source200: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-commons/%{platform_version}/junit-platform-commons-%{platform_version}.pom +Source201: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console/%{platform_version}/junit-platform-console-%{platform_version}.pom +Source202: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/%{platform_version}/junit-platform-console-standalone-%{platform_version}.pom +Source203: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-engine/%{platform_version}/junit-platform-engine-%{platform_version}.pom +Source205: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-launcher/%{platform_version}/junit-platform-launcher-%{platform_version}.pom +Source206: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-runner/%{platform_version}/junit-platform-runner-%{platform_version}.pom +Source207: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-suite-api/%{platform_version}/junit-platform-suite-api-%{platform_version}.pom +Source208: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-reporting/%{platform_version}/junit-platform-reporting-%{platform_version}.pom +Source209: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-suite-commons/%{platform_version}/junit-platform-suite-commons-%{platform_version}.pom +# Jupiter POMs +Source300: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter/%{jupiter_version}/junit-jupiter-%{jupiter_version}.pom +Source301: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-api/%{jupiter_version}/junit-jupiter-api-%{jupiter_version}.pom +Source302: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-engine/%{jupiter_version}/junit-jupiter-engine-%{jupiter_version}.pom +Source303: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-migrationsupport/%{jupiter_version}/junit-jupiter-migrationsupport-%{jupiter_version}.pom +Source304: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-params/%{jupiter_version}/junit-jupiter-params-%{jupiter_version}.pom +# Vintage POM +Source400: https://repo1.maven.org/maven2/org/junit/vintage/junit-vintage-engine/%{vintage_version}/junit-vintage-engine-%{vintage_version}.pom +# BOM POM +Source500: https://repo1.maven.org/maven2/org/junit/junit-bom/%{version}/junit-bom-%{version}.pom +Patch0: unreported-exception.patch +BuildRequires: asciidoc +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(com.univocity:univocity-parsers) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apiguardian:apiguardian-api) +BuildRequires: mvn(org.opentest4j:opentest4j) +BuildArch: noarch +%if %{with console} +BuildRequires: mvn(info.picocli:picocli) +Requires: javapackages-tools +%endif + +%description +JUnit is a popular regression testing framework for Java platform. + +%package bom +Summary: JUnit 5 (Bill of Materials) +Group: Development/Libraries/Java + +%description bom +This Bill of Materials POM can be used to ease dependency management +when referencing multiple JUnit artifacts using Gradle or Maven. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +Junit5 API documentation. + +%package guide +Summary: Documentation for %{name} +Group: Documentation/HTML +Requires: %{name}-javadoc = %{version}-%{release} + +%description guide +JUnit 5 User Guide. + +%prep +%setup -q -n %{name}-r%{version} +%patch0 -p1 +find -name \*.jar -delete + +cp -p %{SOURCE100} pom.xml +cp -p %{SOURCE200} junit-platform-commons/pom.xml +cp -p %{SOURCE201} junit-platform-console/pom.xml +cp -p %{SOURCE202} junit-platform-console-standalone/pom.xml +cp -p %{SOURCE203} junit-platform-engine/pom.xml +cp -p %{SOURCE205} junit-platform-launcher/pom.xml +cp -p %{SOURCE206} junit-platform-runner/pom.xml +cp -p %{SOURCE207} junit-platform-suite-api/pom.xml +cp -p %{SOURCE208} junit-platform-reporting/pom.xml +cp -p %{SOURCE209} junit-platform-suite-commons/pom.xml +cp -p %{SOURCE300} junit-jupiter/pom.xml +cp -p %{SOURCE301} junit-jupiter-api/pom.xml +cp -p %{SOURCE302} junit-jupiter-engine/pom.xml +cp -p %{SOURCE303} junit-jupiter-migrationsupport/pom.xml +cp -p %{SOURCE304} junit-jupiter-params/pom.xml +cp -p %{SOURCE400} junit-vintage-engine/pom.xml +cp -p %{SOURCE500} junit-bom/pom.xml + +for pom in $(find -mindepth 2 -name pom.xml | grep -v tests/); do + # Set parent to aggregator + %pom_xpath_inject pom:project "org.fedoraproject.xmvn.junit5aggregator1.0.0" $pom + # OSGi BSN + bsn=$(sed 's|/pom.xml$||;s|.*/|org.|;s|-|.|g' <<<"$pom") + %pom_xpath_inject pom:project "${bsn}" $pom + # Incorrect scope - API guardian is just annotation, needed only during compilation + %pom_xpath_set -f "pom:dependency[pom:artifactId='apiguardian-api']/pom:scope" provided $pom + sed -i s/runtime/compile/ $pom +done + +%pom_remove_parent junit-bom + +# Add deps which are shaded by upstream and therefore not present in POMs. +%pom_add_dep info.picocli:picocli:4.0.4 junit-platform-console +%pom_add_dep com.univocity:univocity-parsers:2.9.1 junit-jupiter-params + +%if %{without console} +# Disable the console modules +%pom_disable_module junit-platform-console +%pom_disable_module junit-platform-console-standalone +%endif + +%{mvn_package} :aggregator __noinstall +%{mvn_package} :junit-bom bom + +%build +%{mvn_build} -f -- \ + -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ + -Dencoding=utf-8 -Dsource=8 + +# Build docs. Ignore exit asciidoc -- it fails for some reason, but +# still produces readable docs. +asciidoc documentation/src/docs/asciidoc/index.adoc || : +ln -s ../../javadoc/junit5 documentation/src/docs/api + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} +%fdupes -s documentation/src/docs/ + +%if %{with console} +%jpackage_script org/junit/platform/console/ConsoleLauncher "" "" junit5:junit:opentest4j:picocli %{name} true +%endif + +%files -f .mfiles +%if %{with console} +%{_bindir}/%{name} +%endif +%license LICENSE.md LICENSE-notice.md + +%files bom -f .mfiles-bom +%license LICENSE.md LICENSE-notice.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE.md LICENSE-notice.md + +%files guide +%doc documentation/src/docs/* + +%changelog diff --git a/unreported-exception.patch b/unreported-exception.patch new file mode 100644 index 0000000..ba131b3 --- /dev/null +++ b/unreported-exception.patch @@ -0,0 +1,11 @@ +--- junit5-r5.8.2/junit-platform-launcher/src/main/java/org/junit/platform/launcher/TestIdentifier.java 2023-10-26 14:17:20.653152124 +0200 ++++ junit5-r5.8.2/junit-platform-launcher/src/main/java/org/junit/platform/launcher/TestIdentifier.java 2023-10-26 14:18:08.740160341 +0200 +@@ -316,7 +316,7 @@ + } + + @SuppressWarnings("unchecked") +- private SerializedForm(ObjectInputStream.GetField fields) throws IOException { ++ private SerializedForm(ObjectInputStream.GetField fields) throws ClassNotFoundException, IOException { + this.uniqueId = (String) fields.get("uniqueId", null); + this.parentId = (String) fields.get("parentId", null); + this.displayName = (String) fields.get("displayName", null);