KT-64205 [AA] Rearrange testData for reference shortener
Get rid of `referenceShortener/referenceShortener` nested directory
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package one
|
||||
|
||||
class A
|
||||
class B
|
||||
|
||||
fun foo(a: () -> Unit) {
|
||||
|
||||
}
|
||||
|
||||
foo {
|
||||
one.A
|
||||
}
|
||||
|
||||
foo {
|
||||
one.B
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
[qualifier] one.A
|
||||
[qualifier] one.B
|
||||
with SHORTEN_AND_IMPORT:
|
||||
[qualifier] one.A
|
||||
[qualifier] one.B
|
||||
with SHORTEN_AND_STAR_IMPORT:
|
||||
[qualifier] one.A
|
||||
[qualifier] one.B
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
// FILE: main.kt
|
||||
|
||||
/**
|
||||
* [a.b.c.dependency.Foo]
|
||||
* [a.b.c.dependency.Foo.Nested]
|
||||
*/
|
||||
fun foo<caret>(): a.b.c.dependency.Foo = t
|
||||
|
||||
// FILE: dependency.kt
|
||||
package a.b.c.dependency
|
||||
|
||||
class Foo {
|
||||
class Nested
|
||||
}
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
with SHORTEN_AND_IMPORT:
|
||||
[type] a.b.c.dependency.Foo
|
||||
[kdoc] a.b.c.dependency.Foo
|
||||
[kdoc] a.b.c.dependency.Foo
|
||||
with SHORTEN_AND_STAR_IMPORT:
|
||||
[type] a.b.c.dependency.Foo
|
||||
[kdoc] a.b.c.dependency.Foo
|
||||
[kdoc] a.b.c.dependency.Foo
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
class A<caret> {
|
||||
abstract class B {
|
||||
abstract val b: A.B
|
||||
}
|
||||
}
|
||||
|
||||
class C {
|
||||
abstract class D {
|
||||
companion object {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
init {
|
||||
C.D.Companion.foo()
|
||||
}
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
[type] A.B
|
||||
[qualifier] C.D.Companion.foo()
|
||||
with SHORTEN_AND_IMPORT:
|
||||
[type] A.B
|
||||
[qualifier] C.D.Companion.foo()
|
||||
with SHORTEN_AND_STAR_IMPORT:
|
||||
[type] A.B
|
||||
[qualifier] C.D.Companion.foo()
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package a.b.c.dependency
|
||||
|
||||
import a.b.c.dependency.Foo.Nested
|
||||
|
||||
class Foo {
|
||||
class Nested
|
||||
}
|
||||
|
||||
fun foo<caret>(): a.b.c.dependency.Foo.Nested = t
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
with SHORTEN_AND_IMPORT:
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
with SHORTEN_AND_STAR_IMPORT:
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package a.b.c.dependency
|
||||
|
||||
class Foo {
|
||||
class Nested
|
||||
}
|
||||
|
||||
fun foo<caret>(): a.b.c.dependency.Foo.Nested = t
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
[type] a.b.c.dependency.Foo
|
||||
with SHORTEN_AND_IMPORT:
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
with SHORTEN_AND_STAR_IMPORT:
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
Reference in New Issue
Block a user