Find Usages: Add file grouping to test data

This commit is contained in:
Alexey Sedunov
2015-06-05 14:26:10 +03:00
parent d4bf5faeec
commit 64ae0c0036
38 changed files with 217 additions and 203 deletions
@@ -1,2 +1,2 @@
Unclassified usage (29: 18) override fun foo(t: String) {
Unclassified usage (3: 17) public void foo(String s) {
[javaAndKotlinOverrides.0.kt] Unclassified usage (29: 18) override fun foo(t: String) {
[javaAndKotlinOverrides.1.java] Unclassified usage (3: 17) public void foo(String s) {
@@ -1,7 +1,7 @@
Function call (11: 11) a.foo(0, "")
Function call (11: 7) x.foo(1, 2)
Function call (25: 5) foo(t)
Function call (30: 7) a.foo(1, "")
Function call (35: 9) foo(t)
Function call (39: 5) foo(s)
Function call (3: 18) super<A>.foo(t)
[kotlinOverloadAndExtensionUsages.0.kt] Function call (11: 7) x.foo(1, 2)
[kotlinOverloadAndExtensionUsages.0.kt] Function call (25: 5) foo(t)
[kotlinOverloadAndExtensionUsages.0.kt] Function call (30: 7) a.foo(1, "")
[kotlinOverloadAndExtensionUsages.0.kt] Function call (35: 9) foo(t)
[kotlinOverloadAndExtensionUsages.0.kt] Function call (39: 5) foo(s)
[kotlinOverloadAndExtensionUsages.1.kt] Function call (11: 11) a.foo(0, "")
[kotlinOverloadAndExtensionUsages.1.kt] Function call (3: 18) super<A>.foo(t)
@@ -1,5 +1,5 @@
Callable reference (6: 23) val methodRef = ::processRequest()
Function call (10: 9) processRequest()
Unclassified usage (6: 30) String s = ServerPackage.processRequest();
Unclassified usage (9: 30) return ServerPackage.processRequest();
Usage in import (3: 15) import server.processRequest
[kotlinTopLevelMethodUsages.1.kt] Callable reference (6: 23) val methodRef = ::processRequest()
[kotlinTopLevelMethodUsages.1.kt] Function call (10: 9) processRequest()
[kotlinTopLevelMethodUsages.1.kt] Usage in import (3: 15) import server.processRequest
[kotlinTopLevelMethodUsages.2.java] Unclassified usage (6: 30) String s = ServerPackage.processRequest();
[kotlinTopLevelMethodUsages.2.java] Unclassified usage (9: 30) return ServerPackage.processRequest();
@@ -1,2 +1,2 @@
Function call (11: 53) fun test(twdwi: TraitWithDelegatedWithImpl) = twdwi.foo()
Unclassified usage (7: 14) some.foo();
[kotlinTraitImplThroughDelegate.0.kt] Function call (11: 53) fun test(twdwi: TraitWithDelegatedWithImpl) = twdwi.foo()
[kotlinTraitImplThroughDelegate.1.java] Unclassified usage (7: 14) some.foo();
@@ -1,2 +1,2 @@
Function call (11: 51) fun test(twdni: TraitWithDelegatedNoImpl) = twdni.foo()
Unclassified usage (7: 14) some.foo();
[kotlinTraitNoImplThroughDelegate.0.kt] Function call (11: 51) fun test(twdni: TraitWithDelegatedNoImpl) = twdni.foo()
[kotlinTraitNoImplThroughDelegate.1.java] Unclassified usage (7: 14) some.foo();