mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Refactor.
This commit is contained in:
parent
d945d74375
commit
72e0caecbf
1 changed files with 4 additions and 3 deletions
|
@ -16,8 +16,11 @@ import javax.inject.Inject
|
|||
* Test ITestJvmFlagContributor and ITestJvmFlagInterceptor.
|
||||
*/
|
||||
class DependencyTest @Inject constructor() {
|
||||
private val A_JAR = "/tmp/a.jar"
|
||||
private val B_JAR = "/tmp/b.jar"
|
||||
|
||||
private val project : Project get() = project { name = "dummy" }
|
||||
private val classpath = listOf(FileDependency("/tmp/a.jar"))
|
||||
private val classpath = listOf(FileDependency(A_JAR))
|
||||
private val context = KobaltContext(Args())
|
||||
private val contributor = object : ITestJvmFlagContributor {
|
||||
override fun testJvmFlagsFor(project: Project, context: KobaltContext,
|
||||
|
@ -25,8 +28,6 @@ class DependencyTest @Inject constructor() {
|
|||
return listOf("-agent", "foo")
|
||||
}
|
||||
}
|
||||
private val A_JAR = "/tmp/a.jar"
|
||||
private val B_JAR = "/tmp/b.jar"
|
||||
|
||||
private val interceptor = object : ITestJvmFlagInterceptor {
|
||||
override fun testJvmFlagsFor(project: Project, context: KobaltContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue