mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
moved the stdlib tests into the same directory as the stdlib, so it works a bit better with maven support in IDEA
This commit is contained in:
23
libraries/stdlib/test/language/JavaClassTest.kt
Normal file
23
libraries/stdlib/test/language/JavaClassTest.kt
Normal file
@@ -0,0 +1,23 @@
|
||||
package test.language
|
||||
|
||||
import junit.framework.TestCase
|
||||
import kotlin.test.*
|
||||
|
||||
import org.jetbrains.kotlin.support.*
|
||||
|
||||
fun localUseWorks(): Unit {
|
||||
val c = javaClass<Runnable>()
|
||||
println("class is $c")
|
||||
}
|
||||
|
||||
class JavaClassTest : TestCase() {
|
||||
|
||||
fun testJavaClass() {
|
||||
localUseWorks()
|
||||
|
||||
// TODO this function fails!
|
||||
// see KT-1515
|
||||
loadAsserter()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user