Rename test data folder according to the new test naming convention.

This commit is contained in:
Pavel V. Talanov
2012-08-23 14:25:37 +04:00
parent 4bf2b9054a
commit baca087a02
497 changed files with 349 additions and 350 deletions
@@ -0,0 +1,5 @@
package test
class ClassParamUsedInFun<in T> {
fun f(t: T) = 1
}
@@ -0,0 +1,6 @@
namespace test
internal final class test.ClassParamUsedInFun</*0*/ in T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ in T : jet.Any?><init>(): test.ClassParamUsedInFun<T>
internal final fun f(/*0*/ t: T): jet.Int
}
@@ -0,0 +1,5 @@
package test
class ClassParamUsedInFun<T> {
fun f(t: T) = 1
}
@@ -0,0 +1,6 @@
namespace test
internal final class test.ClassParamUsedInFun</*0*/ T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ T : jet.Any?><init>(): test.ClassParamUsedInFun<T>
internal final fun f(/*0*/ t: T): jet.Int
}
@@ -0,0 +1,9 @@
package test
// test composed from KT-2193
trait A {
open fun f(): String = "test"
}
class B() : A
@@ -0,0 +1,9 @@
namespace test
internal abstract trait test.A : jet.Any {
internal open fun f(): jet.String
}
internal final class test.B : test.A {
public final /*constructor*/ fun <init>(): test.B
internal open override /*1*/ fun f(): jet.String
}
@@ -0,0 +1,7 @@
package test
open class Base<T>() {
fun foo(): T = throw Exception()
}
class Inh() : Base<String>()
@@ -0,0 +1,10 @@
namespace test
internal open class test.Base</*0*/ T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ T : jet.Any?><init>(): test.Base<T>
internal final fun foo(): T
}
internal final class test.Inh : test.Base<jet.String> {
public final /*constructor*/ fun <init>(): test.Inh
internal final override /*1*/ fun foo(): jet.String
}
@@ -0,0 +1,7 @@
// KT-2228
package test
trait A {
final fun f(): String = "test"
}
@@ -0,0 +1,5 @@
namespace test
internal abstract trait test.A : jet.Any {
internal final fun f(): jet.String
}
@@ -0,0 +1,7 @@
// KT-2228
package test
trait A {
fun f(): String = "test"
}
@@ -0,0 +1,5 @@
namespace test
internal abstract trait test.A : jet.Any {
internal open fun f(): jet.String
}