MCPcopy Create free account
hub / github.com/MyGUI/mygui / step_destroy_widget

Function step_destroy_widget

UnitTests/UnitTest_AttachDetach/DemoKeeper.cpp:166–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 static void step_destroy_widget()
167 {
168 MyGUI::Widget* widget = get_random(all_widgets);
169 if (!widget)
170 return;
171 /*if (!widget->isRootWidget()) */
172 MyGUI::WidgetManager::getInstance().destroyWidget(widget);
173 test_widgets();
174 }
175
176 static void step_destroy_widget(int _count)
177 {

Callers 1

notifyFrameStartedMethod · 0.85

Calls 4

get_randomFunction · 0.85
test_widgetsFunction · 0.85
randomFunction · 0.85
destroyWidgetMethod · 0.45

Tested by

no test coverage detected