IDE testdata: s/trait/interface

This commit is contained in:
Dmitry Jemerov
2015-05-12 20:39:44 +02:00
parent 99cad4b43f
commit 625096466e
698 changed files with 1049 additions and 1049 deletions
@@ -4,9 +4,9 @@ class InClassObject {
companion object {
class ClassObjectClass {}
trait ClassObjectTrait {}
interface ClassObjectTrait {}
trait ClassObjectTraitWithImpl {
interface ClassObjectTraitWithImpl {
fun foo() {}
}
@@ -1,9 +1,9 @@
fun foo() {
class LocalClass {}
trait LocalTrait {}
interface LocalTrait {}
trait LocalTraitWithImpl {
interface LocalTraitWithImpl {
fun foo() {}
}
@@ -1,6 +1,6 @@
package test
trait NoImplementationTrait {
interface NoImplementationTrait {
fun foo(): Int
fun some(): String
}
@@ -1,6 +1,6 @@
package test
trait TraitWithFunImplement {
interface TraitWithFunImplement {
fun foo(): Int {
return 12;
}
@@ -1,6 +1,6 @@
// FILE: before.kt
trait Some
interface Some
class <caret>SomeObject: Some
// FILE: after.kt
trait <caret>Some
interface <caret>Some
class SomeObject: Some
@@ -1,9 +1,9 @@
// FILE: before.kt
trait A {
interface A {
fun f() {}
}
trait B : A
interface B : A
open class C(b : B) : B by b, A {
}
@@ -13,11 +13,11 @@ class D(b : B) : C(b) {
}
// FILE: after.kt
trait A {
interface A {
fun <caret>f() {}
}
trait B : A
interface B : A
open class C(b : B) : B by b, A {
}
@@ -1,10 +1,10 @@
// FILE: before.kt
trait A {
interface A {
val f: Int
get() = 3
}
trait B : A
interface B : A
open class C(b : B) : B by b, A {
}
@@ -14,12 +14,12 @@ class D(b : B) : C(b) {
}
// FILE: after.kt
trait A {
interface A {
val <caret>f: Int
get() = 3
}
trait B : A
interface B : A
open class C(b : B) : B by b, A {
}
@@ -1,23 +1,23 @@
// FILE: before.kt
trait A {
interface A {
fun f() {}
}
trait B : A
interface B : A
trait C : B, A
interface C : B, A
class SomeClass() : C {
override fun <caret>f() {}
}
// FILE: after.kt
trait A {
interface A {
fun <caret>f() {}
}
trait B : A
interface B : A
trait C : B, A
interface C : B, A
class SomeClass() : C {
override fun f() {}
@@ -1,27 +1,27 @@
// FILE: before.kt
trait A {
interface A {
fun f() {}
}
trait B : A {
interface B : A {
override fun f() {}
}
trait C : B, A
interface C : B, A
class SomeClass() : C {
override fun <caret>f() {}
}
// FILE: after.kt
trait A {
interface A {
fun f() {}
}
trait B : A {
interface B : A {
override fun <caret>f() {}
}
trait C : B, A
interface C : B, A
class SomeClass() : C {
override fun f() {}
@@ -1,25 +1,25 @@
// FILE: before.kt
trait A {
interface A {
val f: Int
get() = 2
}
trait B : A
interface B : A
trait C : B, A
interface C : B, A
class SomeClass() : C {
override val <caret>f: Int = 4
}
// FILE: after.kt
trait A {
interface A {
val <caret>f: Int
get() = 2
}
trait B : A
interface B : A
trait C : B, A
interface C : B, A
class SomeClass() : C {
override val f: Int = 4
@@ -1,5 +1,5 @@
// FILE: before.kt
trait Some {
interface Some {
fun test()
}
class SomeObject: Some {
@@ -8,7 +8,7 @@ class SomeObject: Some {
}
}
// FILE: after.kt
trait Some {
interface Some {
fun <caret>test()
}
class SomeObject: Some {
@@ -1,6 +1,6 @@
// FILE: b.kt
trait Some
interface Some
object <caret>SomeObject: Some
// FILE: a.kt
trait <caret>Some
interface <caret>Some
object SomeObject: Some
@@ -1,12 +1,12 @@
// FILE: b.kt
trait Some {
interface Some {
val test: Int
}
class SomeObject: Some {
override val <caret>test: Int = 1
}
// FILE: a.kt
trait Some {
interface Some {
val <caret>test: Int
}
class SomeObject: Some {
@@ -1,6 +1,6 @@
// FILE: a.kt
open class First
trait <caret>Second: First
interface <caret>Second: First
// FILE: b.kt
open class <caret>First
trait Second: First
interface Second: First
@@ -4,7 +4,7 @@ fun some() {
val testInFun = 12
}
trait SomeTrait {
interface SomeTrait {
val testInTrait
}
@@ -1,8 +1,8 @@
package testing
trait Test
interface Test
trait TestMore: <caret>Test
interface TestMore: <caret>Test
open class TestClass1: Test
@@ -1,4 +1,4 @@
trait KotlinTrait: <caret>JavaBase
interface KotlinTrait: <caret>JavaBase
class KotlinClass : JavaBase
@@ -1,8 +1,8 @@
package testing.kt
trait Base
interface Base
trait Derived: <caret>Base
interface Derived: <caret>Base
// REF: (testing.jj).JavaClass
// REF: (testing.jj).JavaInterface