Rewrite 'goto' mpp tests to be generated

Adjust test data
Use new util in FindUsagesMultiModuleTest
This commit is contained in:
Pavel V. Talanov
2018-03-27 15:46:42 +02:00
parent 1f4926e259
commit 08b62d3564
31 changed files with 320 additions and 273 deletions
@@ -4,4 +4,4 @@ actual class Foo {
actual fun <caret>bar() {}
}
// REF: [common] (in test.Foo).bar()
// REF: [testModule_Common] (in test.Foo).bar()
@@ -4,4 +4,4 @@ actual class Foo {
actual val <caret>bar: Int get() = 1
}
// REF: [common] (in test.Foo).bar
// REF: [testModule_Common] (in test.Foo).bar
@@ -4,5 +4,5 @@ expect class Foo {
fun <caret>bar()
}
// REF: [jvm] (in test.Foo).bar()
// REF: [js] (in test.Foo).bar()
// REF: [testModule_JVM] (in test.Foo).bar()
// REF: [testModule_JS] (in test.Foo).bar()
@@ -4,5 +4,5 @@ expect class Foo {
val <caret>bar: Int
}
// REF: [jvm] (in test.Foo).bar
// REF: [js] (in test.Foo).bar
// REF: [testModule_JVM] (in test.Foo).bar
// REF: [testModule_JS] (in test.Foo).bar
@@ -4,4 +4,4 @@ actual class Foo {
actual class <caret>Bar
}
// REF: [common] (in test.Foo).Bar
// REF: [testModule_Common] (in test.Foo).Bar
@@ -4,5 +4,5 @@ expect class Foo {
class <caret>Bar
}
// REF: [js] (in test.Foo).Bar
// REF: [jvm] (in test.Foo).Bar
// REF: [testModule_JS] (in test.Foo).Bar
// REF: [testModule_JVM] (in test.Foo).Bar
@@ -2,4 +2,4 @@ package test
actual class <caret>Foo
// REF: [common] (test).Foo
// REF: [testModule_Common] (test).Foo
@@ -2,4 +2,4 @@ package test
actual fun <caret>foo() {}
// REF: [common] (test).foo()
// REF: [testModule_Common] (test).foo()
@@ -2,4 +2,4 @@ package test
actual val <caret>foo: Int get() = 1
// REF: [common] (test).foo
// REF: [testModule_Common] (test).foo
@@ -2,5 +2,5 @@ package test
expect class <caret>Foo
// REF: [jvm] (test).Foo
// REF: [js] (test).Foo
// REF: [testModule_JVM] (test).Foo
// REF: [testModule_JS] (test).Foo
@@ -2,5 +2,5 @@ package test
expect fun <caret>foo()
// REF: [jvm] (test).foo()
// REF: [js] (test).foo()
// REF: [testModule_JVM] (test).foo()
// REF: [testModule_JS] (test).foo()
@@ -2,5 +2,5 @@ package test
expect val <caret>foo: Int
// REF: [jvm] (test).foo
// REF: [js] (test).foo
// REF: [testModule_JVM] (test).foo
// REF: [testModule_JS] (test).foo