[JS] Migrate tests onto IR compiler with outputDir API instead of outputFile
^KT-61117 fixed
This commit is contained in:
committed by
Space Team
parent
e50f6e6bca
commit
08e3cb300a
Vendored
+5
-5
@@ -1,10 +1,10 @@
|
||||
PROTO DIFFERENCE in test/AnnotationAdded: JS_EXT_CLASS_ANNOTATION_LIST
|
||||
PROTO DIFFERENCE in test/AnnotationAdded: KLIB_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationListBecomeEmpty: FLAGS, JS_EXT_CLASS_ANNOTATION_LIST
|
||||
PROTO DIFFERENCE in test/AnnotationListBecomeEmpty: FLAGS, KLIB_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationListBecomeEmpty: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationListBecomeNotEmpty: FLAGS, JS_EXT_CLASS_ANNOTATION_LIST
|
||||
PROTO DIFFERENCE in test/AnnotationListBecomeNotEmpty: FLAGS, KLIB_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationListBecomeNotEmpty: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationRemoved: JS_EXT_CLASS_ANNOTATION_LIST
|
||||
PROTO DIFFERENCE in test/AnnotationRemoved: KLIB_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationReplaced: JS_EXT_CLASS_ANNOTATION_LIST
|
||||
PROTO DIFFERENCE in test/AnnotationReplaced: KLIB_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationReplaced: CLASS_SIGNATURE
|
||||
|
||||
+4
-4
@@ -2,10 +2,10 @@ PROTO DIFFERENCE in test/AbstractFlagAdded: FLAGS
|
||||
CHANGES in test/AbstractFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AbstractFlagRemoved: FLAGS
|
||||
CHANGES in test/AbstractFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationFlagAdded: FLAGS, SUPERTYPE_LIST
|
||||
PROTO DIFFERENCE in test/AnnotationFlagAdded: FLAGS, SUPERTYPE_ID_LIST
|
||||
CHANGES in test/AnnotationFlagAdded: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Annotation, kotlin.Any]
|
||||
PROTO DIFFERENCE in test/AnnotationFlagRemoved: FLAGS, SUPERTYPE_LIST
|
||||
PROTO DIFFERENCE in test/AnnotationFlagRemoved: FLAGS, SUPERTYPE_ID_LIST
|
||||
CHANGES in test/AnnotationFlagRemoved: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Annotation, kotlin.Any]
|
||||
PROTO DIFFERENCE in test/DataFlagAdded: FLAGS, FUNCTION_LIST
|
||||
@@ -14,10 +14,10 @@ CHANGES in test/DataFlagAdded: CLASS_SIGNATURE, MEMBERS
|
||||
PROTO DIFFERENCE in test/DataFlagRemoved: FLAGS, FUNCTION_LIST
|
||||
CHANGES in test/DataFlagRemoved: CLASS_SIGNATURE, MEMBERS
|
||||
[component1, copy, equals, hashCode, toString]
|
||||
PROTO DIFFERENCE in test/EnumFlagAdded: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_LIST
|
||||
PROTO DIFFERENCE in test/EnumFlagAdded: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_ID_LIST
|
||||
CHANGES in test/EnumFlagAdded: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, kotlin.Enum]
|
||||
PROTO DIFFERENCE in test/EnumFlagRemoved: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_LIST
|
||||
PROTO DIFFERENCE in test/EnumFlagRemoved: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_ID_LIST
|
||||
CHANGES in test/EnumFlagRemoved: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, kotlin.Enum]
|
||||
PROTO DIFFERENCE in test/InnerClassHolder.InnerFlagAdded: FLAGS
|
||||
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/ClassWithSuperTypeListChanged: SUPERTYPE_ID_LIST
|
||||
CHANGES in test/ClassWithSuperTypeListChanged: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, kotlin.Throwable]
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/Base.Nested1.Nested2: SUPERTYPE_ID_LIST
|
||||
CHANGES in test/Base.Nested1.Nested2: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base]
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
ADDED test/Impl11
|
||||
PROTO DIFFERENCE in test/Base1: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base2: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Impl22: SUPERTYPE_ID_LIST
|
||||
CHANGES in test/Impl22: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base2]
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
REMOVED test/Impl11
|
||||
PROTO DIFFERENCE in test/Base1: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base2: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Impl22: SUPERTYPE_ID_LIST
|
||||
CHANGES in test/Impl22: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base2]
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
ADDED test/Base1.Nested2
|
||||
PROTO DIFFERENCE in test/Base1: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1: CLASS_SIGNATURE, MEMBERS
|
||||
[Nested2]
|
||||
PROTO DIFFERENCE in test/Base2: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base2.Nested2: SUPERTYPE_ID_LIST
|
||||
CHANGES in test/Base2.Nested2: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base2]
|
||||
jps/jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAddedDeep/result-js.out
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
ADDED test/Base1.Nested1.Nested2.Nested3
|
||||
ADDED test/Base2.Nested1.Nested3
|
||||
PROTO DIFFERENCE in test/Base1.Nested1.Nested2: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1.Nested1.Nested2: CLASS_SIGNATURE, MEMBERS
|
||||
[Nested3]
|
||||
PROTO DIFFERENCE in test/Base2.Nested1: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2.Nested1: CLASS_SIGNATURE, MEMBERS
|
||||
[Nested3]
|
||||
PROTO DIFFERENCE in test/Base3.Nested1: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base3.Nested1: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base3.Nested1.Nested2: SUPERTYPE_ID_LIST
|
||||
CHANGES in test/Base3.Nested1.Nested2: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base3.Nested1]
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
REMOVED test/Base1.Nested2
|
||||
PROTO DIFFERENCE in test/Base1: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1: CLASS_SIGNATURE, MEMBERS
|
||||
[Nested2]
|
||||
PROTO DIFFERENCE in test/Base2: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base2.Nested2: SUPERTYPE_ID_LIST
|
||||
CHANGES in test/Base2.Nested2: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base2]
|
||||
Vendored
+1
-4
@@ -1,7 +1,4 @@
|
||||
c [sourceSetHolder]
|
||||
|
||||
pJvm [compilationAndSourceSetHolder, jvm]
|
||||
pJvm -> c [include]
|
||||
|
||||
pJs [compilationAndSourceSetHolder, js]
|
||||
pJs -> c [include]
|
||||
pJvm -> c [include]
|
||||
+12
-28
@@ -1,34 +1,6 @@
|
||||
================ Step #1 make compilation fail =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Cleaning output files:
|
||||
out/production/pJs/pJs.js
|
||||
out/production/pJs/pJs.meta.js
|
||||
out/production/pJs/pJs/root-package.kjsm
|
||||
End of files
|
||||
Complementary files. Marked as dirty by Kotlin:
|
||||
pJs/src/fJs.kt
|
||||
Compiling files:
|
||||
c/src/f.kt
|
||||
pJs/src/fJs.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
[pJs] Expecting a top level declaration
|
||||
[pJs] Expecting a top level declaration
|
||||
|
||||
================ Step #2 fix error =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Compiling files:
|
||||
c/src/f.kt
|
||||
pJs/src/fJs.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Building pJvm
|
||||
Cleaning output files:
|
||||
out/production/pJvm/META-INF/pJvm.kotlin_module
|
||||
@@ -42,5 +14,17 @@ Compiling files:
|
||||
c/src/f.kt
|
||||
pJvm/src/fJvm.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
|
||||
================ Step #2 fix error =================
|
||||
|
||||
Building c
|
||||
Building pJvm
|
||||
Compiling files:
|
||||
c/src/f.kt
|
||||
pJvm/src/fJvm.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+1
-4
@@ -1,7 +1,4 @@
|
||||
c [sourceSetHolder]
|
||||
|
||||
pJvm [compilationAndSourceSetHolder, jvm]
|
||||
pJvm -> c [include]
|
||||
|
||||
pJs [compilationAndSourceSetHolder, js]
|
||||
pJs -> c [include]
|
||||
pJvm -> c [include]
|
||||
Vendored
+15
-35
@@ -1,41 +1,6 @@
|
||||
================ Step #1 make compilation fail =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Cleaning output files:
|
||||
out/production/pJs/pJs.js
|
||||
out/production/pJs/pJs.meta.js
|
||||
out/production/pJs/pJs/root-package.kjsm
|
||||
End of files
|
||||
Complementary files. Marked as dirty by Kotlin:
|
||||
c/src/g.kt
|
||||
pJs/src/fg.kt
|
||||
Compiling files:
|
||||
c/src/f.kt
|
||||
c/src/g.kt
|
||||
pJs/src/fg.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
[pJs] Expecting a top level declaration
|
||||
[pJs] Expecting a top level declaration
|
||||
|
||||
================ Step #2 fix error =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Complementary files. Marked as dirty by Kotlin:
|
||||
c/src/g.kt
|
||||
Compiling files:
|
||||
c/src/f.kt
|
||||
c/src/g.kt
|
||||
pJs/src/fg.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
ChunkBuildStarted. Marked as dirty by Kotlin:
|
||||
c/src/g.kt
|
||||
Building pJvm
|
||||
Cleaning output files:
|
||||
out/production/pJvm/META-INF/pJvm.kotlin_module
|
||||
@@ -51,5 +16,20 @@ Compiling files:
|
||||
c/src/g.kt
|
||||
pJvm/src/fg.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
|
||||
================ Step #2 fix error =================
|
||||
|
||||
Building c
|
||||
Building pJvm
|
||||
Complementary files. Marked as dirty by Kotlin:
|
||||
c/src/g.kt
|
||||
Compiling files:
|
||||
c/src/f.kt
|
||||
c/src/g.kt
|
||||
pJvm/src/fg.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Reference in New Issue
Block a user