Skip to content

Commit 3dbba00

Browse files
committed
Fix ModularUserGuideTests
1 parent 3781a67 commit 3dbba00

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

platform-tooling-support-tests/platform-tooling-support-tests.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ dependencies {
6363
thirdPartyJars(libs.apiguardian)
6464
thirdPartyJars(libs.hamcrest)
6565
thirdPartyJars(libs.opentest4j)
66+
thirdPartyJars(libs.jimfs)
6667

6768
antJars(platform(projects.junitBom))
6869
antJars(libs.bundles.ant)

platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/ModularUserGuideTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ private static List<String> compile(Path temp, Writer out, Writer err) throws Ex
8484
ThirdPartyJars.copy(lib, "org.apiguardian", "apiguardian-api");
8585
ThirdPartyJars.copy(lib, "org.hamcrest", "hamcrest");
8686
ThirdPartyJars.copy(lib, "org.opentest4j", "opentest4j");
87+
ThirdPartyJars.copy(lib, "com.google.jimfs", "jimfs");
88+
ThirdPartyJars.copy(lib, "com.google.guava", "guava");
8789
Helper.loadAllJUnitModules(lib);
8890
args.add("--module-path");
8991
args.add(lib.toString());
@@ -186,7 +188,9 @@ void runTestsFromUserGuideWithinModularBoundaries(@TempDir Path temp) throws Exc
186188
"lib/apiguardian-api-.+\\.jar", //
187189
"lib/assertj-core-.+\\.jar", //
188190
"lib/byte-buddy-.+", //
191+
"lib/guava-.+\\.jar", //
189192
"lib/hamcrest-.+\\.jar", //
193+
"lib/jimfs-.+\\.jar", //
190194
"lib/junit-.+\\.jar", //
191195
">> ALL JUNIT 5 JARS >>", //
192196
"lib/opentest4j-.+\\.jar", //

0 commit comments

Comments
 (0)