Skip to content

Commit

Permalink
Merge branch 'dev' into bootstrap-mc
Browse files Browse the repository at this point in the history
  • Loading branch information
maritabreuer committed Dec 13, 2024
2 parents 32e37d6 + 031fdd7 commit 8e65e99
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void testGenerateGrammar(String version) throws IOException {
.withPluginClasspath()
.withGradleVersion(version)
.withProjectDir(testProjectDir)
.withArguments("generateMCGrammars", "--build-cache")
.withArguments("generateMCGrammars", "--build-cache", "--info")
.build();

// file MyTestGrammar is worked on
Expand All @@ -141,7 +141,7 @@ void testGenerateGrammar(String version) throws IOException {
.withPluginClasspath()
.withGradleVersion(version)
.withProjectDir(testProjectDir)
.withArguments("generateMCGrammars", "--build-cache")
.withArguments("generateMCGrammars", "--build-cache", "--info")
.build();
// and then check, that the build cache was used
Assert.assertEquals("generateMCGrammars was not cached",
Expand All @@ -156,7 +156,7 @@ void testGenerateGrammar(String version) throws IOException {
.withPluginClasspath()
.withGradleVersion(version)
.withProjectDir(testProjectDir)
.withArguments("generateMCGrammars", "--build-cache")
.withArguments("generateMCGrammars", "--build-cache", "--info")
.build();
// and the task was successful
Assert.assertEquals(SUCCESS, result.task(":generateMCGrammars").getOutcome());
Expand All @@ -172,7 +172,7 @@ void testGenerateGrammar(String version) throws IOException {
.withPluginClasspath()
.withGradleVersion(version)
.withProjectDir(testProjectDir)
.withArguments("generateMCGrammars", "--build-cache")
.withArguments("generateMCGrammars", "--build-cache", "--info")
.build();
// Nothing SHOULD not be up-to-date
Assert.assertFalse(result.getOutput(), result.getOutput().contains("MyTestGrammar.mc4 is UP-TO-DATE, no action required"));
Expand Down

0 comments on commit 8e65e99

Please sign in to comment.