mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Log.
This commit is contained in:
parent
92d281e423
commit
7bf5f48ec8
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ public class DownloadTest @Inject constructor(
|
||||||
val future = dep.jarFile
|
val future = dep.jarFile
|
||||||
Assert.assertFalse(future is CompletedFuture)
|
Assert.assertFalse(future is CompletedFuture)
|
||||||
val file = future.get()
|
val file = future.get()
|
||||||
Assert.assertTrue(file.exists())
|
Assert.assertTrue(file.exists(), "Couldn't find ${file.absolutePath}")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
warn("Couldn't delete directory, not running test \"shouldDownloadWithVersion\"")
|
warn("Couldn't delete directory, not running test \"shouldDownloadWithVersion\"")
|
||||||
|
@ -67,7 +67,7 @@ public class DownloadTest @Inject constructor(
|
||||||
val file = future.get()
|
val file = future.get()
|
||||||
Assert.assertFalse(future is CompletedFuture)
|
Assert.assertFalse(future is CompletedFuture)
|
||||||
Assert.assertNotNull(file)
|
Assert.assertNotNull(file)
|
||||||
Assert.assertTrue(file.exists())
|
Assert.assertTrue(file.exists(), "Couldn't find ${file.absolutePath}")
|
||||||
} else {
|
} else {
|
||||||
warn("Couldn't delete directory, not running test \"shouldDownloadNoVersion\"")
|
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 dep2 = MavenDependency.create("$idNoVersion$version")
|
||||||
val file = dep2.jarFile.get()
|
val file = dep2.jarFile.get()
|
||||||
Assert.assertNotNull(file)
|
Assert.assertNotNull(file)
|
||||||
Assert.assertTrue(file.exists(), "Should find $file")
|
Assert.assertTrue(file.exists(), "Couldn't find ${file.absolutePath}")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue