Safe Delete: Move test classes and test data to refactoring directory
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import test.A
|
||||
|
||||
class <caret>A {
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
import test.A
|
||||
|
||||
class <caret>A {
|
||||
|
||||
}
|
||||
|
||||
class B: A {
|
||||
|
||||
}
|
||||
|
||||
val v1 = A::class
|
||||
+1
@@ -0,0 +1 @@
|
||||
class test.A has 2 usages that are not safe to delete.
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
import test.A
|
||||
|
||||
class <caret>A {
|
||||
|
||||
}
|
||||
|
||||
class B: A {
|
||||
|
||||
}
|
||||
|
||||
// A
|
||||
val a = "A"
|
||||
+1
@@ -0,0 +1 @@
|
||||
class test.A has 3 usages that are not safe to delete.Of those 2 usages are in strings, comments, non-code files or generated code.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
open class <caret>Foo() {
|
||||
constructor(p: Int) : this()
|
||||
}
|
||||
|
||||
class Bar : Foo(1)
|
||||
+1
@@ -0,0 +1 @@
|
||||
class Foo has 1 usage that is not safe to delete.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class <caret>Foo() {
|
||||
constructor(p: Int) : this()
|
||||
}
|
||||
|
||||
class Bar
|
||||
+1
@@ -0,0 +1 @@
|
||||
class Bar
|
||||
@@ -0,0 +1,7 @@
|
||||
fun foo() {
|
||||
class <caret>A {
|
||||
|
||||
}
|
||||
|
||||
A()
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class foo.A has 1 usage that is not safe to delete.
|
||||
@@ -0,0 +1,5 @@
|
||||
fun foo() {
|
||||
class <caret>A {
|
||||
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
fun foo() {
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
import test.A.C
|
||||
|
||||
class A {
|
||||
class <caret>C {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
class A {
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
import test.A.C
|
||||
|
||||
class A {
|
||||
class <caret>C {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
val x = A.C()
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class test.A.C has 1 usage that is not safe to delete.
|
||||
@@ -0,0 +1,11 @@
|
||||
class C {
|
||||
|
||||
}
|
||||
|
||||
class <caret>A {
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class C {
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
import test.A
|
||||
|
||||
interface <caret>A {
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import test.A
|
||||
|
||||
interface <caret>A {
|
||||
|
||||
}
|
||||
|
||||
class B: A {
|
||||
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
interface test.A has 1 usage that is not safe to delete.
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
import test.A.C
|
||||
|
||||
class <caret>A {
|
||||
class C {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class test.A has 1 usage that is not safe to delete.
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
class J extends B {
|
||||
public J() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
open class <caret>B() {
|
||||
constructor(a: Int): this() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
open class A: B {
|
||||
constructor(a: Int): super() {
|
||||
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class B has 3 usages that are not safe to delete.
|
||||
Reference in New Issue
Block a user