Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 16, 2024
1 parent 2fcd1ef commit 6c76232
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/test/kotlin/mb/gitonium/GitoniumPluginTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class GitoniumPluginTests: FunSpec({
`java-library`
id("org.metaborg.gitonium")
}

version = gitonium.version
""".trimIndent()
)
// Ignore untracked directory: .gradle
Expand Down Expand Up @@ -67,6 +69,8 @@ class GitoniumPluginTests: FunSpec({
`java-library`
id("org.metaborg.gitonium")
}

version = gitonium.version
""".trimIndent()
)
// Ignore untracked directory: .gradle
Expand Down Expand Up @@ -99,6 +103,8 @@ class GitoniumPluginTests: FunSpec({
`java-library`
id("org.metaborg.gitonium")
}

version = gitonium.version
""".trimIndent()
)
repo.commit("Initial commit", allowEmpty = true)
Expand Down Expand Up @@ -133,6 +139,8 @@ class GitoniumPluginTests: FunSpec({
`java-library`
id("org.metaborg.gitonium")
}

version = gitonium.version
""".trimIndent()
)
repo.writeFile("", ".gitignore")
Expand Down Expand Up @@ -166,6 +174,8 @@ class GitoniumPluginTests: FunSpec({
`java-library`
id("org.metaborg.gitonium")
}

version = gitonium.version
""".trimIndent()
)
repo.writeFile("", ".gitignore")
Expand Down Expand Up @@ -201,6 +211,8 @@ class GitoniumPluginTests: FunSpec({
`java-library`
id("org.metaborg.gitonium")
}

version = gitonium.version
""".trimIndent()
)
repo.writeFile("", ".gitignore")
Expand Down Expand Up @@ -242,6 +254,8 @@ class GitoniumPluginTests: FunSpec({
id("org.metaborg.gitonium")
}

version = gitonium.version

dependencies {
implementation("org.metaborg:org.spoofax.terms:2.6.0-SNAPSHOT")
}
Expand Down Expand Up @@ -277,6 +291,8 @@ class GitoniumPluginTests: FunSpec({
id("org.metaborg.gitonium")
}

version = gitonium.version

dependencies {
implementation("org.metaborg:org.spoofax.terms:2.6.0-SNAPSHOT")
}
Expand Down Expand Up @@ -314,6 +330,8 @@ class GitoniumPluginTests: FunSpec({
`java-library`
id("org.metaborg.gitonium")
}

version = gitonium.version
""".trimIndent()
)
repo.writeFile("", ".gitignore")
Expand Down Expand Up @@ -346,6 +364,8 @@ class GitoniumPluginTests: FunSpec({
`maven-publish`
id("org.metaborg.gitonium")
}

version = gitonium.version
""".trimIndent()
)
repo.writeFile("", ".gitignore")
Expand Down Expand Up @@ -385,6 +405,8 @@ class GitoniumPluginTests: FunSpec({
gitonium {
buildPropertiesFile.set(layout.buildDirectory.file("resources/main/version.properties"))
}

version = gitonium.version
""".trimIndent()
)
repo.writeFile("class Program { static void main(String[] args) { } }", "src/main/java/Program.java")
Expand Down

0 comments on commit 6c76232

Please sign in to comment.