Home
last modified time | relevance | path

Searched refs:radioButton (Results 1 - 6 of 6) sorted by relevance

/foundation/arkui/ui_lite/test/uitest/test_transform/
H A Dui_test_transform.cpp266 auto radioButton = new UITestRadioButton(name); in AddRadioButton() local
267 container_->Add(radioButton); in AddRadioButton()
268 radioButton->SetListener(listener); in AddRadioButton()
269 radioButton->SetPosition(rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); in AddRadioButton()
270 radioButton->SetViewId(id); in AddRadioButton()
271 if (radioButton->GetState() == UICheckBox::SELECTED) { in AddRadioButton()
274 return radioButton; in AddRadioButton()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dinput_tdd_test.cpp802 * @tc.desc: test the checked attribute in radioButton
815 * @expected:step2.the state of radioButton is selected in HWTEST_F()
829 * @tc.expected:step3.the state of radioButton is unselected in HWTEST_F()
872 UIRadioButton *radioButton = reinterpret_cast<UIRadioButton *>(component->GetComponentRootView()); in HWTEST_F() local
873 EXPECT_TRUE((radioButton != nullptr) && (radioButton->GetStyle(STYLE_BORDER_WIDTH) == borderWidthVal)); in HWTEST_F()
877 * @tc.expected:step3.the borderRadius of radioButton is 100 in HWTEST_F()
881 EXPECT_TRUE((radioButton != nullptr) && (radioButton->GetStyle(STYLE_BORDER_RADIUS) == radiusVal)); in HWTEST_F()
884 * @tc.steps:step4.set the background color of radioButton re in HWTEST_F()
925 UIRadioButton *radioButton = reinterpret_cast<UIRadioButton *>(component->GetComponentRootView()); HWTEST_F() local
[all...]
H A Dradio_switch_tdd_test.cpp298 UIRadioButton *radioButton = reinterpret_cast<UIRadioButton *>(component->GetComponentRootView()); in HeightRadioValueTest006() local
299 if (radioButton->GetWidth() != 0) { in HeightRadioValueTest006()
304 EXPECT_EQ(radioButton->GetWidth(), 0); in HeightRadioValueTest006()
313 radioButton = reinterpret_cast<UIRadioButton *>(component->GetComponentRootView()); in HeightRadioValueTest006()
314 if (radioButton->GetWidth() != 0) { in HeightRadioValueTest006()
319 EXPECT_EQ(radioButton->GetWidth(), 0); in HeightRadioValueTest006()
/foundation/arkui/ui_lite/test/uitest/test_button/
H A Dui_test_button.cpp352 UIRadioButton* radioButton = new UIRadioButton("aaa"); in UIKitRadioButtonTest002() local
353 radioButton->SetPosition(30, 10); // 30: x-coordinate, 10: y-coordinate in UIKitRadioButtonTest002()
354 radioButton->SetWidth(130); // 130: width in UIKitRadioButtonTest002()
355 radioButton->SetHeight(130); // 130: height in UIKitRadioButtonTest002()
356 radioButton->SetViewId(UI_TEST_RADIO_SETIMAGE_1); in UIKitRadioButtonTest002()
357 radioButton->SetImages(BLUE_IMAGE_PATH, YELLOW_IMAGE_PATH); in UIKitRadioButtonTest002()
371 viewGroup->Add(radioButton); in UIKitRadioButtonTest002()
/foundation/arkui/ui_lite/test/uitest/test_ui_dump_dom_tree/
H A Dui_test_dump_dom.cpp194 UIRadioButton* radioButton = new UIRadioButton("aaa"); in CreateButtons() local
195 layout->Add(radioButton); in CreateButtons()
196 radioButton->SetState(UICheckBox::UNSELECTED); in CreateButtons()
197 radioButton->SetViewId("dump_radiobutton"); in CreateButtons()
/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp537 UIRadioButton* radioButton = new UIRadioButton(); in UIKitUITestBorderMarginPaddingTest008() local
538 radioButton->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest008()
539 radioButton->SetPosition(350, 30, 50, 50); // 350: x-coordinate, 30: y-coordinate, 50: size in UIKitUITestBorderMarginPaddingTest008()
540 group->Add(radioButton); in UIKitUITestBorderMarginPaddingTest008()

Completed in 7 milliseconds