From a4e3242ae86a09f5862cc910136cda2121433659 Mon Sep 17 00:00:00 2001 From: s00912778 Date: Tue, 22 Oct 2024 16:03:46 +0800 Subject: [PATCH] shijiakai2@huawei.com Signed-off-by: s00912778 Change-Id: If698758cd6736d0bbe2e0679cbae01b35078ca56 --- compiler/test/error.json | 166 +------ .../test/transform_ut/helpers/pathConfig.ts | 468 +++++++++--------- 2 files changed, 251 insertions(+), 383 deletions(-) diff --git a/compiler/test/error.json b/compiler/test/error.json index 642532f1..b89eeab6 100644 --- a/compiler/test/error.json +++ b/compiler/test/error.json @@ -105,10 +105,7 @@ "message": "The property 'message' must specify a type.", "type": "ERROR" }, - "validateNonObservedClassType": { - "message": "The type of the @ObjectLink property 'message' can only be objects of classes decorated with @Observed class decorator in ets (not ts).", - "type": "ERROR" - }, + "validateNonObservedClassType": [], "validateHasIllegalDecoratorInEntry": { "message": "The @Entry component 'ValidateHasIllegalDecoratorInEntryIndex' cannot have the @Prop property 'message'.", "type": "WARN" @@ -138,7 +135,7 @@ "type": "ERROR" }, "checkBuilder$$": { - "message": "Unrecognized property 'paramA1', make sure it can be assigned to @Link property 'message' by yourself.", + "message": "The regular property 'paramA1' cannot be assigned to the @Link property 'message'.", "type": "WARN" }, "validateForbiddenToInitViaParam": { @@ -296,28 +293,7 @@ "type": "ERROR" } ], - "@Type": [ - { - "message": "The '@Type' decorator can only be used in 'class'.", - "type": "ERROR" - }, - { - "message": "The '@Type' decorator can not be used in a 'class' decorated with Sendable.", - "type": "ERROR" - }, - { - "message": "The '@Type' can decorate only member variables in a 'class'.", - "type": "ERROR" - }, - { - "message": "The '@Type' decorator can not be used in a 'class' decorated with Observed.", - "type": "ERROR" - }, - { - "message": "The '@Type' can decorate only member variables in a 'class'.", - "type": "ERROR" - } - ], + "@Type": [], "validate_track_observed": [ { "message": "The struct 'child' use invalid decorator.", @@ -578,50 +554,11 @@ "type": "ERROR" } ], - "v2DecoratorInitFromParent": [ - { - "message": "Property 'param_value' must be initialized through the component constructor.", - "type": "ERROR" - }, - { - "message": "Property 'regular_value' in the custom component 'testChild' cannot be initialized here (forbidden to specify).", - "type": "ERROR" - }, - { - "message": "Property 'local_value' in the custom component 'testChild' cannot be initialized here (forbidden to specify).", - "type": "ERROR" - }, - { - "message": "Property 'provider_value' in the custom component 'testChild' cannot be initialized here (forbidden to specify).", - "type": "ERROR" - }, - { - "message": "Property 'consumer_value' in the custom component 'testChild' cannot be initialized here (forbidden to specify).", - "type": "ERROR" - } - ], - "validateParamTwoWayBind": [ - { - "message": "When the two-way binding syntax is used, the variable 'value' must be decorated with @Param, and the @Event variable '$value' must be defined in the testParamChild1.", - "type": "ERROR" - }, - { - "message": "The optional character can not be used in the initial value of property 'paramValue'.", - "type": "ERROR" - }, - { - "message": "The optional character can not be used in the initial value of property 'paramValue'.", - "type": "ERROR" - }, - { - "message": "When the two-way binding syntax is used, the initial value of property 'paramValue' must be a variable.", - "type": "ERROR" - }, - { - "message": "When the two-way binding syntax is used, the initial value of property 'paramValue' must be a variable.", - "type": "ERROR" - } - ], + "v2DecoratorInitFromParent": { + "message": "Property 'param_value' must be initialized through the component constructor.", + "type": "ERROR" + }, + "validateParamTwoWayBind": [], "validateDifferentMethod": [ { "message": "A function can only be decorated by one of the 'AnimatableExtend, Builder, Extend, Styles, Concurrent and Sendable'.", @@ -776,67 +713,14 @@ "type": "ERROR" } ], - "v1ToV2Component": [ - { - "message": "Property 'func_value1' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'func_value2' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - } - ], + "v1ToV2Component": [], "v1ToV2ComponentValidate": [ { "message": "The type of the @Param property can not be a class decorated with @Observed.", "type": "ERROR" }, { - "message": "Property 'param_value' in the @ComponentV2 component 'TestV2Child2' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'param_value_alias_type' in the @ComponentV2 component 'TestV2Child2' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'state_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'prop_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'link_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'provide_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'consume_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'objectLink_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'storage_link_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'storage_prop_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'local_storage_link_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'local_storage_prop_value' in the @ComponentV2 component 'TestV2Child' are not allowed to be assigned values here.", + "message": "The type of the @Prop property 'prop_value' can only be string, number or boolean.", "type": "ERROR" } ], @@ -850,11 +734,11 @@ "type": "ERROR" }, { - "message": "Property 'set_value' in the @Component component 'TestV1Child1' are not allowed to be assigned values here.", + "message": "The type of the @Prop property 'regular_value' can only be string, number or boolean.", "type": "ERROR" }, { - "message": "Property 'set_value_alias' in the @Component component 'TestV1Child1' are not allowed to be assigned values here.", + "message": "The type of the @Prop property 'func_value1' can only be string, number or boolean.", "type": "ERROR" }, { @@ -862,27 +746,7 @@ "type": "ERROR" }, { - "message": "Property 'set_value' in the @Component component 'TestV1Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'map_value' in the @Component component 'TestV1Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'arr_value' in the @Component component 'TestV1Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'arr_value1' in the @Component component 'TestV1Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'arr_value2' in the @Component component 'TestV1Child' are not allowed to be assigned values here.", - "type": "ERROR" - }, - { - "message": "Property 'arr_value3' in the @Component component 'TestV1Child' are not allowed to be assigned values here.", + "message": "The type of the @Prop property 'map_value' can only be string, number or boolean.", "type": "ERROR" } ], @@ -986,6 +850,10 @@ { "message": "The type of the @Consumer property can not be a class decorated with @Observed.", "type": "ERROR" + }, + { + "message": "The type of the @Prop property 'prop_value' can only be string, number or boolean.", + "type": "ERROR" } ] } \ No newline at end of file diff --git a/compiler/test/transform_ut/helpers/pathConfig.ts b/compiler/test/transform_ut/helpers/pathConfig.ts index d7104134..24b7d742 100644 --- a/compiler/test/transform_ut/helpers/pathConfig.ts +++ b/compiler/test/transform_ut/helpers/pathConfig.ts @@ -1,260 +1,260 @@ export const UT_PAGES: string[] = [ - // 'import/import@CustomDialog', - // 'import/import@Observed', - // 'import/importAllEts', - // 'import/importEts', - // 'import/importExportEts', - // 'import/importExportNest', - // 'import/importSystemApi', - // 'import/importTs', + 'import/import@CustomDialog', + 'import/import@Observed', + 'import/importAllEts', + 'import/importEts', + 'import/importExportEts', + 'import/importExportNest', + 'import/importSystemApi', + 'import/importTs', - // 'inner_commponent_transform/$$_component/$$_component', - // 'inner_commponent_transform/custom_component/custom_component', - // 'inner_commponent_transform/gesture_component/longPressGesture', - // 'inner_commponent_transform/gesture_component/panGestrue', - // 'inner_commponent_transform/gesture_component/pinchGesture', - // 'inner_commponent_transform/gesture_component/rotationGesture', - // 'inner_commponent_transform/gesture_component/swipeGesture', - // 'inner_commponent_transform/gesture_component/tapGesture', - // 'inner_commponent_transform/render_component/forEach/forEach', - // 'inner_commponent_transform/render_component/forEach/forEachSecondFunction', - // 'inner_commponent_transform/render_component/forEach/forEachTwo', - // 'inner_commponent_transform/render_component/if/if', - // 'inner_commponent_transform/render_component/lazyForEach/lazyForEach', - // 'inner_commponent_transform/simple_component/button/button', - // 'inner_commponent_transform/transition_component/animateTo/animateTo', - // 'inner_commponent_transform/transition_component/pageTransition/pageTransition', + 'inner_commponent_transform/$$_component/$$_component', + 'inner_commponent_transform/custom_component/custom_component', + 'inner_commponent_transform/gesture_component/longPressGesture', + 'inner_commponent_transform/gesture_component/panGestrue', + 'inner_commponent_transform/gesture_component/pinchGesture', + 'inner_commponent_transform/gesture_component/rotationGesture', + 'inner_commponent_transform/gesture_component/swipeGesture', + 'inner_commponent_transform/gesture_component/tapGesture', + 'inner_commponent_transform/render_component/forEach/forEach', + 'inner_commponent_transform/render_component/forEach/forEachSecondFunction', + 'inner_commponent_transform/render_component/forEach/forEachTwo', + 'inner_commponent_transform/render_component/if/if', + 'inner_commponent_transform/render_component/lazyForEach/lazyForEach', + 'inner_commponent_transform/simple_component/button/button', + 'inner_commponent_transform/transition_component/animateTo/animateTo', + 'inner_commponent_transform/transition_component/pageTransition/pageTransition', - // 'render_decorator/@builder/@builder', - // 'render_decorator/@builder/@builderWithForEach', - // 'render_decorator/@builder/@builderWithLinkData', - // 'render_decorator/@builderParam/@builderParam', - // 'render_decorator/@customDialog/@customDialog', - // 'render_decorator/@extend/@extend', - // 'render_decorator/@preview/@preview', - // 'render_decorator/@styles/@styles', - // 'render_decorator/@styles/@stylesExport', + 'render_decorator/@builder/@builder', + 'render_decorator/@builder/@builderWithForEach', + 'render_decorator/@builder/@builderWithLinkData', + 'render_decorator/@builderParam/@builderParam', + 'render_decorator/@customDialog/@customDialog', + 'render_decorator/@extend/@extend', + 'render_decorator/@preview/@preview', + 'render_decorator/@styles/@styles', + 'render_decorator/@styles/@stylesExport', - // 'ui_state_management/application_state_management/@storageLink/@storageLink', - // 'ui_state_management/application_state_management/@storageProp/@storageProp', - // 'ui_state_management/application_state_management/appStorage/appStorage', - // 'ui_state_management/application_state_management/localStorage/localStorage', - // 'ui_state_management/inner_struct_state_management/@link/@link', - // 'ui_state_management/inner_struct_state_management/@prop/@prop', - // 'ui_state_management/others/@consume_@provide/@consume_@provide', - // 'ui_state_management/others/@observed_@objectLink/@observed_@objectLink', - // 'ui_state_management/others/@watch/@watch' + 'ui_state_management/application_state_management/@storageLink/@storageLink', + 'ui_state_management/application_state_management/@storageProp/@storageProp', + 'ui_state_management/application_state_management/appStorage/appStorage', + 'ui_state_management/application_state_management/localStorage/localStorage', + 'ui_state_management/inner_struct_state_management/@link/@link', + 'ui_state_management/inner_struct_state_management/@prop/@prop', + 'ui_state_management/others/@consume_@provide/@consume_@provide', + 'ui_state_management/others/@observed_@objectLink/@observed_@objectLink', + 'ui_state_management/others/@watch/@watch' ]; export const UT_PARTIAL_UPFATE_PAGES: string[] = [ - // 'import/import@CustomDialog', - // 'import/import@Observed', - // 'import/importAllEts', - // 'import/importEts', - // 'import/importExportEts', - // 'import/importExportNest', - // 'import/importTs', + 'import/import@CustomDialog', + 'import/import@Observed', + 'import/importAllEts', + 'import/importEts', + 'import/importExportEts', + 'import/importExportNest', + 'import/importTs', - // 'inner_component_transform/$$_component/$$_component', - // 'inner_component_transform/$$_component/$$_componentCheck1', - // 'inner_component_transform/$$_component/$$_componentCheck2', - // 'inner_component_transform/$$_component/$$_componentCheck3', - // 'inner_component_transform/$$_component/$$_componentCheck4', - // 'inner_component_transform/$$_component/$$_componentCheck5', - // 'inner_component_transform/$$_component/$$_componentCheck6', - // 'inner_component_transform/$$_component/$$_componentCheck7', - // 'inner_component_transform/$$_component/$$_componentCheck8', - // 'inner_component_transform/$$_component/$$_componentCheck9', - // 'inner_component_transform/$$_component/$$_if_elseIf_else', - // 'inner_component_transform/custom_component/component_object', - // 'inner_component_transform/custom_component/custom_component', - // 'inner_component_transform/gesture_component/GestureModeParallel', - // 'inner_component_transform/gesture_component/longPressGesture', - // 'inner_component_transform/gesture_component/panGestrue', - // 'inner_component_transform/gesture_component/pinchGesture', - // 'inner_component_transform/gesture_component/rotationGesture', - // 'inner_component_transform/gesture_component/swipeGesture', - // 'inner_component_transform/gesture_component/tapGesture', - // 'inner_component_transform/render_component/foreach/foreach', - // 'inner_component_transform/render_component/foreach/forEachSecondFunction', - // 'inner_component_transform/render_component/foreach/forEachThreeParam', - // 'inner_component_transform/render_component/foreach/forEachTwo', - // 'inner_component_transform/render_component/if/id_if', - // 'inner_component_transform/render_component/if/if', - // 'inner_component_transform/render_component/item/GridItem', - // 'inner_component_transform/render_component/item/ListItem', - // 'inner_component_transform/render_component/lazyforeach/lazyforeach', - // 'inner_component_transform/render_component/lazyforeach/lazyforEachThreeParam', - // 'inner_component_transform/render_component/repeat/repeat', - // 'inner_component_transform/render_component/repeat/repeatAttr', - // 'inner_component_transform/render_component/repeat/repeatVirtualScroll', - // 'inner_component_transform/render_component/tab/tab', - // 'inner_component_transform/simple_component/button/button', - // 'inner_component_transform/simple_component/xcomponent/XComponentContainer', - // 'inner_component_transform/transition_component/animateTo/animateTo', - // 'inner_component_transform/transition_component/navDestination_component/navDestination_component', - // 'inner_component_transform/transition_component/navigation/navigation_component', - // 'inner_component_transform/transition_component/pageTransition/pageTransition', + 'inner_component_transform/$$_component/$$_component', + 'inner_component_transform/$$_component/$$_componentCheck1', + 'inner_component_transform/$$_component/$$_componentCheck2', + 'inner_component_transform/$$_component/$$_componentCheck3', + 'inner_component_transform/$$_component/$$_componentCheck4', + 'inner_component_transform/$$_component/$$_componentCheck5', + 'inner_component_transform/$$_component/$$_componentCheck6', + 'inner_component_transform/$$_component/$$_componentCheck7', + 'inner_component_transform/$$_component/$$_componentCheck8', + 'inner_component_transform/$$_component/$$_componentCheck9', + 'inner_component_transform/$$_component/$$_if_elseIf_else', + 'inner_component_transform/custom_component/component_object', + 'inner_component_transform/custom_component/custom_component', + 'inner_component_transform/gesture_component/GestureModeParallel', + 'inner_component_transform/gesture_component/longPressGesture', + 'inner_component_transform/gesture_component/panGestrue', + 'inner_component_transform/gesture_component/pinchGesture', + 'inner_component_transform/gesture_component/rotationGesture', + 'inner_component_transform/gesture_component/swipeGesture', + 'inner_component_transform/gesture_component/tapGesture', + 'inner_component_transform/render_component/foreach/foreach', + 'inner_component_transform/render_component/foreach/forEachSecondFunction', + 'inner_component_transform/render_component/foreach/forEachThreeParam', + 'inner_component_transform/render_component/foreach/forEachTwo', + 'inner_component_transform/render_component/if/id_if', + 'inner_component_transform/render_component/if/if', + 'inner_component_transform/render_component/item/GridItem', + 'inner_component_transform/render_component/item/ListItem', + 'inner_component_transform/render_component/lazyforeach/lazyforeach', + 'inner_component_transform/render_component/lazyforeach/lazyforEachThreeParam', + 'inner_component_transform/render_component/repeat/repeat', + 'inner_component_transform/render_component/repeat/repeatAttr', + 'inner_component_transform/render_component/repeat/repeatVirtualScroll', + 'inner_component_transform/render_component/tab/tab', + 'inner_component_transform/simple_component/button/button', + 'inner_component_transform/simple_component/xcomponent/XComponentContainer', + 'inner_component_transform/transition_component/animateTo/animateTo', + 'inner_component_transform/transition_component/navDestination_component/navDestination_component', + 'inner_component_transform/transition_component/navigation/navigation_component', + 'inner_component_transform/transition_component/pageTransition/pageTransition', - // 'render_decorator/@AnimatableExtend/animatableExtend', - // 'render_decorator/@builder/@builder', - // 'render_decorator/@builder/@builderDynamicUsage$$', - // 'render_decorator/@builder/@builderOrComponentAsName', - // 'render_decorator/@builder/@builderSimplifyAfferent', - // 'render_decorator/@builder/@builderTransFormFirst', - // 'render_decorator/@builder/@builderTransFormFourth', - // 'render_decorator/@builder/@builderTransFormSecond', - // 'render_decorator/@builder/@builderTransFormThird', - // 'render_decorator/@builder/@builderVisilibity$$', - // 'render_decorator/@builder/@builderWithComponent', - // 'render_decorator/@builder/@builderWithForEach', - // 'render_decorator/@builder/@builderWithLinkData', - // 'render_decorator/@builder/handleCustomBuilder', - // 'render_decorator/@builderParam/@builderParam', - // 'render_decorator/@builderParam/@builderParamQuestionMark', - // 'render_decorator/@builderParam/@BuilderParamReturnType', - // 'render_decorator/@componentParent/@componentParent', - // 'render_decorator/@customDialog/@customDialog', - // 'render_decorator/@extend/@extend', - // 'render_decorator/@localBuilder/@localBuilder', - // 'render_decorator/@preview/@preview', - // 'render_decorator/@recycle/recycle_$$component', - // 'render_decorator/@recycle/recycle_extend_styles', - // 'render_decorator/@recycle/recycle_function_array', - // 'render_decorator/@recycle/recycle_gesture', - // 'render_decorator/@recycle/recycle_reuseId', - // 'render_decorator/@recycle/recycle', - // 'render_decorator/@styles/@styles', - // 'render_decorator/@styles/@stylesExport', - // 'render_decorator/@styles/@stylesOrComponentAsName', + 'render_decorator/@AnimatableExtend/animatableExtend', + 'render_decorator/@builder/@builder', + 'render_decorator/@builder/@builderDynamicUsage$$', + 'render_decorator/@builder/@builderOrComponentAsName', + 'render_decorator/@builder/@builderSimplifyAfferent', + 'render_decorator/@builder/@builderTransFormFirst', + 'render_decorator/@builder/@builderTransFormFourth', + 'render_decorator/@builder/@builderTransFormSecond', + 'render_decorator/@builder/@builderTransFormThird', + 'render_decorator/@builder/@builderVisilibity$$', + 'render_decorator/@builder/@builderWithComponent', + 'render_decorator/@builder/@builderWithForEach', + 'render_decorator/@builder/@builderWithLinkData', + 'render_decorator/@builder/handleCustomBuilder', + 'render_decorator/@builderParam/@builderParam', + 'render_decorator/@builderParam/@builderParamQuestionMark', + 'render_decorator/@builderParam/@BuilderParamReturnType', + 'render_decorator/@componentParent/@componentParent', + 'render_decorator/@customDialog/@customDialog', + 'render_decorator/@extend/@extend', + 'render_decorator/@localBuilder/@localBuilder', + 'render_decorator/@preview/@preview', + 'render_decorator/@recycle/recycle_$$component', + 'render_decorator/@recycle/recycle_extend_styles', + 'render_decorator/@recycle/recycle_function_array', + 'render_decorator/@recycle/recycle_gesture', + 'render_decorator/@recycle/recycle_reuseId', + 'render_decorator/@recycle/recycle', + 'render_decorator/@styles/@styles', + 'render_decorator/@styles/@stylesExport', + 'render_decorator/@styles/@stylesOrComponentAsName', - // 'ui_context/build_ui_in_correct_place', + 'ui_context/build_ui_in_correct_place', - // 'ui_state_management/application_state_management/@storageLink/@storageLink', - // 'ui_state_management/application_state_management/@storageProp/@storageProp', - // 'ui_state_management/application_state_management/appStorage/appStorage', - // 'ui_state_management/application_state_management/localStorage/localStorage', - // 'ui_state_management/application_state_management/localStorage/localStorageForBoth', - // 'ui_state_management/application_state_management/localStorage/localStorageForChainCall', - // 'ui_state_management/application_state_management/localStorage/localStorageForRoute', - // 'ui_state_management/application_state_management/localStorage/localStorageForStorage', - // 'ui_state_management/application_state_management/localStorage/localStorageForThree', - // 'ui_state_management/application_state_management/localStorage/localStorageForThreeParam', - // 'ui_state_management/application_state_management/localStorage/localStorageParam', - // 'ui_state_management/inner_struct_state_management/@link/@link', - // 'ui_state_management/inner_struct_state_management/@objectLink/@objectLink', - // 'ui_state_management/inner_struct_state_management/@prop/@prop', - // 'ui_state_management/inner_struct_state_management/@prop/@propComplexType', - // 'ui_state_management/inner_struct_state_management/@state/@state', - // 'ui_state_management/others/@consume_@provide/@consume_@provide', - // 'ui_state_management/others/@observed_@objectLink/@observed_@objectLink', - // 'ui_state_management/others/@watch/@watch', - // 'ui_state_management/others/decoratorKeyCheck/decoratorKeyCheck', + 'ui_state_management/application_state_management/@storageLink/@storageLink', + 'ui_state_management/application_state_management/@storageProp/@storageProp', + 'ui_state_management/application_state_management/appStorage/appStorage', + 'ui_state_management/application_state_management/localStorage/localStorage', + 'ui_state_management/application_state_management/localStorage/localStorageForBoth', + 'ui_state_management/application_state_management/localStorage/localStorageForChainCall', + 'ui_state_management/application_state_management/localStorage/localStorageForRoute', + 'ui_state_management/application_state_management/localStorage/localStorageForStorage', + 'ui_state_management/application_state_management/localStorage/localStorageForThree', + 'ui_state_management/application_state_management/localStorage/localStorageForThreeParam', + 'ui_state_management/application_state_management/localStorage/localStorageParam', + 'ui_state_management/inner_struct_state_management/@link/@link', + 'ui_state_management/inner_struct_state_management/@objectLink/@objectLink', + 'ui_state_management/inner_struct_state_management/@prop/@prop', + 'ui_state_management/inner_struct_state_management/@prop/@propComplexType', + 'ui_state_management/inner_struct_state_management/@state/@state', + 'ui_state_management/others/@consume_@provide/@consume_@provide', + 'ui_state_management/others/@observed_@objectLink/@observed_@objectLink', + 'ui_state_management/others/@watch/@watch', + 'ui_state_management/others/decoratorKeyCheck/decoratorKeyCheck', - // 'v2_component_decorator/builderParamStyles', - // 'v2_component_decorator/param_event_twoway_binding', - // 'v2_component_decorator/staticComponentMember' + 'v2_component_decorator/builderParamStyles', + 'v2_component_decorator/param_event_twoway_binding', + 'v2_component_decorator/staticComponentMember' ]; export const UT_VALIDATE_PAGES: string[] = [ - // 'Decorators/process_component_build/@BuilderParam', - // 'Decorators/process_component_build/arkUIComponent', - // 'Decorators/process_component_build/arkUIStandard', - // 'Decorators/process_component_build/attributeCheck', - // 'Decorators/process_component_build/buttonCheck', - // 'Decorators/process_component_build/checkNonspecificParents', - // 'Decorators/process_component_build/foreachParamCheck', - // 'Decorators/process_component_build/idCheck', - // 'Decorators/process_component_build/ifComponent', - // 'Decorators/process_component_build/rootContainerCheck', - // 'Decorators/process_component_build/stateStyles', + 'Decorators/process_component_build/@BuilderParam', + 'Decorators/process_component_build/arkUIComponent', + 'Decorators/process_component_build/arkUIStandard', + 'Decorators/process_component_build/attributeCheck', + 'Decorators/process_component_build/buttonCheck', + 'Decorators/process_component_build/checkNonspecificParents', + 'Decorators/process_component_build/foreachParamCheck', + 'Decorators/process_component_build/idCheck', + 'Decorators/process_component_build/ifComponent', + 'Decorators/process_component_build/rootContainerCheck', + 'Decorators/process_component_build/stateStyles', - // 'Decorators/process_component_class/@StylesParamChack', - // 'Decorators/process_component_class/processComponentMethod', - // 'Decorators/process_component_class/updateHeritageClauses', - // 'Decorators/process_component_class/validateBuildMethodCount', - // 'Decorators/process_component_class/validateDecorators', - // 'Decorators/process_component_class/validateHasController', + 'Decorators/process_component_class/@StylesParamChack', + 'Decorators/process_component_class/processComponentMethod', + 'Decorators/process_component_class/updateHeritageClauses', + 'Decorators/process_component_class/validateBuildMethodCount', + 'Decorators/process_component_class/validateDecorators', + 'Decorators/process_component_class/validateHasController', - // 'Decorators/process_component_member/@linkInitialize', - // 'Decorators/process_component_member/@objectLinkInitialize', - // 'Decorators/process_component_member/processWatch', - // 'Decorators/process_component_member/updateBuilderParamProperty', - // 'Decorators/process_component_member/validateCustomDecorator', - // 'Decorators/process_component_member/validateDuplicateDecorator', - // 'Decorators/process_component_member/validateForbiddenUseStateType', - // 'Decorators/process_component_member/validateHasIllegalDecoratorInEntry', - // 'Decorators/process_component_member/validateHasIllegalQuestionToken', - // 'Decorators/process_component_member/validateMultiDecorators', - // 'Decorators/process_component_member/validateNonObservedClassType', //222 - // 'Decorators/process_component_member/validatePropertyDefaultValue', - // 'Decorators/process_component_member/validatePropertyNonDefaultValue', - // 'Decorators/process_component_member/validatePropertyNonType', - // 'Decorators/process_component_member/validateWatchDecorator', - // 'Decorators/process_component_member/validateWatchParam', + 'Decorators/process_component_member/@linkInitialize', + 'Decorators/process_component_member/@objectLinkInitialize', + 'Decorators/process_component_member/processWatch', + 'Decorators/process_component_member/updateBuilderParamProperty', + 'Decorators/process_component_member/validateCustomDecorator', + 'Decorators/process_component_member/validateDuplicateDecorator', + 'Decorators/process_component_member/validateForbiddenUseStateType', + 'Decorators/process_component_member/validateHasIllegalDecoratorInEntry', + 'Decorators/process_component_member/validateHasIllegalQuestionToken', + 'Decorators/process_component_member/validateMultiDecorators', + 'Decorators/process_component_member/validateNonObservedClassType', + 'Decorators/process_component_member/validatePropertyDefaultValue', + 'Decorators/process_component_member/validatePropertyNonDefaultValue', + 'Decorators/process_component_member/validatePropertyNonType', + 'Decorators/process_component_member/validateWatchDecorator', + 'Decorators/process_component_member/validateWatchParam', - // 'Decorators/process_custom_component/checkBuilder$$', //111 - // 'Decorators/process_custom_component/v2DecoratorInitFromParent', - // 'Decorators/process_custom_component/validateForbiddenToInitViaParam', - // 'Decorators/process_custom_component/validateIllegalInitFromParent', //222 - // 'Decorators/process_custom_component/validateInitDecorator', - // 'Decorators/process_custom_component/validateMandatoryToInitViaParam', - // 'Decorators/process_custom_component/validateNonLinkWithDollar', - // 'Decorators/process_custom_component/validateParamTwoWayBind', //222 + 'Decorators/process_custom_component/checkBuilder$$', + 'Decorators/process_custom_component/v2DecoratorInitFromParent', + 'Decorators/process_custom_component/validateForbiddenToInitViaParam', + 'Decorators/process_custom_component/validateIllegalInitFromParent', + 'Decorators/process_custom_component/validateInitDecorator', + 'Decorators/process_custom_component/validateMandatoryToInitViaParam', + 'Decorators/process_custom_component/validateNonLinkWithDollar', + 'Decorators/process_custom_component/validateParamTwoWayBind', - // 'Decorators/process_import/validateModuleName', + 'Decorators/process_import/validateModuleName', - // 'Decorators/process_struct_componentV2/param_require_once_check', - // 'Decorators/process_struct_componentV2/v2Component_member_type_check', + 'Decorators/process_struct_componentV2/param_require_once_check', + 'Decorators/process_struct_componentV2/v2Component_member_type_check', - // 'Decorators/process_ui_syntax/EntryDecoParam', - // 'Decorators/process_ui_syntax/ExtendOneChild', - // 'Decorators/process_ui_syntax/NoSrc', - // 'Decorators/process_ui_syntax/NotSupportResrcParam', - // 'Decorators/process_ui_syntax/NotSupportResrcType', - // 'Decorators/process_ui_syntax/StylesNoParam', - // 'Decorators/process_ui_syntax/UnknownSrc', - // 'Decorators/process_ui_syntax/UnknownSrcName', - // 'Decorators/process_ui_syntax/UnknownSrcType', + 'Decorators/process_ui_syntax/EntryDecoParam', + 'Decorators/process_ui_syntax/ExtendOneChild', + 'Decorators/process_ui_syntax/NoSrc', + 'Decorators/process_ui_syntax/NotSupportResrcParam', + 'Decorators/process_ui_syntax/NotSupportResrcType', + 'Decorators/process_ui_syntax/StylesNoParam', + 'Decorators/process_ui_syntax/UnknownSrc', + 'Decorators/process_ui_syntax/UnknownSrcName', + 'Decorators/process_ui_syntax/UnknownSrcType', - // 'Decorators/v1AndV2ComponentDecorators/property_observe_validate', //222 - // 'Decorators/v1AndV2ComponentDecorators/v1ToV2Component', //222 - // 'Decorators/v1AndV2ComponentDecorators/v1ToV2ComponentValidate', //222 - // 'Decorators/v1AndV2ComponentDecorators/v2ToV1ComponentValidate', //222 - // 'Decorators/v1AndV2ComponentDecorators/v2ToV1Link', + 'Decorators/v1AndV2ComponentDecorators/property_observe_validate', + 'Decorators/v1AndV2ComponentDecorators/v1ToV2Component', + 'Decorators/v1AndV2ComponentDecorators/v1ToV2ComponentValidate', + 'Decorators/v1AndV2ComponentDecorators/v2ToV1ComponentValidate', + 'Decorators/v1AndV2ComponentDecorators/v2ToV1Link', - // 'Decorators/vaildate_ui_syntax/@localBuilder', - // 'Decorators/vaildate_ui_syntax/@Monitor', - // 'Decorators/vaildate_ui_syntax/@Trace', - 'Decorators/vaildate_ui_syntax/@Type', //222 - // 'Decorators/vaildate_ui_syntax/componentV2BothWithComponent', - // 'Decorators/vaildate_ui_syntax/ExceededEntry', - // 'Decorators/vaildate_ui_syntax/ExceededPreview', - // 'Decorators/vaildate_ui_syntax/MethodNoExtend', - // 'Decorators/vaildate_ui_syntax/mutiDecoratorInComponentV2', - // 'Decorators/vaildate_ui_syntax/NoChild', - // 'Decorators/vaildate_ui_syntax/NoStructDeco', - // 'Decorators/vaildate_ui_syntax/notComponent', - // 'Decorators/vaildate_ui_syntax/notConcurrent', - // 'Decorators/vaildate_ui_syntax/notConcurrentFun', - // 'Decorators/vaildate_ui_syntax/notConcurrentFunAster', - // 'Decorators/vaildate_ui_syntax/notDecorator', - // 'Decorators/vaildate_ui_syntax/notMethodDeco', - // 'Decorators/vaildate_ui_syntax/OneChild', - // 'Decorators/vaildate_ui_syntax/OneEntry', - // 'Decorators/vaildate_ui_syntax/OnlyStructDeco', - // 'Decorators/vaildate_ui_syntax/state', - // 'Decorators/vaildate_ui_syntax/StructNameInvalid', - // 'Decorators/vaildate_ui_syntax/StylesDuplicate', - // 'Decorators/vaildate_ui_syntax/v1DecoratorInComponentV2', - // 'Decorators/vaildate_ui_syntax/v2DecoratorInClass', - // 'Decorators/vaildate_ui_syntax/v2DecoratorInComponent', - // 'Decorators/vaildate_ui_syntax/v2MemberDecorator', - // 'Decorators/vaildate_ui_syntax/vaildateDecorator', - // 'Decorators/vaildate_ui_syntax/validate_track_observed', - // 'Decorators/vaildate_ui_syntax/validateAccessQualifier', - // 'Decorators/vaildate_ui_syntax/validateDifferentMethod', - // 'Decorators/vaildate_ui_syntax/validateDuplicateMethod' + 'Decorators/vaildate_ui_syntax/@localBuilder', + 'Decorators/vaildate_ui_syntax/@Monitor', + 'Decorators/vaildate_ui_syntax/@Trace', + 'Decorators/vaildate_ui_syntax/@Type', + 'Decorators/vaildate_ui_syntax/componentV2BothWithComponent', + 'Decorators/vaildate_ui_syntax/ExceededEntry', + 'Decorators/vaildate_ui_syntax/ExceededPreview', + 'Decorators/vaildate_ui_syntax/MethodNoExtend', + 'Decorators/vaildate_ui_syntax/mutiDecoratorInComponentV2', + 'Decorators/vaildate_ui_syntax/NoChild', + 'Decorators/vaildate_ui_syntax/NoStructDeco', + 'Decorators/vaildate_ui_syntax/notComponent', + 'Decorators/vaildate_ui_syntax/notConcurrent', + 'Decorators/vaildate_ui_syntax/notConcurrentFun', + 'Decorators/vaildate_ui_syntax/notConcurrentFunAster', + 'Decorators/vaildate_ui_syntax/notDecorator', + 'Decorators/vaildate_ui_syntax/notMethodDeco', + 'Decorators/vaildate_ui_syntax/OneChild', + 'Decorators/vaildate_ui_syntax/OneEntry', + 'Decorators/vaildate_ui_syntax/OnlyStructDeco', + 'Decorators/vaildate_ui_syntax/state', + 'Decorators/vaildate_ui_syntax/StructNameInvalid', + 'Decorators/vaildate_ui_syntax/StylesDuplicate', + 'Decorators/vaildate_ui_syntax/v1DecoratorInComponentV2', + 'Decorators/vaildate_ui_syntax/v2DecoratorInClass', + 'Decorators/vaildate_ui_syntax/v2DecoratorInComponent', + 'Decorators/vaildate_ui_syntax/v2MemberDecorator', + 'Decorators/vaildate_ui_syntax/vaildateDecorator', + 'Decorators/vaildate_ui_syntax/validate_track_observed', + 'Decorators/vaildate_ui_syntax/validateAccessQualifier', + 'Decorators/vaildate_ui_syntax/validateDifferentMethod', + 'Decorators/vaildate_ui_syntax/validateDuplicateMethod' ] export const MAIN_PAGES: string[] = [