update testdata for https://github.com/JetBrains/kotlin/pull/896/
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// "Implement abstract class" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
private abstract class <caret>Base {
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Implement abstract class" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
private abstract class Base {
|
||||
@@ -14,6 +15,6 @@ private class BaseImpl : Base() {
|
||||
}
|
||||
|
||||
override fun toInt(arg: String): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Implement abstract class" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
class Container {
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Implement abstract class" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
class Container {
|
||||
@@ -8,7 +9,7 @@ class Container {
|
||||
|
||||
inner class BaseImpl : Base() {
|
||||
override fun foo(): String {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Implement interface" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
interface <caret>Base {
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Implement interface" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
interface Base {
|
||||
@@ -9,6 +10,6 @@ interface Base {
|
||||
|
||||
class BaseImpl : Base {
|
||||
override fun foo(x: Int): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Implement interface" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
class Container {
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Implement interface" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
class Container {
|
||||
@@ -19,7 +20,7 @@ class BaseImpl : Container.Base {
|
||||
get() = throw UnsupportedOperationException()
|
||||
|
||||
override fun bar(z: Int): String {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Implement sealed class" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
sealed class <caret>Base {
|
||||
|
||||
+2
-1
@@ -1,11 +1,12 @@
|
||||
// "Implement sealed class" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
sealed class Base {
|
||||
abstract fun foo(): Int
|
||||
class BaseImpl : Base() {
|
||||
override fun foo(): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Implement sealed class" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
sealed class <caret>Base {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Implement sealed class" "true"
|
||||
// WITH_RUNTIME
|
||||
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
||||
|
||||
sealed class Base {
|
||||
@@ -10,7 +11,7 @@ sealed class Base {
|
||||
|
||||
class BaseImpl1 : Base() {
|
||||
override fun foo(): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user