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
@@ -8,6 +8,6 @@ class ExpectedChildChild : ExpectedChild()
class SimpleChild : SimpleParent()
// REF: [common] (test).ExpectedChildChild
// REF: [jvm] (test).ExpectedChild
// REF: [jvm] (test).ExpectedChildChildJvm
// REF: [testModule_Common] (test).ExpectedChildChild
// REF: [testModule_JVM] (test).ExpectedChild
// REF: [testModule_JVM] (test).ExpectedChildChildJvm
@@ -16,6 +16,6 @@ class SimpleChild : SimpleParent() {
override fun foo(n: Int) {}
}
// REF: [common] (in test.ExpectedChildChild).foo(Int)
// REF: [jvm] (in test.ExpectedChild).foo(Int)
// REF: [jvm] (in test.ExpectedChildChildJvm).foo(Int)
// REF: [testModule_Common] (in test.ExpectedChildChild).foo(Int)
// REF: [testModule_JVM] (in test.ExpectedChild).foo(Int)
// REF: [testModule_JVM] (in test.ExpectedChildChildJvm).foo(Int)
@@ -16,6 +16,6 @@ class SimpleChild : SimpleParent() {
override val bar: Int get() = 1
}
// REF: [common] (in test.ExpectedChildChild).bar
// REF: [jvm] (in test.ExpectedChild).bar
// REF: [jvm] (in test.ExpectedChildChildJvm).bar
// REF: [testModule_Common] (in test.ExpectedChildChild).bar
// REF: [testModule_JVM] (in test.ExpectedChild).bar
// REF: [testModule_JVM] (in test.ExpectedChildChildJvm).bar
@@ -8,8 +8,8 @@ class ExpectedChildChild : ExpectedChild()
class SimpleChild : SimpleParent()
// REF: [common] (test).ExpectedChild
// REF: [common] (test).ExpectedChildChild
// REF: [common] (test).SimpleChild
// REF: [jvm] (test).ExpectedChild
// REF: [jvm] (test).ExpectedChildChildJvm
// REF: [testModule_Common] (test).ExpectedChild
// REF: [testModule_Common] (test).ExpectedChildChild
// REF: [testModule_Common] (test).SimpleChild
// REF: [testModule_JVM] (test).ExpectedChild
// REF: [testModule_JVM] (test).ExpectedChildChildJvm
@@ -16,8 +16,8 @@ class SimpleChild : SimpleParent() {
override fun foo(n: Int) {}
}
// REF: [common] (in test.ExpectedChild).foo(Int)
// REF: [common] (in test.ExpectedChildChild).foo(Int)
// REF: [common] (in test.SimpleChild).foo(Int)
// REF: [jvm] (in test.ExpectedChild).foo(Int)
// REF: [jvm] (in test.ExpectedChildChildJvm).foo(Int)
// REF: [testModule_Common] (in test.ExpectedChild).foo(Int)
// REF: [testModule_Common] (in test.ExpectedChildChild).foo(Int)
// REF: [testModule_Common] (in test.SimpleChild).foo(Int)
// REF: [testModule_JVM] (in test.ExpectedChild).foo(Int)
// REF: [testModule_JVM] (in test.ExpectedChildChildJvm).foo(Int)
@@ -16,8 +16,8 @@ class SimpleChild : SimpleParent() {
override val bar: Int get() = 1
}
// REF: [common] (in test.ExpectedChild).bar
// REF: [common] (in test.ExpectedChildChild).bar
// REF: [common] (in test.SimpleChild).bar
// REF: [jvm] (in test.ExpectedChild).bar
// REF: [jvm] (in test.ExpectedChildChildJvm).bar
// REF: [testModule_Common] (in test.ExpectedChild).bar
// REF: [testModule_Common] (in test.ExpectedChildChild).bar
// REF: [testModule_Common] (in test.SimpleChild).bar
// REF: [testModule_JVM] (in test.ExpectedChild).bar
// REF: [testModule_JVM] (in test.ExpectedChildChildJvm).bar
@@ -4,5 +4,5 @@ interface I {
suspend fun <caret>foo(s: String)
}
// REF: [js] (in test.C).foo(String)
// REF: [jvm] (in test.C).foo(String)
// REF: [testModule_JS] (in test.C).foo(String)
// REF: [testModule_JVM] (in test.C).foo(String)