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 2016-01-06 16:36:58 -08:00
parent 92d281e423
commit 7bf5f48ec8

View file

@ -44,7 +44,7 @@ public class DownloadTest @Inject constructor(
val future = dep.jarFile
Assert.assertFalse(future is CompletedFuture)
val file = future.get()
Assert.assertTrue(file.exists())
Assert.assertTrue(file.exists(), "Couldn't find ${file.absolutePath}")
}
} else {
warn("Couldn't delete directory, not running test \"shouldDownloadWithVersion\"")
@ -67,7 +67,7 @@ public class DownloadTest @Inject constructor(
val file = future.get()
Assert.assertFalse(future is CompletedFuture)
Assert.assertNotNull(file)
Assert.assertTrue(file.exists())
Assert.assertTrue(file.exists(), "Couldn't find ${file.absolutePath}")
} else {
warn("Couldn't delete directory, not running test \"shouldDownloadNoVersion\"")
}
@ -106,7 +106,7 @@ public class DownloadTest @Inject constructor(
val dep2 = MavenDependency.create("$idNoVersion$version")
val file = dep2.jarFile.get()
Assert.assertNotNull(file)
Assert.assertTrue(file.exists(), "Should find $file")
Assert.assertTrue(file.exists(), "Couldn't find ${file.absolutePath}")
}
@Test