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:
victor.petukhov
2018-12-28 15:43:37 +03:00
parent 317da3d481
commit 06b5a42d0d
45 changed files with 117 additions and 59 deletions
@@ -1,2 +1,2 @@
java.lang.ExceptionInInitializerError
_1Kt.box(1.kt:18)
_1Kt.box(1.kt:19)
@@ -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)
@@ -1,2 +1,2 @@
java.lang.ExceptionInInitializerError
Foo$A.<init>(10.kt:12)
Foo$A.<init>(10.kt:13)
@@ -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,2 +1,2 @@
java.lang.ExceptionInInitializerError
_11Kt.box(11.kt:20)
_11Kt.box(11.kt:21)
@@ -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)
@@ -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
@@ -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,2 +1,2 @@
java.lang.ExceptionInInitializerError
_14Kt.box(14.kt:16)
_14Kt.box(14.kt:17)
@@ -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,2 +1,2 @@
java.lang.ExceptionInInitializerError
_15Kt.box(15.kt:16)
_15Kt.box(15.kt:17)
@@ -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) {
@@ -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) {
@@ -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,2 +1,2 @@
java.lang.ExceptionInInitializerError
_18Kt.box(18.kt:16)
_18Kt.box(18.kt:17)
@@ -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,2 +1,2 @@
java.lang.ExceptionInInitializerError
_19Kt.box(19.kt:16)
_19Kt.box(19.kt:17)
@@ -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,2 +1,2 @@
java.lang.ExceptionInInitializerError
_2Kt.box(2.kt:18)
_2Kt.box(2.kt:19)
@@ -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)
@@ -1,2 +1,2 @@
java.lang.ExceptionInInitializerError
_3Kt.box(3.kt:18)
_3Kt.box(3.kt:19)
@@ -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)
@@ -1,2 +1,2 @@
java.lang.ExceptionInInitializerError
_4Kt.box(4.kt:18)
_4Kt.box(4.kt:19)
@@ -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)
@@ -1,2 +1,2 @@
java.lang.ExceptionInInitializerError
_5Kt.box(5.kt:20)
_5Kt.box(5.kt:21)
@@ -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)
@@ -1,2 +1,2 @@
java.lang.ExceptionInInitializerError
_6Kt.box(6.kt:20)
_6Kt.box(6.kt:21)
@@ -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)
@@ -1,2 +1,2 @@
java.lang.ExceptionInInitializerError
_7Kt.box(7.kt:16)
_7Kt.box(7.kt:17)
@@ -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)
@@ -1,2 +1,2 @@
java.lang.ExceptionInInitializerError
_8Kt.box(8.kt:16)
_8Kt.box(8.kt:17)
@@ -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) {
@@ -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) {