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,3 @@
package test
fun <T> f() = 1
@@ -0,0 +1,3 @@
package test
fun <in T> f() = 1
@@ -0,0 +1,3 @@
package test
fun <out T> f() = 1
@@ -0,0 +1,3 @@
package test
fun <P> funParamParam(a: Int, b: P) = 1
@@ -0,0 +1,3 @@
package test
fun <P, Q : P> funParamReferencesParam() = 1
@@ -0,0 +1,3 @@
package test
fun <in P, Q : P> funParamReferencesParam() = 1
@@ -0,0 +1,3 @@
package test
fun <A : java.lang.Number> uno() = 1
@@ -0,0 +1,3 @@
package test
fun <A> tres() where A : java.lang.Number, A : java.lang.CharSequence = 1
@@ -0,0 +1,3 @@
package test
fun <A : java.lang.CharSequence> dos() = 1
@@ -0,0 +1,3 @@
package test
fun <A> cuatro() where A : java.lang.CharSequence, A : java.lang.Number = 1
@@ -0,0 +1,3 @@
package test
fun <P> funParamVarargParam(a: Int, vararg b: P) = 1
@@ -0,0 +1,3 @@
package test
fun <P, Q> funTwoTypeParams() = 1
@@ -0,0 +1,3 @@
package test
fun <P, in Q> funTwoTypeParams() = 1
@@ -0,0 +1,6 @@
package test
import java.util.List
import java.lang.CharSequence
fun ff(p: List<CharSequence>) = 1
@@ -0,0 +1,6 @@
package test
import java.util.List
import java.lang.CharSequence
fun ff(p: List<CharSequence?>) = 1
@@ -0,0 +1,3 @@
package test
fun fff(a: java.lang.CharSequence?) = 1
@@ -0,0 +1,7 @@
package test
import java.util.List
import java.util.ArrayList
import java.lang.CharSequence
fun ffgg(): List<CharSequence> = ArrayList()
@@ -0,0 +1,7 @@
package test
import java.util.List
import java.util.ArrayList
import java.lang.CharSequence
fun ffgg(): List<CharSequence?> = ArrayList()
@@ -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