Safe Delete: Move test classes and test data to refactoring directory

This commit is contained in:
Alexey Sedunov
2015-12-08 16:32:16 +03:00
parent a76f43b66c
commit ffc8b6fd89
504 changed files with 229 additions and 229 deletions
@@ -0,0 +1,7 @@
interface A
fun foo(): A {
return <caret>object: A {
}
}
@@ -0,0 +1,7 @@
interface A
fun foo(): A {
return object: A {
}
}
@@ -0,0 +1,6 @@
class A {
fun foo(): Int = 0
companion ob<caret>ject {}
}
@@ -0,0 +1,4 @@
class A {
fun foo(): Int = 0
}
@@ -0,0 +1,7 @@
fun foo() {
object <caret>A {
}
A
}
@@ -0,0 +1,4 @@
fun foo() {
A
}
@@ -0,0 +1 @@
object foo.A has 1 usage that is not safe to delete.
@@ -0,0 +1,5 @@
fun foo() {
object <caret>A {
}
}
@@ -0,0 +1,2 @@
fun foo() {
}
@@ -0,0 +1,11 @@
package test
object A {
object <caret>O {
}
}
class B {
}
@@ -0,0 +1,8 @@
package test
object A {
}
class B {
}
@@ -0,0 +1,13 @@
package test
import test.A.O
object A {
object <caret>O {
}
}
class B {
val x = A.O
}
@@ -0,0 +1 @@
object test.A.O has 1 usage that is not safe to delete.
@@ -0,0 +1,11 @@
class C {
}
object <caret>A {
}
class B {
}
@@ -0,0 +1,7 @@
class C {
}
class B {
}
@@ -0,0 +1,11 @@
package test
import test.A
object <caret>A {
}
class B {
}
@@ -0,0 +1,5 @@
package test
class B {
}
@@ -0,0 +1,13 @@
package test
import test.A
object <caret>A {
}
class B {
val x = A
}
val v1 = A::class
@@ -0,0 +1 @@
object test.A has 2 usages that are not safe to delete.
@@ -0,0 +1,11 @@
package test
import test.A.x
object <caret>A {
val x = ""
}
class B {
}
@@ -0,0 +1 @@
object test.A has 1 usage that is not safe to delete.