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.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() {
}
}