mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Turn on ExcludeTest.
This commit is contained in:
parent
3290769453
commit
a82cd20455
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ import com.google.inject.Inject
|
||||||
import org.assertj.core.api.Assertions.assertThat
|
import org.assertj.core.api.Assertions.assertThat
|
||||||
import org.testng.annotations.DataProvider
|
import org.testng.annotations.DataProvider
|
||||||
import org.testng.annotations.Guice
|
import org.testng.annotations.Guice
|
||||||
|
import org.testng.annotations.Test
|
||||||
|
|
||||||
@Guice(modules = arrayOf(TestModule::class))
|
@Guice(modules = arrayOf(TestModule::class))
|
||||||
class ExcludeTest @Inject constructor(compilerFactory: BuildFileCompiler.IFactory,
|
class ExcludeTest @Inject constructor(compilerFactory: BuildFileCompiler.IFactory,
|
||||||
|
@ -24,7 +25,7 @@ class ExcludeTest @Inject constructor(compilerFactory: BuildFileCompiler.IFactor
|
||||||
arrayOf("p2", EXCLUDED_DEPENDENCY)
|
arrayOf("p2", EXCLUDED_DEPENDENCY)
|
||||||
)
|
)
|
||||||
|
|
||||||
// @Test(dataProvider = "dp")
|
@Test(dataProvider = "dp")
|
||||||
fun excludeShouldWork(projectName: String, excludedDependency: String?) {
|
fun excludeShouldWork(projectName: String, excludedDependency: String?) {
|
||||||
val buildFileString = """
|
val buildFileString = """
|
||||||
import com.beust.kobalt.*
|
import com.beust.kobalt.*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue