mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Comments.
This commit is contained in:
parent
b4c2594f39
commit
4010bd3ca1
1 changed files with 5 additions and 2 deletions
|
@ -13,7 +13,11 @@ import java.io.File
|
||||||
import java.io.FileOutputStream
|
import java.io.FileOutputStream
|
||||||
import java.nio.file.Files
|
import java.nio.file.Files
|
||||||
|
|
||||||
class PomTest @Inject constructor() : KobaltTest() {
|
/**
|
||||||
|
* If a user calls --init on a project with a pom.xml in it, make sure that pom.xml is correctly reflected in the
|
||||||
|
* generated Build.kt.
|
||||||
|
*/
|
||||||
|
class PomImportTest @Inject constructor() : KobaltTest() {
|
||||||
@Test
|
@Test
|
||||||
fun importPom() {
|
fun importPom() {
|
||||||
resourceToFile("PomTest/pom.xml").let { pomSrc ->
|
resourceToFile("PomTest/pom.xml").let { pomSrc ->
|
||||||
|
@ -27,7 +31,6 @@ class PomTest @Inject constructor() : KobaltTest() {
|
||||||
|
|
||||||
validateGeneratedFile(this, pomSrc)
|
validateGeneratedFile(this, pomSrc)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue