mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Remove public.
This commit is contained in:
parent
62b193f378
commit
48bbdfd1ff
13 changed files with 21 additions and 31 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
package com.beust.kobalt.maven
|
||||
|
||||
//import org.junit.Test
|
||||
//
|
||||
//public class JUnitTest {
|
||||
// @Test
|
||||
// public fun simpleTestForJUnit() {
|
||||
// println("Works")
|
||||
// }
|
||||
//}
|
Loading…
Add table
Add a link
Reference in a new issue