1
0
Fork 0
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:
Cedric Beust 2017-02-23 09:19:01 -08:00
parent 3290769453
commit a82cd20455

View file

@ -11,6 +11,7 @@ import com.google.inject.Inject
import org.assertj.core.api.Assertions.assertThat
import org.testng.annotations.DataProvider
import org.testng.annotations.Guice
import org.testng.annotations.Test
@Guice(modules = arrayOf(TestModule::class))
class ExcludeTest @Inject constructor(compilerFactory: BuildFileCompiler.IFactory,
@ -24,7 +25,7 @@ class ExcludeTest @Inject constructor(compilerFactory: BuildFileCompiler.IFactor
arrayOf("p2", EXCLUDED_DEPENDENCY)
)
// @Test(dataProvider = "dp")
@Test(dataProvider = "dp")
fun excludeShouldWork(projectName: String, excludedDependency: String?) {
val buildFileString = """
import com.beust.kobalt.*