Home
last modified time | relevance | path

Searched refs:testProperty (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigator/
H A Dnavigator_pattern_test_ng.cpp53 if (testProperty.typeValue.has_value()) { in CreateNavigator()
55 navigator.SetUri(testProperty.url.value()); in CreateNavigator()
75 TestProperty testProperty; variable
79 testProperty.active = std::make_optional(false);
105 TestProperty testProperty; variable
138 TestProperty testProperty; variable
168 TestProperty testProperty; variable
199 TestProperty testProperty; variable
224 TestProperty testProperty; variable
263 TestProperty testProperty; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_timer/
H A Dtext_timer_test_ng.cpp142 TestProperty testProperty; variable
195 TestProperty testProperty; variable
324 TestProperty testProperty; variable
352 TestProperty testProperty; variable
392 TestProperty testProperty; variable
438 TestProperty testProperty; variable
503 TestProperty testProperty; variable
550 TestProperty testProperty; variable
599 TestProperty testProperty; variable
659 TestProperty testProperty; variable
[all …]
H A Dtext_timer_builder_test_ng.cpp123 TestProperty testProperty; variable
191 TestProperty testProperty; variable
259 TestProperty testProperty; variable
327 TestProperty testProperty; variable
395 TestProperty testProperty; variable
463 TestProperty testProperty; variable
531 TestProperty testProperty; variable
599 TestProperty testProperty; variable
666 TestProperty testProperty; variable
733 TestProperty testProperty; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/select/
H A Dselect_pattern_test_controlsize_ng.cpp173 TestProperty testProperty; variable
202 TestProperty testProperty; variable
236 TestProperty testProperty; variable
270 TestProperty testProperty; variable
304 TestProperty testProperty; variable
338 TestProperty testProperty; variable
367 TestProperty testProperty; variable
394 TestProperty testProperty; variable
429 TestProperty testProperty; variable
522 TestProperty testProperty; variable
[all …]
H A Dselect_test_ng.cpp397 TestProperty testProperty; variable
402 auto frameNode = CreateSelect(CREATE_VALUE, testProperty);
436 TestProperty testProperty; variable
442 auto frameNode = CreateSelect(CREATE_VALUE, testProperty);
483 TestProperty testProperty; variable
485 auto frameNode = CreateSelect(CREATE_VALUE, testProperty);
507 TestProperty testProperty; variable
1172 TestProperty testProperty; variable
1632 TestProperty testProperty; variable
1658 TestProperty testProperty; variable
[all …]
H A Dselect_test_controlsize_ng.cpp173 TestProperty testProperty; variable
174 testProperty.FontSize = std::make_optional(FONT_SIZE_VALUE);
175 testProperty.FontStyle = std::make_optional(ITALIC_FONT_STYLE_VALUE);
176 testProperty.FontWeight = std::make_optional(FONT_WEIGHT_VALUE);
177 testProperty.FontColor = std::make_optional(TEXT_COLOR_VALUE);
178 testProperty.FontFamily = std::make_optional(FONT_FAMILY_VALUE);
179 auto frameNode = SelectPropertyConfig(selectModelInstance, CREATE_VALUE, testProperty);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_clock/
H A Dtext_clock_test_ng.cpp122 TestProperty testProperty; variable
197 TestProperty testProperty; variable
292 TestProperty testProperty; variable
327 TestProperty testProperty; variable
379 TestProperty testProperty; variable
444 TestProperty testProperty; variable
489 TestProperty testProperty; variable
551 TestProperty testProperty; variable
633 TestProperty testProperty; variable
772 TestProperty testProperty; variable
[all …]
H A Dtext_clock_content_modifier_add_test_ng.cpp117 TestProperty testProperty; variable
158 TestProperty testProperty; variable
202 TestProperty testProperty; variable
247 TestProperty testProperty; variable
289 TestProperty testProperty; variable
334 TestProperty testProperty; variable
918 TestProperty testProperty; variable
959 TestProperty testProperty; variable
1003 TestProperty testProperty; variable
1048 TestProperty testProperty; variable
[all …]
H A Dtext_clock_content_modifier_test_ng.cpp362 TestProperty testProperty; variable
403 TestProperty testProperty; variable
447 TestProperty testProperty; variable
492 TestProperty testProperty; variable
534 TestProperty testProperty; variable
579 TestProperty testProperty; variable
1701 TestProperty testProperty; variable
1742 TestProperty testProperty; variable
1786 TestProperty testProperty; variable
1831 TestProperty testProperty; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_base.cpp183 if (testProperty.fontSizeValue.has_value()) { in CreateTextParagraph()
186 if (testProperty.textColorValue.has_value()) { in CreateTextParagraph()
192 if (testProperty.fontWeightValue.has_value()) { in CreateTextParagraph()
195 if (testProperty.fontFamilyValue.has_value()) { in CreateTextParagraph()
198 if (testProperty.textAlignValue.has_value()) { in CreateTextParagraph()
204 if (testProperty.maxLinesValue.has_value()) { in CreateTextParagraph()
207 if (testProperty.lineHeightValue.has_value()) { in CreateTextParagraph()
222 if (testProperty.textCaseValue.has_value()) { in CreateTextParagraph()
231 if (testProperty.letterSpacing.has_value()) { in CreateTextParagraph()
234 if (testProperty.textIndent.has_value()) { in CreateTextParagraph()
[all …]
H A Dtext_testtwo_ng.cpp1053 TestProperty testProperty; variable
1054 testProperty.fontSizeValue = std::make_optional(FONT_SIZE_VALUE);
1055 testProperty.textColorValue = std::make_optional(TEXT_COLOR_VALUE);
1057 testProperty.fontWeightValue = std::make_optional(FONT_WEIGHT_VALUE);
1060 testProperty.textCaseValue = std::make_optional(TEXT_CASE_VALUE);
1061 testProperty.letterSpacing = std::make_optional(LETTER_SPACING);
1069 auto host = CreateTextParagraph(CREATE_VALUE, testProperty);
1121 TestProperty testProperty; variable
1126 auto host = CreateTextParagraph(CREATE_VALUE, testProperty);
1174 TestProperty testProperty; variable
[all …]
H A Dtext_test_ng.cpp59 TestProperty testProperty; variable
60 testProperty.fontSizeValue = std::make_optional(FONT_SIZE_VALUE);
61 testProperty.textColorValue = std::make_optional(TEXT_COLOR_VALUE);
65 testProperty.textAlignValue = std::make_optional(TEXT_ALIGN_VALUE);
67 testProperty.maxLinesValue = std::make_optional(MAX_LINES_VALUE);
73 testProperty.textCaseValue = std::make_optional(TEXT_CASE_VALUE);
76 testProperty.textIndent = std::make_optional(TEXT_INDENT);
77 testProperty.wordBreak = std::make_optional(TEXT_WORD_BREAK);
109 testProperty.adaptMinFontSize.has_value() || testProperty.adaptMaxFontSize.has_value());
128 TestProperty testProperty; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/divider/old_cases/
H A Ddivider_test_ng.cpp50 TestProperty testProperty; variable
66 testProperty.vertical = VERTICAL_TRUE; in SetUpTestCase()
68 testProperty.strokeWidth = STROKE_WIDTH; in SetUpTestCase()
69 testProperty.lineCap = LINE_CAP; in SetUpTestCase()
80 if (testProperty.vertical.has_value()) { in CreateDividerNode()
89 if (testProperty.lineCap.has_value()) { in CreateDividerNode()
132 testProperty.strokeWidth = STROKE_WIDTH;
142 testProperty.vertical = vertical[i];
221 testProperty.vertical = VERTICAL_TRUE;
251 testProperty.vertical = VERTICAL_FALSE;
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/button/
H A Dbutton_content_modifier_test_ng.cpp335 TestProperty testProperty; variable
376 TestProperty testProperty; variable
417 TestProperty testProperty; variable
458 TestProperty testProperty; variable
499 TestProperty testProperty; variable
540 TestProperty testProperty; variable
581 TestProperty testProperty; variable
622 TestProperty testProperty; variable
663 TestProperty testProperty; variable
704 TestProperty testProperty; variable
[all …]
H A Dtoggle_button_test_ng.cpp90 if (testProperty.isOn.has_value()) { in CreateToggleButtonFrameNode()
93 if (testProperty.selectedColor.has_value()) { in CreateToggleButtonFrameNode()
114 TestProperty testProperty; variable
152 TestProperty testProperty; variable
189 TestProperty testProperty; variable
237 TestProperty testProperty; variable
263 TestProperty testProperty; variable
295 TestProperty testProperty; variable
324 TestProperty testProperty; variable
394 TestProperty testProperty; variable
[all …]
H A Dbutton_test_ng.cpp360 TestProperty testProperty; variable
376 TestProperty testProperty; variable
392 TestProperty testProperty; variable
419 TestProperty testProperty; variable
442 TestProperty testProperty; variable
471 TestProperty testProperty; variable
501 TestProperty testProperty; variable
556 TestProperty testProperty; variable
589 TestProperty testProperty; variable
655 TestProperty testProperty; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/
H A Dxcomponent_test_ng.cpp83 TestProperty testProperty; variable
146 testProperty.loadEvent = std::nullopt; in TearDown()
160 testProperty.xcId = XCOMPONENT_ID; in SetUpTestSuite()
162 testProperty.soPath = XCOMPONENT_SO_PATH; in SetUpTestSuite()
172 auto xcId = testProperty.xcId; in CreateXComponentNode()
173 auto xcType = testProperty.xcType.value(); in CreateXComponentNode()
178 if (testProperty.soPath.has_value()) { in CreateXComponentNode()
181 if (testProperty.loadEvent.has_value()) { in CreateXComponentNode()
218 testProperty.loadEvent = std::move(onLoad);
1282 testProperty.xcId = std::nullopt;
[all …]
H A Dxcomponent_property_test_ng.cpp90 TestProperty testProperty; variable
105 testProperty.xcId = XCOMPONENT_ID; in SetUpTestSuite()
106 testProperty.libraryName = XCOMPONENT_LIBRARY_NAME; in SetUpTestSuite()
107 testProperty.soPath = XCOMPONENT_SO_PATH; in SetUpTestSuite()
117 auto xcId = testProperty.xcId; in CreateXComponentNode()
118 auto xcType = testProperty.xcType.value(); in CreateXComponentNode()
119 auto libraryName = testProperty.libraryName; in CreateXComponentNode()
123 if (testProperty.soPath.has_value()) { in CreateXComponentNode()
126 if (testProperty.loadEvent.has_value()) { in CreateXComponentNode()
129 if (testProperty.destroyEvent.has_value()) { in CreateXComponentNode()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/video/
H A Dvideo_test_ng.cpp123 TestProperty testProperty; variable
140 testProperty.muted = MUTED_VALUE; in SetUpTestSuite()
141 testProperty.autoPlay = AUTO_PLAY; in SetUpTestSuite()
142 testProperty.controls = CONTROL_VALUE; in SetUpTestSuite()
143 testProperty.loop = LOOP_VALUE; in SetUpTestSuite()
144 testProperty.objectFit = VIDEO_IMAGE_FIT; in SetUpTestSuite()
177 if (testProperty.src.has_value()) { in CreateVideoNode()
186 if (testProperty.muted.has_value()) { in CreateVideoNode()
189 if (testProperty.autoPlay.has_value()) { in CreateVideoNode()
192 if (testProperty.controls.has_value()) { in CreateVideoNode()
[all …]
H A Dvideo_property_test_ng.cpp118 TestProperty testProperty; variable
135 testProperty.muted = MUTED_VALUE; in SetUpTestSuite()
136 testProperty.autoPlay = AUTO_PLAY; in SetUpTestSuite()
137 testProperty.controls = CONTROL_VALUE; in SetUpTestSuite()
138 testProperty.loop = LOOP_VALUE; in SetUpTestSuite()
139 testProperty.objectFit = VIDEO_IMAGE_FIT; in SetUpTestSuite()
172 if (testProperty.src.has_value()) { in CreateVideoNode()
181 if (testProperty.muted.has_value()) { in CreateVideoNode()
184 if (testProperty.autoPlay.has_value()) { in CreateVideoNode()
187 if (testProperty.controls.has_value()) { in CreateVideoNode()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/marquee/
H A Dmarquee_test_ng.cpp105 if (testProperty.src.has_value()) { in CreateMarqueeParagraph()
114 if (testProperty.loop.has_value()) { in CreateMarqueeParagraph()
117 if (testProperty.direction.has_value()) { in CreateMarqueeParagraph()
120 if (testProperty.fontSize.has_value()) { in CreateMarqueeParagraph()
123 if (testProperty.textColor.has_value()) { in CreateMarqueeParagraph()
126 if (testProperty.fontWeight.has_value()) { in CreateMarqueeParagraph()
129 if (testProperty.fontFamily.has_value()) { in CreateMarqueeParagraph()
132 if (testProperty.allowScale.has_value()) { in CreateMarqueeParagraph()
153 TestProperty testProperty; variable
205 TestProperty testProperty; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/
H A Dbubble_test_ng.cpp210 if (testProperty.useCustom.has_value()) { in CreateBubbleNode()
213 if (testProperty.placement.has_value()) { in CreateBubbleNode()
224 if (testProperty.autoCancel.has_value()) { in CreateBubbleNode()
227 if (testProperty.maskColor.has_value()) { in CreateBubbleNode()
233 if (testProperty.placement.has_value()) { in CreateBubbleNode()
239 if (testProperty.useCustom.has_value()) { in CreateBubbleNode()
258 TestProperty testProperty; variable
915 TestProperty testProperty; variable
997 TestProperty testProperty; variable
1051 TestProperty testProperty; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/stepper/
H A Dstepper_test_ng.cpp124 if (testProperty.labelStatusValue.has_value()) { in CreateStepperItemNode()
127 if (testProperty.leftLabelValue.has_value()) { in CreateStepperItemNode()
130 if (testProperty.rightLabelValue.has_value()) { in CreateStepperItemNode()
1050 TestProperty testProperty; variable
1051 testProperty.leftLabelValue = LEFT_LABEL;
1052 testProperty.rightLabelValue = RIGHT_LABEL;
1053 testProperty.labelStatusValue = LABEL_STATUS;
1071 TestProperty testProperty; variable
1072 testProperty.leftLabelValue = LEFT_LABEL;
1073 testProperty.rightLabelValue = RIGHT_LABEL;
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/panel/
H A Dpanel_test_ng.cpp150 if (testProperty.panelType.has_value()) { in CreateSlidingPanel()
153 if (testProperty.panelMode.has_value()) { in CreateSlidingPanel()
156 if (testProperty.hasDragBar.has_value()) { in CreateSlidingPanel()
159 if (testProperty.miniHeight.has_value()) { in CreateSlidingPanel()
162 if (testProperty.halfHeight.has_value()) { in CreateSlidingPanel()
165 if (testProperty.fullHeight.has_value()) { in CreateSlidingPanel()
168 if (testProperty.isShow.has_value()) { in CreateSlidingPanel()
169 slidingPanelModelNG.SetIsShow(testProperty.isShow.value()); in CreateSlidingPanel()
171 if (testProperty.showCloseIcon.has_value()) { in CreateSlidingPanel()
312 TestProperty testProperty; variable
[all …]
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_accessible_ability_manager_service_stub.cpp301 AccessibilityConfig::CaptionProperty testProperty; in SetAudioBalance() local
302 captionObserver_->OnPropertyChanged(testProperty); in SetAudioBalance()

12