[Commonizer] Drop useless annotation tests
^KMM-238 ^KMM-53
This commit is contained in:
Vendored
-5
@@ -1,9 +1,6 @@
|
||||
expect annotation class CommonAnnotationForAnnotationClassesOnly(text: String) { val text: String }
|
||||
expect annotation class CommonAnnotation(text: String) { val text: String }
|
||||
|
||||
//expect annotation class CommonOuterAnnotation(inner: CommonInnerAnnotation) { val inner: CommonInnerAnnotation }
|
||||
//expect annotation class CommonInnerAnnotation(text: String) { val text: String }
|
||||
|
||||
expect var propertyWithoutBackingField: Double
|
||||
expect val propertyWithBackingField: Double
|
||||
expect val propertyWithDelegateField: Int
|
||||
@@ -15,5 +12,3 @@ expect fun <Q : Number> Q.function2(): Q
|
||||
expect class AnnotatedClass(value: String) { val value: String }
|
||||
typealias AnnotatedLiftedUpTypeAlias = AnnotatedClass
|
||||
expect class AnnotatedNonLiftedUpTypeAlias
|
||||
|
||||
//expect object ObjectWithNestedAnnotations
|
||||
|
||||
-12
@@ -16,14 +16,6 @@ annotation class JsAnnotationForAnnotationClassesOnly(val text: String)
|
||||
@CommonAnnotationForAnnotationClassesOnly("annotation-class")
|
||||
annotation class JsAnnotation(val text: String)
|
||||
|
||||
//@Target(AnnotationTarget.CLASS)
|
||||
//actual annotation class CommonOuterAnnotation(actual val inner: CommonInnerAnnotation)
|
||||
//actual annotation class CommonInnerAnnotation(actual val text: String)
|
||||
|
||||
//@Target(AnnotationTarget.CLASS)
|
||||
//annotation class JsOuterAnnotation(val inner: JsInnerAnnotation)
|
||||
//annotation class JsInnerAnnotation(val text: String)
|
||||
|
||||
@JsAnnotation("property")
|
||||
@CommonAnnotation("property")
|
||||
actual var propertyWithoutBackingField
|
||||
@@ -60,7 +52,3 @@ class JsOnlyAnnotatedClass @JsAnnotation("js-only-constructor") @CommonAnnotatio
|
||||
@JsAnnotation("non-lifted-up-type-alias")
|
||||
@CommonAnnotation("non-lifted-up-type-alias")
|
||||
actual typealias AnnotatedNonLiftedUpTypeAlias = JsOnlyAnnotatedClass
|
||||
|
||||
//@JsOuterAnnotation(inner = JsInnerAnnotation("nested-annotations"))
|
||||
//@CommonOuterAnnotation(inner = CommonInnerAnnotation("nested-annotations"))
|
||||
//actual object ObjectWithNestedAnnotations
|
||||
|
||||
-12
@@ -16,14 +16,6 @@ annotation class JvmAnnotationForAnnotationClassesOnly(val text: String)
|
||||
@CommonAnnotationForAnnotationClassesOnly("annotation-class")
|
||||
annotation class JvmAnnotation(val text: String)
|
||||
|
||||
//@Target(AnnotationTarget.CLASS)
|
||||
//actual annotation class CommonOuterAnnotation(actual val inner: CommonInnerAnnotation)
|
||||
//actual annotation class CommonInnerAnnotation(actual val text: String)
|
||||
//
|
||||
//@Target(AnnotationTarget.CLASS)
|
||||
//annotation class JvmOuterAnnotation(val inner: JvmInnerAnnotation)
|
||||
//annotation class JvmInnerAnnotation(val text: String)
|
||||
|
||||
@JvmAnnotation("property")
|
||||
@CommonAnnotation("property")
|
||||
actual var propertyWithoutBackingField
|
||||
@@ -60,7 +52,3 @@ class JvmOnlyAnnotatedClass @JvmAnnotation("jvm-only-constructor") @CommonAnnota
|
||||
@JvmAnnotation("non-lifted-up-type-alias")
|
||||
@CommonAnnotation("non-lifted-up-type-alias")
|
||||
actual typealias AnnotatedNonLiftedUpTypeAlias = JvmOnlyAnnotatedClass
|
||||
|
||||
//@JvmOuterAnnotation(inner = JvmInnerAnnotation("nested-annotations"))
|
||||
//@CommonOuterAnnotation(inner = CommonInnerAnnotation("nested-annotations"))
|
||||
//actual object ObjectWithNestedAnnotations
|
||||
|
||||
-12
@@ -16,14 +16,6 @@ annotation class JsAnnotationForAnnotationClassesOnly(val text: String)
|
||||
@CommonAnnotationForAnnotationClassesOnly("annotation-class")
|
||||
annotation class JsAnnotation(val text: String)
|
||||
|
||||
//@Target(AnnotationTarget.CLASS)
|
||||
//annotation class CommonOuterAnnotation(val inner: CommonInnerAnnotation)
|
||||
//annotation class CommonInnerAnnotation(val text: String)
|
||||
//
|
||||
//@Target(AnnotationTarget.CLASS)
|
||||
//annotation class JsOuterAnnotation(val inner: JsInnerAnnotation)
|
||||
//annotation class JsInnerAnnotation(val text: String)
|
||||
|
||||
@JsAnnotation("property")
|
||||
@CommonAnnotation("property")
|
||||
var propertyWithoutBackingField
|
||||
@@ -64,7 +56,3 @@ typealias AnnotatedLiftedUpTypeAlias = AnnotatedClass
|
||||
@JsAnnotation("non-lifted-up-type-alias")
|
||||
@CommonAnnotation("non-lifted-up-type-alias")
|
||||
typealias AnnotatedNonLiftedUpTypeAlias = JsOnlyAnnotatedClass
|
||||
|
||||
//@JsOuterAnnotation(inner = JsInnerAnnotation("nested-annotations"))
|
||||
//@CommonOuterAnnotation(inner = CommonInnerAnnotation("nested-annotations"))
|
||||
//object ObjectWithNestedAnnotations
|
||||
|
||||
-12
@@ -16,14 +16,6 @@ annotation class JvmAnnotationForAnnotationClassesOnly(val text: String)
|
||||
@CommonAnnotationForAnnotationClassesOnly("annotation-class")
|
||||
annotation class JvmAnnotation(val text: String)
|
||||
|
||||
//@Target(AnnotationTarget.CLASS)
|
||||
//annotation class CommonOuterAnnotation(val inner: CommonInnerAnnotation)
|
||||
//annotation class CommonInnerAnnotation(val text: String)
|
||||
//
|
||||
//@Target(AnnotationTarget.CLASS)
|
||||
//annotation class JvmOuterAnnotation(val inner: JvmInnerAnnotation)
|
||||
//annotation class JvmInnerAnnotation(val text: String)
|
||||
|
||||
@JvmAnnotation("property")
|
||||
@CommonAnnotation("property")
|
||||
var propertyWithoutBackingField
|
||||
@@ -64,7 +56,3 @@ typealias AnnotatedLiftedUpTypeAlias = AnnotatedClass
|
||||
@JvmAnnotation("non-lifted-up-type-alias")
|
||||
@CommonAnnotation("non-lifted-up-type-alias")
|
||||
typealias AnnotatedNonLiftedUpTypeAlias = JvmOnlyAnnotatedClass
|
||||
|
||||
//@JvmOuterAnnotation(inner = JvmInnerAnnotation("nested-annotations"))
|
||||
//@CommonOuterAnnotation(inner = CommonInnerAnnotation("nested-annotations"))
|
||||
//object ObjectWithNestedAnnotations
|
||||
|
||||
Reference in New Issue
Block a user