Home
last modified time | relevance | path

Searched refs:btns (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/kits/interface/balert/
H A DAlertTest.cpp171 BButton *btns[3] = { NULL }; in GuiInfoTest() local
174 btns[i] = pAlert->ButtonAt(i); in GuiInfoTest()
178 CPPUNIT_ASSERT_EQUAL((BButton*)NULL, btns[i]); in GuiInfoTest()
181 CPPUNIT_ASSERT(btns[i]); in GuiInfoTest()
184 strcmp(fButtonInfo[i].label, btns[i]->Label()) == 0); in GuiInfoTest()
186 ASSERT_DEQUAL(fButtonInfo[i].width, btns[i]->Bounds().Width()); in GuiInfoTest()
188 ASSERT_DEQUAL(fButtonInfo[i].height, btns[i]->Bounds().Height()); in GuiInfoTest()
190 BPoint pt = btns[i]->ConvertToParent(BPoint(0, 0)); in GuiInfoTest()
196 CPPUNIT_ASSERT_EQUAL(true, btns[i]->IsDefault()); in GuiInfoTest()