Increase timeout for WindowTestCase::FocusEvent()
The default 100ms doesn't seem to be enough when this test runs under buildbot.
This commit is contained in:
@@ -142,7 +142,7 @@ void WindowTestCase::FocusEvent()
|
|||||||
|
|
||||||
m_window->SetFocus();
|
m_window->SetFocus();
|
||||||
|
|
||||||
WX_ASSERT_EVENT_OCCURS(setfocus, 1);
|
WX_ASSERT_EVENT_OCCURS_IN(setfocus, 1, 500);
|
||||||
CPPUNIT_ASSERT(m_window->HasFocus());
|
CPPUNIT_ASSERT(m_window->HasFocus());
|
||||||
|
|
||||||
wxButton* button = new wxButton(wxTheApp->GetTopWindow(), wxID_ANY);
|
wxButton* button = new wxButton(wxTheApp->GetTopWindow(), wxID_ANY);
|
||||||
|
Reference in New Issue
Block a user