Increase the number of expected events in TreeCtrlTestCase::KeyDown and ListBaseTestCase::KeyDown from four to six as this is the number of events seen when testing using their samples. This also stops the tests failing after the recent keyboard event improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
179c657bc7
commit
89416032c2
@ -244,7 +244,7 @@ void ListBaseTestCase::KeyDown()
|
||||
sim.Text("aAbB");
|
||||
wxYield();
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL(4, frame->GetEventCount());
|
||||
CPPUNIT_ASSERT_EQUAL(6, frame->GetEventCount());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -321,7 +321,7 @@ void TreeCtrlTestCase::KeyDown()
|
||||
sim.Text("aAbB");
|
||||
wxYield();
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL(4, frame->GetEventCount());
|
||||
CPPUNIT_ASSERT_EQUAL(6, frame->GetEventCount());
|
||||
}
|
||||
|
||||
#if !defined(__WXGTK__)
|
||||
|
Loading…
Reference in New Issue
Block a user