mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Test that currently fails.
This commit is contained in:
parent
3c9c372ed1
commit
084a56e004
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
|||
package com.beust.kobalt.internal
|
||||
|
||||
import com.beust.kobalt.TestModule
|
||||
import com.beust.kobalt.misc.KobaltLogger
|
||||
import com.google.common.collect.ArrayListMultimap
|
||||
import com.google.common.collect.Multimap
|
||||
import com.google.common.collect.TreeMultimap
|
||||
|
@ -178,5 +177,15 @@ class TaskManagerTest @Inject constructor(val taskManager: TaskManager) {
|
|||
})
|
||||
Assert.assertEquals(runTasks, listOf("copyVersionForWrapper", "compile", "assemble"))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun allDepends() {
|
||||
val runTasks = runTasks(listOf("assemble"),
|
||||
dependsOn = TreeMultimap.create<String, String>().apply {
|
||||
put("uploadGithub", "assemble")
|
||||
put("uploadBintray", "assemble")
|
||||
})
|
||||
Assert.assertEquals(runTasks, listOf("assemble", "uploadGithub"))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue