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,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
@@ -0,0 +1 @@
class test.A has 2 usages that are not safe to delete.
@@ -0,0 +1,14 @@
package test
import test.A
class <caret>A {
}
class B: A {
}
// A
val a = "A"
@@ -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.
@@ -0,0 +1,5 @@
open class <caret>Foo() {
constructor(p: Int) : this()
}
class Bar : Foo(1)
@@ -0,0 +1 @@
class Foo has 1 usage that is not safe to delete.
@@ -0,0 +1,5 @@
class <caret>Foo() {
constructor(p: Int) : this()
}
class Bar
@@ -0,0 +1,7 @@
fun foo() {
class <caret>A {
}
A()
}
@@ -0,0 +1 @@
class foo.A has 1 usage that is not safe to delete.
@@ -0,0 +1,5 @@
fun foo() {
class <caret>A {
}
}
@@ -0,0 +1,2 @@
fun foo() {
}
@@ -0,0 +1,13 @@
package test
import test.A.C
class A {
class <caret>C {
}
}
class B {
}
@@ -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()
}
@@ -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 {
}
@@ -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 {
}
@@ -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 {
}
@@ -0,0 +1 @@
class test.A has 1 usage that is not safe to delete.
@@ -0,0 +1,5 @@
class J extends B {
public J() {
super();
}
}
@@ -0,0 +1,11 @@
open class <caret>B() {
constructor(a: Int): this() {
}
}
open class A: B {
constructor(a: Int): super() {
}
}
@@ -0,0 +1 @@
class B has 3 usages that are not safe to delete.
@@ -0,0 +1,10 @@
interface A {
public void <caret>foo();
}
abstract class C implements B {
@Override
public void foo() {
}
}
@@ -0,0 +1,5 @@
interface A {
}
abstract class C implements B {
}
@@ -0,0 +1,11 @@
interface B: A {
public override fun foo() {
throw UnsupportedOperationException()
}
}
class D: C() {
public override fun foo() {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,5 @@
interface B: A {
}
class D: C() {
}
@@ -0,0 +1,10 @@
interface A {
public void foo();
}
abstract class C implements B {
@Override
public void <caret>foo() {
}
}
@@ -0,0 +1,6 @@
interface A {
public void foo();
}
abstract class C implements B {
}
@@ -0,0 +1,11 @@
interface B: A {
public override fun foo() {
throw UnsupportedOperationException()
}
}
class D: C() {
public override fun foo() {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,8 @@
interface B: A {
public override fun foo() {
throw UnsupportedOperationException()
}
}
class D: C() {
}
@@ -0,0 +1,11 @@
package test
import test.foo
fun <caret>foo() {
}
class B {
}
@@ -0,0 +1,5 @@
package test
class B {
}
@@ -0,0 +1,11 @@
package test
import test.foo
fun <caret>foo() {
}
class B {
val ref = ::foo
}
@@ -0,0 +1 @@
function test.foo has 1 usage that is not safe to delete.
@@ -0,0 +1,11 @@
package test
import test.foo
class B {
}
fun B.<caret>foo() {
}
@@ -0,0 +1,5 @@
package test
class B {
}
@@ -0,0 +1,11 @@
package test
import test.foo
class B {
val ref = ::foo
}
fun B.<caret>foo() {
}
@@ -0,0 +1 @@
function test.foo has 1 usage that is not safe to delete.
@@ -0,0 +1,9 @@
interface A {
fun foo()
}
class B: A {
override fun <caret>foo() {
}
}
@@ -0,0 +1 @@
fun foo(): kotlin.Unit in final class B : A implements fun foo(): kotlin.Unit in interface A.
@@ -0,0 +1,13 @@
interface A {
fun foo()
}
interface Z {
fun foo()
}
class B: A, Z {
override fun <caret>foo() {
}
}
@@ -0,0 +1,2 @@
fun foo(): kotlin.Unit in final class B : A, Z implements fun foo(): kotlin.Unit in interface A.
fun foo(): kotlin.Unit in final class B : A, Z implements fun foo(): kotlin.Unit in interface Z.
@@ -0,0 +1,7 @@
fun foo() {
fun <caret>bar() {
}
bar()
}
@@ -0,0 +1 @@
function foo.bar has 1 usage that is not safe to delete.
@@ -0,0 +1,7 @@
fun foo() {
fun <caret>bar() {
}
println()
}
@@ -0,0 +1,4 @@
fun foo() {
println()
}
@@ -0,0 +1,7 @@
fun foo() {
fun String.<caret>bar() {
}
"".bar()
}
@@ -0,0 +1 @@
function foo.bar has 1 usage that is not safe to delete.
@@ -0,0 +1,7 @@
fun foo() {
fun String.<caret>bar() {
}
println()
}
@@ -0,0 +1,4 @@
fun foo() {
println()
}
@@ -0,0 +1,7 @@
class C {
fun <caret>foo {
}
}
class B {
}
@@ -0,0 +1,5 @@
class C {
}
class B {
}
@@ -0,0 +1,11 @@
open class A {
open fun foo() {
}
}
class B: A {
override fun <caret>foo() {
}
}
@@ -0,0 +1,8 @@
open class A {
open fun foo() {
}
}
class B: A {
}
@@ -0,0 +1,11 @@
open class A {
open fun <caret>foo() {
}
}
class B: A {
override fun foo() {
}
}
@@ -0,0 +1,5 @@
open class A {
}
class B: A {
}
@@ -0,0 +1,15 @@
open class A {
open fun foo() {
}
}
interface Z {
fun foo()
}
class B: A, Z {
override fun <caret>foo() {
}
}
@@ -0,0 +1 @@
fun foo(): kotlin.Unit in final class B : A, Z implements fun foo(): kotlin.Unit in interface Z.
@@ -0,0 +1,15 @@
open class A {
open fun <caret>foo() {
}
}
interface Z {
fun foo()
}
class B: A, Z {
override fun foo() {
}
}
@@ -0,0 +1,12 @@
open class A {
}
interface Z {
fun foo()
}
class B: A, Z {
override fun foo() {
}
}
@@ -0,0 +1,15 @@
open class A {
open fun foo() {
}
}
interface Z {
fun <caret>foo()
}
class B: A(), Z {
override fun foo() {
}
}
@@ -0,0 +1,14 @@
open class A {
open fun foo() {
}
}
interface Z {
}
class B: A(), Z {
override fun foo() {
}
}
@@ -0,0 +1,15 @@
open class A {
open fun <caret>foo() {
}
}
class B: A {
fun bar() {
foo()
}
override fun foo() {
}
}
@@ -0,0 +1,12 @@
open class A {
}
class B: A {
fun bar() {
foo()
}
fun foo() {
}
}
@@ -0,0 +1,7 @@
package test;
class A {
void fun bar() {
FunExtKt.foo("");
}
}
@@ -0,0 +1,5 @@
package test
fun String.<caret>foo() {
}
@@ -0,0 +1 @@
function test.foo has 1 usage that is not safe to delete.
@@ -0,0 +1,3 @@
interface A {
void foo();
}
@@ -0,0 +1,5 @@
class B: A {
override fun <caret>foo() {
}
}
@@ -0,0 +1 @@
fun foo(): kotlin.Unit in final class B : A implements [Java] void foo() in interface A.
@@ -0,0 +1,5 @@
class B implements A {
public void foo() {
}
}
@@ -0,0 +1,2 @@
class B implements A {
}
@@ -0,0 +1,3 @@
interface A {
fun <caret>foo()
}
@@ -0,0 +1,2 @@
interface A {
}
@@ -0,0 +1,7 @@
interface A {
void foo();
}
interface Z {
void foo();
}
@@ -0,0 +1,5 @@
class B: A, Z {
public override fun <caret>foo() {
}
}
@@ -0,0 +1,2 @@
fun foo(): kotlin.Unit in final class B : A, Z implements [Java] void foo() in interface A.
fun foo(): kotlin.Unit in final class B : A, Z implements [Java] void foo() in interface Z.
@@ -0,0 +1,5 @@
class B implements A, Z {
public void foo() {
}
}
@@ -0,0 +1,5 @@
class B implements A, Z {
public void foo() {
}
}
@@ -0,0 +1,7 @@
interface A {
fun <caret>foo()
}
interface Z {
fun foo()
}
@@ -0,0 +1,6 @@
interface A {
}
interface Z {
fun foo()
}
@@ -0,0 +1,5 @@
class A {
void foo() {
}
}
@@ -0,0 +1,5 @@
class A {
void foo() {
}
}
@@ -0,0 +1,5 @@
class B: A {
override fun <caret>foo() {
}
}
@@ -0,0 +1,2 @@
class B: A {
}
@@ -0,0 +1,6 @@
class B extends A {
@Override
void foo() {
}
}
@@ -0,0 +1,2 @@
class B extends A {
}
@@ -0,0 +1,5 @@
open class A {
open fun <caret>foo() {
}
}
@@ -0,0 +1,2 @@
open class A {
}
@@ -0,0 +1,10 @@
class B extends A {
void bar() {
foo();
}
@Override
public void foo() {
}
}
@@ -0,0 +1,9 @@
class B extends A {
void bar() {
foo();
}
public void foo() {
}
}
@@ -0,0 +1,5 @@
open class A {
open fun <caret>foo() {
}
}
@@ -0,0 +1,2 @@
open class A {
}

Some files were not shown because too many files have changed in this diff Show More