1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Remove public.

This commit is contained in:
Cedric Beust 2017-01-19 13:32:50 -08:00
parent 62b193f378
commit 48bbdfd1ff
13 changed files with 21 additions and 31 deletions

View file

@ -8,7 +8,7 @@ import org.testng.annotations.Guice
open class KobaltTest {
companion object {
@BeforeSuite
public fun bs() {
fun bs() {
Kobalt.INJECTOR = com.google.inject.Guice.createInjector(TestModule())
}
}

View file

@ -29,17 +29,17 @@ class DependencyTest @Inject constructor(val executors: KobaltExecutors) {
private var executor: ExecutorService by Delegates.notNull()
@BeforeClass
public fun bc() {
fun bc() {
executor = executors.newExecutor("DependencyTest", 5)
}
@AfterClass
public fun ac() {
fun ac() {
executor.shutdown()
}
@Test(dataProvider = "dpVersions")
public fun versionSorting(k: String, v: String) {
fun versionSorting(k: String, v: String) {
val dep1 = Versions.toLongVersion(k)
val dep2 = Versions.toLongVersion(v)
Assert.assertTrue(dep1.compareTo(dep2) < 0)

View file

@ -1,10 +0,0 @@
package com.beust.kobalt.maven
//import org.junit.Test
//
//public class JUnitTest {
// @Test
// public fun simpleTestForJUnit() {
// println("Works")
// }
//}