1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2017-02-23 19:58:47 -08:00
parent 5b76c0cad5
commit 5edb52a69b

View file

@ -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 projectText = """ val projectText = """
dependencies { dependencies {