mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
Add a zip file test class.
This commit is contained in:
parent
619fd6e698
commit
9498c7bb95
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ import java.util.jar.JarInputStream
|
||||||
class VerifyKobaltZipTest : KobaltTest() {
|
class VerifyKobaltZipTest : KobaltTest() {
|
||||||
private fun verifyMainJarFile(ins: InputStream) {
|
private fun verifyMainJarFile(ins: InputStream) {
|
||||||
assertExistsInJarInputStream(JarInputStream(ins), "com/beust/kobalt/MainKt.class",
|
assertExistsInJarInputStream(JarInputStream(ins), "com/beust/kobalt/MainKt.class",
|
||||||
"templates/kobaltPlugin/kobaltPlugin.jar", "com/beust/kobalt/Args.class")
|
"templates/kobaltPlugin/kobaltPlugin.jar", "com/beust/kobalt/Args.class",
|
||||||
|
"com/beust/kobalt/wrapper/Main.class")
|
||||||
}
|
}
|
||||||
@Test
|
@Test
|
||||||
fun verifySourceJarFile() {
|
fun verifySourceJarFile() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue