New J2K: Split old j2k and new j2k tests

This commit is contained in:
Ilya Kirillov
2019-03-28 14:20:17 +03:00
committed by Ilya Kirillov
parent 02a206bf7c
commit b411e8e18e
1631 changed files with 14067 additions and 1513 deletions
@@ -1,15 +0,0 @@
package test
abstract class Base(protected var field: Int)
class Derived(value: Int) : Base(value) {
private val usage: View = object : View() {
override fun click() {
val activity = field
}
}
}
internal abstract class View {
internal abstract fun click()
}
-39
View File
@@ -1,39 +0,0 @@
package test
class BaseProtectedConstructor {
fun usageInConstructor() {
}
fun usageInPropertyInitializer(): Int {
return 1
}
fun usageInStaticInit() {
}
fun usageInMethod() {
}
}
internal class DerivedSamePackage {
private val i = BaseProtectedConstructor().usageInPropertyInitializer()
init {
BaseProtectedConstructor().usageInConstructor()
}
companion object {
init {
BaseProtectedConstructor().usageInStaticInit()
}
}
fun usage() {
BaseProtectedConstructor().usageInMethod()
}
}