mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +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:
14
libraries/stdlib/test/JavaClassTest.kt
Normal file
14
libraries/stdlib/test/JavaClassTest.kt
Normal file
@@ -0,0 +1,14 @@
|
||||
package testjc
|
||||
|
||||
import kotlin.test.*
|
||||
import junit.framework.TestCase
|
||||
|
||||
class C()
|
||||
|
||||
class JavaClassTest() : TestCase() {
|
||||
fun testMe () {
|
||||
assertEquals("java.util.ArrayList", java.util.ArrayList<Any>().javaClass.getName())
|
||||
assertEquals("java.util.ArrayList", javaClass<java.util.ArrayList<Any>>().getName())
|
||||
assertEquals("testjc.C", javaClass<C>().getName())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user