rename ReadClassDataTest

This commit is contained in:
Stepan Koltsov
2012-01-17 19:32:18 +04:00
parent 0dd7387f6c
commit 49dbcaa728
84 changed files with 6 additions and 4 deletions
@@ -0,0 +1,5 @@
package test
class River {
fun song() = 1
}
@@ -0,0 +1,5 @@
package test
class ClassFunGetFoo {
fun getFoo() = 1
}
@@ -0,0 +1,6 @@
package test
class ClassFunGetFoo {
fun getFoo() = 1
fun setFoo(p: Int) {}
}
@@ -0,0 +1,5 @@
package test
class ClassFunGetFoo {
fun set(p: Int) { }
}
@@ -0,0 +1,3 @@
package test
fun Int.shuffle() = 1
@@ -0,0 +1,5 @@
package test
class ExtFunInClass {
fun Int.shuffle() = 1
}
@@ -0,0 +1,3 @@
package test
fun funDefaultArg(p: Int, q: Int = 17, r: Int = 18) = 19
@@ -0,0 +1,3 @@
package test
fun fff(a: java.lang.CharSequence) = 1
@@ -0,0 +1,3 @@
package test
fun varargCharSequence(a: Int, vararg b: java.lang.CharSequence) = 1
@@ -0,0 +1,3 @@
package test
fun varargInt(a: Int, vararg b: Int) = 1
@@ -0,0 +1,5 @@
package test
abstract class ModifierAbstract {
abstract fun abs(): Int
}
@@ -0,0 +1,5 @@
package test
open class ModifierOpen {
open fun abs() = 1
}
@@ -0,0 +1,3 @@
package test
fun f() = 1
@@ -0,0 +1,3 @@
package test
fun getFoo() = 1
@@ -0,0 +1,3 @@
package test
fun ff(): java.lang.CharSequence = throw Exception()
@@ -0,0 +1,3 @@
package test
fun ff(): java.lang.CharSequence? = null