Rewrite old exception filter test with library sources
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun box() {
|
||||
test.Foo().member()
|
||||
}
|
||||
|
||||
// WITH_MOCK_LIBRARY: true
|
||||
// FILE: lib.kt
|
||||
// LINE: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
fun box() {
|
||||
test.foo()
|
||||
}
|
||||
|
||||
// WITH_MOCK_LIBRARY: true
|
||||
// FILE: lib.kt
|
||||
// LINE: 10
|
||||
@@ -0,0 +1,7 @@
|
||||
fun box() {
|
||||
test.other()
|
||||
}
|
||||
|
||||
// WITH_MOCK_LIBRARY: true
|
||||
// FILE: other.kt
|
||||
// LINE: 4
|
||||
@@ -0,0 +1,7 @@
|
||||
fun box() {
|
||||
renamed.foo()
|
||||
}
|
||||
|
||||
// WITH_MOCK_LIBRARY: true
|
||||
// FILE: jvmClassNameSameName.kt
|
||||
// LINE: 5
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package renamed
|
||||
|
||||
fun bar() { }
|
||||
@@ -0,0 +1,6 @@
|
||||
@file:JvmName("NewName")
|
||||
package renamed
|
||||
|
||||
fun foo() {
|
||||
null!!
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
class Foo {
|
||||
fun member() {
|
||||
null!!
|
||||
}
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
null!!
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun other() {
|
||||
null!!
|
||||
}
|
||||
Reference in New Issue
Block a user