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() { }
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
package renamed
|
||||
|
||||
fun foo() {
|
||||
|
||||
null!!
|
||||
}
|
||||
+2
-1
@@ -2,9 +2,10 @@ package test
|
||||
|
||||
class Foo {
|
||||
fun member() {
|
||||
null!!
|
||||
}
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
println()
|
||||
null!!
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
fun other() {
|
||||
println("")
|
||||
null!!
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
This test doesn't have sources, but IDEA test framework needs sources dir
|
||||
Reference in New Issue
Block a user