Allow to create quickfix multifile tests in single file

It simplifies creating new tests
This commit is contained in:
Nikolay Krasko
2015-10-09 18:08:44 +03:00
parent 573738c87e
commit 9ef8370871
9 changed files with 221 additions and 99 deletions
@@ -1,7 +0,0 @@
// "Import" "true"
// ERROR: Unresolved reference: Some
package testing
import some.Some
class TestClass: <caret>Some.InnerInSome()
@@ -1,7 +0,0 @@
package some
public class Some {
public open class InnerInSome {
}
}
@@ -1,5 +0,0 @@
// "Import" "true"
// ERROR: Unresolved reference: Some
package testing
class TestClass: <caret>Some.InnerInSome()
@@ -0,0 +1,28 @@
// FILE: first.before.kt
// "Import" "true"
// ERROR: Unresolved reference: Some
package testing
class TestClass: <caret>Some.InnerInSome()
// FILE: second.kt
package some
public class Some {
public open class InnerInSome {
}
}
// FILE: first.after.kt
// "Import" "true"
// ERROR: Unresolved reference: Some
package testing
import some.Some
class TestClass: <caret>Some.InnerInSome()