Rewrite old exception filter test with library sources

This commit is contained in:
Natalia Ukhorskaya
2015-11-17 15:22:13 +03:00
parent 6c0a68cf66
commit 214ae54c69
12 changed files with 104 additions and 142 deletions
@@ -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
@@ -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!!
}