[AA] Add packages to sealed inheritors tests
^KT-66013
This commit is contained in:
committed by
Space Team
parent
4fa0f1316d
commit
ed62211e06
+3
-1
@@ -1,5 +1,7 @@
|
||||
// MODULE: dependency
|
||||
// FILE: MySealedClass.kt
|
||||
package foo.bar
|
||||
|
||||
sealed class MySealedClass
|
||||
|
||||
class OneSealedChild : MySealedClass()
|
||||
@@ -8,4 +10,4 @@ class TwoSealedChild : MySealedClass()
|
||||
// MODULE: main(dependency)
|
||||
// FILE: main.kt
|
||||
|
||||
// class: MySealedClass
|
||||
// class: foo/bar/MySealedClass
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedClass()
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : MySealedClass()
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
// MODULE: lib
|
||||
// MODULE_KIND: LibraryBinary
|
||||
// FILE: MySealedClass.kt
|
||||
package foo.bar
|
||||
|
||||
sealed class MySealedClass
|
||||
|
||||
class OneSealedChild : MySealedClass()
|
||||
@@ -9,4 +11,4 @@ class TwoSealedChild : MySealedClass()
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
|
||||
// class: MySealedClass
|
||||
// class: foo/bar/MySealedClass
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedClass()
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : MySealedClass()
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
package foo.bar
|
||||
|
||||
sealed class MySealedClass
|
||||
|
||||
class OneSealedChild : MySealedClass()
|
||||
class TwoSealedChild : MySealedClass()
|
||||
|
||||
// class: MySealedClass
|
||||
// class: foo/bar/MySealedClass
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedClass()
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : MySealedClass()
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
+3
-1
@@ -1,5 +1,7 @@
|
||||
// MODULE: dependency
|
||||
// FILE: MySealedClass.kt
|
||||
package foo.bar
|
||||
|
||||
sealed class MySealedClass
|
||||
|
||||
typealias T1 = MySealedClass
|
||||
@@ -12,4 +14,4 @@ class ThreeSealedChild : T2()
|
||||
// MODULE: main(dependency)
|
||||
// FILE: main.kt
|
||||
|
||||
// class: MySealedClass
|
||||
// class: foo/bar/MySealedClass
|
||||
|
||||
+6
-6
@@ -1,8 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedClass()
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : T2()
|
||||
foo/bar/ThreeSealedChild
|
||||
class ThreeSealedChild : foo.bar.T2()
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : T1()
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.T1()
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
// MODULE: lib
|
||||
// MODULE_KIND: LibraryBinary
|
||||
// FILE: MySealedClass.kt
|
||||
package foo.bar
|
||||
|
||||
sealed class MySealedClass
|
||||
|
||||
typealias T1 = MySealedClass
|
||||
@@ -13,4 +15,4 @@ class ThreeSealedChild : T2()
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
|
||||
// class: MySealedClass
|
||||
// class: foo/bar/MySealedClass
|
||||
|
||||
+6
-6
@@ -1,8 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedClass()
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : MySealedClass()
|
||||
foo/bar/ThreeSealedChild
|
||||
class ThreeSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : MySealedClass()
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
package foo.bar
|
||||
|
||||
sealed class MySealedClass
|
||||
|
||||
typealias T1 = MySealedClass
|
||||
@@ -7,4 +9,4 @@ class OneSealedChild : MySealedClass()
|
||||
class TwoSealedChild : T1()
|
||||
class ThreeSealedChild : T2()
|
||||
|
||||
// class: MySealedClass
|
||||
// class: foo/bar/MySealedClass
|
||||
|
||||
+6
-6
@@ -1,8 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedClass()
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedClass()
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : T2()
|
||||
foo/bar/ThreeSealedChild
|
||||
class ThreeSealedChild : foo.bar.T2()
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : T1()
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.T1()
|
||||
|
||||
+3
-1
@@ -1,5 +1,7 @@
|
||||
// MODULE: dependency
|
||||
// FILE: MySealedInterface.kt
|
||||
package foo.bar
|
||||
|
||||
sealed interface MySealedInterface
|
||||
|
||||
class OneSealedChild : MySealedInterface
|
||||
@@ -8,4 +10,4 @@ class TwoSealedChild : MySealedInterface
|
||||
// MODULE: main(dependency)
|
||||
// FILE: main.kt
|
||||
|
||||
// class: MySealedInterface
|
||||
// class: foo/bar/MySealedInterface
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedInterface
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : MySealedInterface
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
// MODULE: lib
|
||||
// MODULE_KIND: LibraryBinary
|
||||
// FILE: MySealedInterface.kt
|
||||
package foo.bar
|
||||
|
||||
sealed interface MySealedInterface
|
||||
|
||||
class OneSealedChild : MySealedInterface
|
||||
@@ -9,4 +11,4 @@ class TwoSealedChild : MySealedInterface
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
|
||||
// class: MySealedInterface
|
||||
// class: foo/bar/MySealedInterface
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedInterface
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : MySealedInterface
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
package foo.bar
|
||||
|
||||
sealed interface MySealedInterface
|
||||
|
||||
class OneSealedChild : MySealedInterface
|
||||
class TwoSealedChild : MySealedInterface
|
||||
|
||||
// class: MySealedInterface
|
||||
// class: foo/bar/MySealedInterface
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedInterface
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : MySealedInterface
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
+3
-1
@@ -1,5 +1,7 @@
|
||||
// MODULE: dependency
|
||||
// FILE: MySealedInterface.kt
|
||||
package foo.bar
|
||||
|
||||
sealed interface MySealedInterface
|
||||
|
||||
typealias T1 = MySealedInterface
|
||||
@@ -12,4 +14,4 @@ class ThreeSealedChild : T2
|
||||
// MODULE: main(dependency)
|
||||
// FILE: main.kt
|
||||
|
||||
// class: MySealedInterface
|
||||
// class: foo/bar/MySealedInterface
|
||||
|
||||
+6
-6
@@ -1,8 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedInterface
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : T2
|
||||
foo/bar/ThreeSealedChild
|
||||
class ThreeSealedChild : foo.bar.T2
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : T1
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.T1
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
// MODULE: lib
|
||||
// MODULE_KIND: LibraryBinary
|
||||
// FILE: MySealedInterface.kt
|
||||
package foo.bar
|
||||
|
||||
sealed interface MySealedInterface
|
||||
|
||||
typealias T1 = MySealedInterface
|
||||
@@ -13,4 +15,4 @@ class ThreeSealedChild : T2
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
|
||||
// class: MySealedInterface
|
||||
// class: foo/bar/MySealedInterface
|
||||
|
||||
+6
-6
@@ -1,8 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedInterface
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : MySealedInterface
|
||||
foo/bar/ThreeSealedChild
|
||||
class ThreeSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : MySealedInterface
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
package foo.bar
|
||||
|
||||
sealed interface MySealedInterface
|
||||
|
||||
typealias T1 = MySealedInterface
|
||||
@@ -7,4 +9,4 @@ class OneSealedChild : MySealedInterface
|
||||
class TwoSealedChild : T1
|
||||
class ThreeSealedChild : T2
|
||||
|
||||
// class: MySealedInterface
|
||||
// class: foo/bar/MySealedInterface
|
||||
|
||||
+6
-6
@@ -1,8 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedInterface
|
||||
foo/bar/OneSealedChild
|
||||
class OneSealedChild : foo.bar.MySealedInterface
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : T2
|
||||
foo/bar/ThreeSealedChild
|
||||
class ThreeSealedChild : foo.bar.T2
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : T1
|
||||
foo/bar/TwoSealedChild
|
||||
class TwoSealedChild : foo.bar.T1
|
||||
|
||||
Reference in New Issue
Block a user