Improve test exceptions fixation:
- exceptions is analyzed if it's specified explicitly only, - compute test case number for diagnostic tests in which an exception is thrown.
This commit is contained in:
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_1Kt.box(1.kt:18)
|
||||
_1Kt.box(1.kt:19)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Bar(val x: Int)
|
||||
|
||||
compiler/tests-spec/testData/codegen/box/notLinked/objects/inheritance/neg/10.exceptions.runtime.txt
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
Foo$A.<init>(10.kt:12)
|
||||
Foo$A.<init>(10.kt:13)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(a: Any) {
|
||||
|
||||
compiler/tests-spec/testData/codegen/box/notLinked/objects/inheritance/neg/11.exceptions.runtime.txt
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_11Kt.box(11.kt:20)
|
||||
_11Kt.box(11.kt:21)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
object MyObject : Foo(prop)
|
||||
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
val prop = MyObject
|
||||
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(val prop: Int) {
|
||||
|
||||
compiler/tests-spec/testData/codegen/box/notLinked/objects/inheritance/neg/14.exceptions.runtime.txt
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_14Kt.box(14.kt:16)
|
||||
_14Kt.box(14.kt:17)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(val prop: Int) {
|
||||
|
||||
compiler/tests-spec/testData/codegen/box/notLinked/objects/inheritance/neg/15.exceptions.runtime.txt
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_15Kt.box(15.kt:16)
|
||||
_15Kt.box(15.kt:17)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(val prop: Int) {
|
||||
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(val prop: Int) {
|
||||
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(val prop: Int) {
|
||||
|
||||
compiler/tests-spec/testData/codegen/box/notLinked/objects/inheritance/neg/18.exceptions.runtime.txt
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_18Kt.box(18.kt:16)
|
||||
_18Kt.box(18.kt:17)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(val prop: Int) {
|
||||
|
||||
compiler/tests-spec/testData/codegen/box/notLinked/objects/inheritance/neg/19.exceptions.runtime.txt
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_19Kt.box(19.kt:16)
|
||||
_19Kt.box(19.kt:17)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(val prop: Int) {
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_2Kt.box(2.kt:18)
|
||||
_2Kt.box(2.kt:19)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Bar(val x: Int)
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_3Kt.box(3.kt:18)
|
||||
_3Kt.box(3.kt:19)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Bar(val x: Int)
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_4Kt.box(4.kt:18)
|
||||
_4Kt.box(4.kt:19)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Bar(val x: Int)
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_5Kt.box(5.kt:20)
|
||||
_5Kt.box(5.kt:21)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Bar(val x: Int)
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_6Kt.box(6.kt:20)
|
||||
_6Kt.box(6.kt:21)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Bar(val x: Any)
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_7Kt.box(7.kt:16)
|
||||
_7Kt.box(7.kt:17)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(val x: Int)
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
java.lang.ExceptionInInitializerError
|
||||
_8Kt.box(8.kt:16)
|
||||
_8Kt.box(8.kt:17)
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(a: Any) {
|
||||
|
||||
+1
@@ -6,6 +6,7 @@
|
||||
* DESCRIPTION: Access to class members in the super constructor call of an object.
|
||||
* UNEXPECTED BEHAVIOUR
|
||||
* ISSUES: KT-25289
|
||||
* EXCEPTION: runtime
|
||||
*/
|
||||
|
||||
open class Foo(a: Any) {
|
||||
|
||||
Reference in New Issue
Block a user