Rewrite some old exception filter tests

This commit is contained in:
Natalia Ukhorskaya
2015-11-17 14:40:16 +03:00
parent 9f0b52f030
commit 6c0a68cf66
13 changed files with 85 additions and 46 deletions
@@ -0,0 +1,7 @@
fun box() {
null!!
}
// PREFIX: Breakpoint reached at
// FILE: breakpointReachedAt.kt
// LINE: 2
@@ -0,0 +1,12 @@
class A {
fun foo() {
null!!
}
}
fun box() {
A().foo()
}
// FILE: kotlinClass.kt
// LINE: 3
@@ -0,0 +1,9 @@
fun box() {
val f = {
null!!
}
f()
}
// FILE: kt2489.kt
// LINE: 3
@@ -0,0 +1,13 @@
fun a() {
val f = {
null!!
}
f()
}
fun box() {
a()
}
// FILE: kt2489_2.kt
// LINE: 3
@@ -0,0 +1,6 @@
package multiSameName
fun box(x: Int) {
val f = { null!! }
f()
}
@@ -0,0 +1,9 @@
package multiSameName
fun box() {
val f = { null!! }
f()
}
// FILE: multiSamePackage.kt
// LINE: 4
@@ -0,0 +1,8 @@
fun box(): String {
//Breakpoint!
null!!
}
// EXCEPTION_TEXT: at SimpleKt.main(sss.kt:3)
// FILE: simple.kt
// LINE: 3