From 538df64da22899d06fe4150b0bebf6aaeb385316 Mon Sep 17 00:00:00 2001 From: pogromist Date: Thu, 4 Sep 2025 09:13:28 +0300 Subject: [PATCH] ICW8Z4 cts update 13.7 export type directives Description: update existing tests for: - 13.7.3 Export Type Directive - 13.7.4 Re-Export Directive Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICW8Z4 Test: All required pre-merge tests passed. Results are available in the ggwatcher. Signed-off-by: pogromist --- .../03.export_type_directive/class_a.ets | 7 +++- .../03.export_type_directive/class_a_as_b.ets | 7 +++- .../class_a_as_b_twice.ets | 7 +++- .../export_already_declared.ets | 8 +++-- .../export_as_already_declared.ets | 8 +++-- .../export_multiple_types.ets | 33 +++++++++++++++++++ .../03.export_type_directive/export_type.ets | 29 ++++++++++++++++ .../export_type_of_as_type.ets | 9 +++-- .../export_type_of_as_type_neg.ets | 28 ++++++++++++++++ .../negative_export_as_by_old_name.ets | 6 ++-- .../negative_export_as_twice.ets | 6 ++-- .../03.export_type_directive/type_binding.ets | 29 ++++++++++++++++ .../type_binding_multiple.ets | 33 +++++++++++++++++++ .../type_binding_neg.ets | 23 +++++++++++++ .../type_binding_neg_2.ets | 24 ++++++++++++++ .../a.ets => modules/default_module.ets} | 7 ++-- .../{ => modules}/module_a.ets | 4 ++- .../{ => modules}/module_all.ets | 0 .../{ => modules}/module_all_renamed.ets | 0 .../{ => modules}/module_b.ets | 2 +- .../{ => modules}/module_b_re-export.ets | 2 +- .../a.ets => modules/re-export_default.ets} | 6 ++-- .../re-export_default_rename.ets} | 9 ++--- .../re-export_non-default.ets} | 9 ++--- .../04.re-export_directive/pkg03a/a.ets | 25 -------------- .../04.re-export_directive/re-export_all.ets | 4 +-- .../re-export_all_by_old_names.ets | 4 +-- .../re-export_all_namespace.ets | 6 ++-- .../re-export_all_with_rename.ets | 4 +-- .../a.ets => re-export_multiple_default.ets} | 10 +++--- .../reexport_from_self.ets | 23 +++++++++++++ .../reexport_from_self_2.ets | 23 +++++++++++++ ...-export_all.ets => reexported_default.ets} | 11 ++++--- ...th_rename.ets => reexported_default_2.ets} | 11 ++++--- ...old_names.ets => reexported_default_3.ets} | 11 ++++--- .../ets-cts/declgen-ets2ts-cts-ignored.txt | 19 +++++++---- .../test-lists/ets-cts/ets-cts-ignored.txt | 9 +++++ 37 files changed, 359 insertions(+), 97 deletions(-) create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_multiple_types.ets create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type.ets create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type_of_as_type_neg.ets create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding.ets create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_multiple.ets create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg.ets create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg_2.ets rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{pkg01b/a.ets => modules/default_module.ets} (85%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{ => modules}/module_a.ets (95%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{ => modules}/module_all.ets (100%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{ => modules}/module_all_renamed.ets (100%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{ => modules}/module_b.ets (98%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{ => modules}/module_b_re-export.ets (94%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{pkg03b/a.ets => modules/re-export_default.ets} (89%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{pkg01a/a.ets => modules/re-export_default_rename.ets} (83%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{pkg02a/a.ets => modules/re-export_non-default.ets} (83%) delete mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03a/a.ets rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{pkg02b/a.ets => re-export_multiple_default.ets} (75%) create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self.ets create mode 100644 static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self_2.ets rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{pkg03_re-export_all.ets => reexported_default.ets} (74%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{pkg02_re-export_all_with_rename.ets => reexported_default_2.ets} (72%) rename static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/{pkg01_re-export_all_by_old_names.ets => reexported_default_3.ets} (77%) diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a.ets index 907966dfc6..eb82a5e5d5 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a.ets @@ -17,5 +17,10 @@ limitations under the License. tags: [not-a-test, compile-only] ---*/ -class ClassA {} +class ClassA { + f: int + constructor(f: int) { + this.f = f + } +} export type {ClassA} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a_as_b.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a_as_b.ets index 9aff77765e..b671a67357 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a_as_b.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a_as_b.ets @@ -17,5 +17,10 @@ limitations under the License. tags: [not-a-test, compile-only] ---*/ -class ClassA {} +class ClassA { + f: int + constructor(f: int) { + this.f = f + } +} export type ClassB = ClassA diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a_as_b_twice.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a_as_b_twice.ets index b386e5881f..b161de33e1 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a_as_b_twice.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/class_a_as_b_twice.ets @@ -17,6 +17,11 @@ limitations under the License. tags: [not-a-test, compile-only] ---*/ -class ClassA {} +class ClassA { + f: int + constructor(f: int) { + this.f = f + } +} export type ClassB = ClassA export type {ClassB} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_already_declared.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_already_declared.ets index 75e5174ac2..8127b6c037 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_already_declared.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_already_declared.ets @@ -15,11 +15,13 @@ limitations under the License. /*--- desc: Export type directive -tags: [compile-only] +files: +- ./class_a.ets ---*/ import { ClassA } from './class_a' -function main(): int { - return 0 +function main() { + let a: ClassA = new ClassA(2) + arktest.assertEQ(a.f, 2) } diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_as_already_declared.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_as_already_declared.ets index 79e0250c75..5e35030149 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_as_already_declared.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_as_already_declared.ets @@ -15,11 +15,13 @@ limitations under the License. /*--- desc: Export type directive -tags: [compile-only] +files: +- ./class_a_as_b.ets ---*/ import { ClassB } from './class_a_as_b' -function main(): int { - return 0 +function main() { + let i: ClassB = new ClassB(3) + arktest.assertEQ(i.f, 3) } diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_multiple_types.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_multiple_types.ets new file mode 100644 index 0000000000..93fa721ad6 --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_multiple_types.ets @@ -0,0 +1,33 @@ +/*--- +Copyright (c) 2025 Huawei Device Co., Ltd. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +---*/ + +/*--- +desc: Export multiple types with binding +tags: [compile-only, not-a-test] +---*/ + +class B { + f: int = 7 +} + +class C { + f: int = 8 +} + +class D { + f: int = 9 +} + +export type {C as D, B, D as E} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type.ets new file mode 100644 index 0000000000..fee9bd15d7 --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type.ets @@ -0,0 +1,29 @@ +/*--- +Copyright (c) 2025 Huawei Device Co., Ltd. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +---*/ + +/*--- +desc: Export type with binding +tags: [compile-only, not-a-test] +---*/ + +class C { + f: int = 8 +} + +class D { + f: int = 9 +} + +export type {C as D} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type_of_as_type.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type_of_as_type.ets index 9808bced6c..dbbdd979e8 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type_of_as_type.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type_of_as_type.ets @@ -14,11 +14,14 @@ limitations under the License. ---*/ /*--- -desc: Export type directive, type is applied to classes and interfaces +desc: Export const variable type directive +files: +- ./const_as_type.ets ---*/ import { FOO } from './const_as_type' -function main(): int { - return 0 +function main() { + let i = FOO + arktest.assertEQ(i, 42) } diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type_of_as_type_neg.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type_of_as_type_neg.ets new file mode 100644 index 0000000000..54ed4d2f8d --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/export_type_of_as_type_neg.ets @@ -0,0 +1,28 @@ +/*--- +Copyright (c) 2025 Huawei Device Co., Ltd. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +---*/ + +/*--- +desc: Edit value of the exported const variable type +files: +- ./const_as_type.ets +tags: [compile-only, negative] +---*/ + +import { FOO } from './const_as_type' + +function main() { + let i = FOO + i = 43 +} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/negative_export_as_by_old_name.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/negative_export_as_by_old_name.ets index f105b74436..41a1d02e83 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/negative_export_as_by_old_name.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/negative_export_as_by_old_name.ets @@ -16,10 +16,8 @@ limitations under the License. /*--- desc: Export type directive, ClassA is exported as ClassB, therefore is not available tags: [compile-only, negative] +files: +- ./class_a_as_b.ets ---*/ import { ClassA } from './class_a_as_b' - -function main(): int { - return 0 -} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/negative_export_as_twice.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/negative_export_as_twice.ets index fff2a942be..7ad031694b 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/negative_export_as_twice.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/negative_export_as_twice.ets @@ -16,10 +16,8 @@ limitations under the License. /*--- desc: Export type directive, ClassA is exported as ClassB twice, therefore must fail tags: [compile-only, negative] +files: +- ./class_a_as_b_twice.ets ---*/ import { ClassA } from './class_a_as_b_twice' - -function main(): int { - return 0 -} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding.ets new file mode 100644 index 0000000000..accbf32170 --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding.ets @@ -0,0 +1,29 @@ +/*--- +Copyright (c) 2025 Huawei Device Co., Ltd. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +---*/ + +/*--- +desc: >- + An export directive can have a type modifier exclusively for a better syntactic compatibility with TypeScript + (also see Import Type Directive). +files: +- ./export_type.ets +---*/ + +import type {D} from "./export_type" + +function main() { + let a: D = new D() + arktest.assertEQ(a.f, 8) +} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_multiple.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_multiple.ets new file mode 100644 index 0000000000..039c559d55 --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_multiple.ets @@ -0,0 +1,33 @@ +/*--- +Copyright (c) 2025 Huawei Device Co., Ltd. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +---*/ + +/*--- +desc: >- + An export directive can have a type modifier exclusively for a better syntactic compatibility with TypeScript + (also see Import Type Directive). +files: +- ./export_multiple_types.ets +---*/ + +import type {E, D as exC, B} from "./export_multiple_types" + +function main() { + let i: E = new E() + arktest.assertEQ(i.f, 9) + let j: exC = new exC() + arktest.assertEQ(j.f, 8) + let k: B = new B() + arktest.assertEQ(k.f, 7) +} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg.ets new file mode 100644 index 0000000000..344ab63be8 --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg.ets @@ -0,0 +1,23 @@ +/*--- +Copyright (c) 2025 Huawei Device Co., Ltd. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +---*/ + +/*--- +desc: If a binding uses type, then a compile-time error occurs. +tags: [compile-only, negative] +---*/ + +class C {} + +export {type C} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg_2.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg_2.ets new file mode 100644 index 0000000000..ee05887cc2 --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg_2.ets @@ -0,0 +1,24 @@ +/*--- +Copyright (c) 2025 Huawei Device Co., Ltd. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +---*/ + +/*--- +desc: If a binding uses type, then a compile-time error occurs. +tags: [compile-only, negative] +---*/ + +class C {} +class D {} + +export {C, type D} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01b/a.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/default_module.ets similarity index 85% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01b/a.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/default_module.ets index e060847b5b..6c661cbd7e 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01b/a.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/default_module.ets @@ -14,9 +14,10 @@ */ /*--- +desc: module contains default exported entity tags: [not-a-test, compile-only] ---*/ -package pkg01b; - -export { ClassA, InterfaceA, foo, BAR } from '../pkg01a' // re-export from package module +export default class A { + f: int = 3 +} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_a.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_a.ets similarity index 95% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_a.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_a.ets index b687e262cf..9f847a7a90 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_a.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_a.ets @@ -17,7 +17,9 @@ tags: [not-a-test, compile-only] ---*/ -export class ClassA {} +export class ClassA { + f: int = 1 +} export interface InterfaceA {} export function foo(): void {} export const BAR: int = 146 diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_all.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_all.ets similarity index 100% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_all.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_all.ets diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_all_renamed.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_all_renamed.ets similarity index 100% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_all_renamed.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_all_renamed.ets diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_b.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_b.ets similarity index 98% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_b.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_b.ets index dc9690febd..a4ca7c801d 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_b.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_b.ets @@ -55,4 +55,4 @@ export numExported; export @interface MyAnno {} type fooCls = foo; -export fooCls; \ No newline at end of file +export fooCls; diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_b_re-export.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_b_re-export.ets similarity index 94% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_b_re-export.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_b_re-export.ets index c17c06acda..c07bc6c68a 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/module_b_re-export.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/module_b_re-export.ets @@ -17,4 +17,4 @@ tags: [not-a-test, compile-only] ---*/ -export * as name from "./module_b"; \ No newline at end of file +export * as name from "./module_b"; diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03b/a.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_default.ets similarity index 89% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03b/a.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_default.ets index 817160d226..35f1d1f176 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03b/a.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_default.ets @@ -15,8 +15,8 @@ /*--- tags: [not-a-test, compile-only] +files: +- ./default_module.ets ---*/ -package pkg03b; - -export * from '../pkg03a' // re-export from package module +export {default} from "./default_module" diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01a/a.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_default_rename.ets similarity index 83% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01a/a.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_default_rename.ets index c3ffeb97c3..c9924e44ad 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01a/a.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_default_rename.ets @@ -15,11 +15,8 @@ /*--- tags: [not-a-test, compile-only] +files: +- ./default_module.ets ---*/ -package pkg01a; - -export class ClassA {} -export interface InterfaceA {} -export function foo(): void {} -export const BAR: int = 146 +export {default as B} from "./default_module" diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02a/a.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_non-default.ets similarity index 83% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02a/a.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_non-default.ets index dfa7c23e23..4248d137c2 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02a/a.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_non-default.ets @@ -15,11 +15,8 @@ /*--- tags: [not-a-test, compile-only] +files: +- ./module_a.ets ---*/ -package pkg02a; - -export class ClassA {} -export interface InterfaceA {} -export function foo(): void {} -export const BAR: int = 146 +export {ClassA as default} from "./module_a" diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03a/a.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03a/a.ets deleted file mode 100644 index ce793ddad1..0000000000 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03a/a.ets +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/*--- -tags: [not-a-test, compile-only] ----*/ - -package pkg03a; - -export class ClassA {} -export interface InterfaceA {} -export function foo(): void {} -export const BAR: int = 146 diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all.ets index 63222519db..c0031cb582 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all.ets @@ -15,10 +15,10 @@ /*--- desc: Re-export directive, all names should be available -files: ['./module_a.ets', './module_all.ets'] +files: ['./modules/module_a.ets', './modules/module_all.ets'] ---*/ -import { ClassA, InterfaceA, foo, BAR } from './module_all' +import { ClassA, InterfaceA, foo, BAR } from './modules/module_all' function main() { arktest.assertEQ(BAR, 146) diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_by_old_names.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_by_old_names.ets index 2d63d7e6d7..afb3ab4dee 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_by_old_names.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_by_old_names.ets @@ -15,10 +15,10 @@ /*--- desc: Re-export directive, old names should be available -files: ['./module_a.ets'] +files: ['./modules/module_a.ets'] ---*/ -import { ClassA, InterfaceA, foo, BAR } from './module_a' +import { ClassA, InterfaceA, foo, BAR } from './modules/module_a' function main() { arktest.assertEQ(BAR, 146) diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_namespace.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_namespace.ets index c7737fd8d8..d6f8edd923 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_namespace.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_namespace.ets @@ -15,10 +15,10 @@ /*--- desc: Re-export directive -files: ['./module_b_re-export.ets', './module_b.ets'] +files: ['./modules/module_b_re-export.ets', './modules/module_b.ets'] ---*/ -import { name } from "./module_b_re-export" +import { name } from "./modules/module_b_re-export" function main() : void { @@ -52,4 +52,4 @@ function main() : void // Export type alias let foo_cls1 : name.fooCls = new name.foo(); arktest.assertEQ(foo_cls1.foo_bar(), 101); -} \ No newline at end of file +} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_with_rename.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_with_rename.ets index cf21994444..87dc3f22b4 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_with_rename.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_all_with_rename.ets @@ -15,10 +15,10 @@ /*--- desc: Re-export directive, new names should be available -files: ['./module_all_renamed.ets', './module_a.ets'] +files: ['./modules/module_all_renamed.ets', './modules/module_a.ets'] ---*/ -import { NewClassA, NewInterfaceA, newFoo, NEW_BAR } from './module_all_renamed' +import { NewClassA, NewInterfaceA, newFoo, NEW_BAR } from './modules/module_all_renamed' function main() { arktest.assertEQ(NEW_BAR, 146) diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02b/a.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_multiple_default.ets similarity index 75% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02b/a.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_multiple_default.ets index 2b712b05e2..80da2492bc 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02b/a.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/re-export_multiple_default.ets @@ -14,9 +14,11 @@ */ /*--- -tags: [not-a-test, compile-only] +desc: Only single item per file could be exported as default +tags: [compile-only, negative] +files: +- ./modules/default_module.ets ---*/ -package pkg02b; - -export { ClassA as NewClassA, InterfaceA as NewInterfaceA, foo as newFoo, BAR as NEW_BAR } from '../pkg02a' // re-export from package module +export {default} from "./modules/default_module" +export default class B {} diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self.ets new file mode 100644 index 0000000000..732dab3663 --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self.ets @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/*--- +desc: An importPath cannot refer to the file the current module is stored in. Otherwise, a compile-time error occurs. +tags: [negative, compile-only] +---*/ + +export class A {} + +export A from "./modules/reexport_from_self" diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self_2.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self_2.ets new file mode 100644 index 0000000000..86fc421260 --- /dev/null +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self_2.ets @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/*--- +desc: An importPath cannot refer to the file the current module is stored in. Otherwise, a compile-time error occurs. +tags: [negative, compile-only] +---*/ + +export class A {} + +export {A as B} from "./modules/reexport_from_self" diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03_re-export_all.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default.ets similarity index 74% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03_re-export_all.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default.ets index 4af9334f01..cf220e1706 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg03_re-export_all.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default.ets @@ -14,12 +14,15 @@ */ /*--- -desc: Re-export directive, all names should be available -files: ['./pkg03a/a.ets', './pkg03b/a.ets'] +desc: re-export default declaration from the other module +files: +- ./modules/re-export_default.ets +- ./modules/default_module.ets ---*/ -import { ClassA, InterfaceA, foo, BAR } from './pkg03b' +import {A} from "./modules/re-export_default" function main() { - arktest.assertEQ(BAR, 146) + let i = new A() + arktest.assertEQ(i.f, 3) } diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02_re-export_all_with_rename.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default_2.ets similarity index 72% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02_re-export_all_with_rename.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default_2.ets index 292098eeed..99cffe358a 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg02_re-export_all_with_rename.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default_2.ets @@ -14,12 +14,15 @@ */ /*--- -desc: Re-export directive, new names should be available -files: ['./pkg02a/a.ets', './pkg02b/a.ets'] +desc: re-export default declaration from the other module under 'name' +files: +- ./modules/re-export_default_rename.ets +- ./modules/default_module.ets ---*/ -import { NewClassA, NewInterfaceA, newFoo, NEW_BAR } from './pkg02b' +import {C} from "./modules/re-export_default_rename" function main() { - arktest.assertEQ(NEW_BAR, 146) + let i = new C() + arktest.assertEQ(i.f, 3) } diff --git a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01_re-export_all_by_old_names.ets b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default_3.ets similarity index 77% rename from static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01_re-export_all_by_old_names.ets rename to static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default_3.ets index a2623bb24e..964ba83f93 100644 --- a/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/pkg01_re-export_all_by_old_names.ets +++ b/static_core/plugins/ets/tests/ets-templates/13.compilation_units/07.export_directives/04.re-export_directive/reexported_default_3.ets @@ -14,12 +14,15 @@ */ /*--- -desc: Re-export directive, old names should be available -files: ['./pkg01a/a.ets', './pkg01b/a.ets'] +desc: TBD +files: +- ./modules/re-export_non-default.ets +- ./modules/module_a.ets ---*/ -import { ClassA, InterfaceA, foo, BAR } from './pkg01b' +import {ClassA} from "./modules/re-export_non-default" function main() { - arktest.assertEQ(BAR, 146) + let i = new ClassA() + arktest.assertEQ(i.f, 3) } diff --git a/static_core/plugins/ets/tests/test-lists/declgenets2ts/ets-cts/declgen-ets2ts-cts-ignored.txt b/static_core/plugins/ets/tests/test-lists/declgenets2ts/ets-cts/declgen-ets2ts-cts-ignored.txt index 4349e54ce9..21a97206d5 100644 --- a/static_core/plugins/ets/tests/test-lists/declgenets2ts/ets-cts/declgen-ets2ts-cts-ignored.txt +++ b/static_core/plugins/ets/tests/test-lists/declgenets2ts/ets-cts/declgen-ets2ts-cts-ignored.txt @@ -1360,17 +1360,24 @@ 13.compilation_units/07.export_directives/02.single_export_directive/export_source/re_export_4.ets 13.compilation_units/07.export_directives/02.single_export_directive/export_source/re_export_5.ets 13.compilation_units/07.export_directives/02.single_export_directive/export_source/re_export_6.ets +13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg.ets +13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg_2.ets #29393 13.compilation_units/07.export_directives/02.single_export_directive/re_export_test_3.ets 13.compilation_units/07.export_directives/02.single_export_directive/re_export_test_4.ets 13.compilation_units/07.export_directives/02.single_export_directive/re_export_test_5.ets #end of 29393 -13.compilation_units/07.export_directives/04.re-export_directive/module_all.ets -13.compilation_units/07.export_directives/04.re-export_directive/module_all_renamed.ets -13.compilation_units/07.export_directives/04.re-export_directive/module_b_re-export.ets -13.compilation_units/07.export_directives/04.re-export_directive/pkg01b/a.ets -13.compilation_units/07.export_directives/04.re-export_directive/pkg02b/a.ets -13.compilation_units/07.export_directives/04.re-export_directive/pkg03b/a.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/default_module.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/module_a.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/module_all.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/module_all_renamed.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/module_b.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/module_b_re-export.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_default.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_default_rename.ets +13.compilation_units/07.export_directives/04.re-export_directive/modules/re-export_non-default.ets +13.compilation_units/07.export_directives/04.re-export_directive/re-export_multiple_default.ets +13.compilation_units/07.export_directives/04.re-export_directive/reexport_from_self_2.ets 14.ambient_declarations/02.function_declarations/function_declarations_n_0.ets 14.ambient_declarations/02.function_declarations/function_declarations_n_1.ets 14.ambient_declarations/02.function_declarations/function_declarations_n_2.ets diff --git a/static_core/plugins/ets/tests/test-lists/ets-cts/ets-cts-ignored.txt b/static_core/plugins/ets/tests/test-lists/ets-cts/ets-cts-ignored.txt index a94893f7da..2db561a4a5 100644 --- a/static_core/plugins/ets/tests/test-lists/ets-cts/ets-cts-ignored.txt +++ b/static_core/plugins/ets/tests/test-lists/ets-cts/ets-cts-ignored.txt @@ -1559,11 +1559,20 @@ 13.compilation_units/07.export_directives/02.single_export_directive/re_export_test_4.ets 13.compilation_units/07.export_directives/02.single_export_directive/re_export_test_5.ets +#29735 +13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg.ets +13.compilation_units/07.export_directives/03.export_type_directive/type_binding_neg_2.ets + #28243 13.compilation_units/07.export_directives/04.re-export_directive/pkg01_re-export_all_by_old_names.ets 13.compilation_units/07.export_directives/04.re-export_directive/pkg02_re-export_all_with_rename.ets 13.compilation_units/07.export_directives/04.re-export_directive/pkg03_re-export_all.ets +#29725 +13.compilation_units/07.export_directives/04.re-export_directive/reexported_default.ets +13.compilation_units/07.export_directives/04.re-export_directive/reexported_default_2.ets +13.compilation_units/07.export_directives/04.re-export_directive/reexported_default_3.ets + #28847 14.ambient_declarations/bad_ambient_declarations_18.ets 14.ambient_declarations/bad_ambient_declarations_19.ets -- Gitee