[LC] move light class related tests to one directory

This commit is contained in:
Dmitrii Gridin
2022-12-22 13:09:47 +01:00
committed by teamcity
parent 34a1569375
commit eb3ad7e6b1
419 changed files with 21 additions and 27 deletions
@@ -0,0 +1,6 @@
package test
class WithClassObject {
companion object {
}
}
@@ -0,0 +1,11 @@
package test
class C() {
fun V.f() : {
}
}
fun V.f() {
}
@@ -0,0 +1,40 @@
package test
class NoModifiers
// Visibility
public class Public
private class Private
internal class Internal
class Outer {
public class Public
protected class Protected
private class Private
internal class Internal
inner class Inner
}
// Modality
abstract class Abstract
open class Open
final class Final
// Special
annotation class Annotation
enum class Enum
interface Trait
// Deprecation
@Deprecated("") class DeprecatedClass
@kotlin.Deprecated("") class DeprecatedFQN
@kotlin. Deprecated /**/ ("") class DeprecatedFQNSpaces
@[Deprecated("")] class DeprecatedWithBrackets
@[kotlin.Deprecated("")] class DeprecatedWithBracketsFQN
@[kotlin
./**/Deprecated ("")] class DeprecatedWithBracketsFQNSpaces
// Generic
class Generic1<T>
class Generic2<A, B>
@@ -0,0 +1,11 @@
package test
class Generic1<T>
class Generic1WithBounds<T: Bound1>
class Generic2<A, B>
class Generic2WithBounds<A, B> where A: Bound1, A: Bound2, B: Generic1<A>
class Bound1
interface Bound2
@@ -0,0 +1,3 @@
package test
fun foo()
@@ -0,0 +1,11 @@
package test
class PlatformStaticClass {
companion object {
@JvmStatic
fun <T> inClassObject() {}
}
fun <T> inClass() {}
}