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:
Steve Lamerton 2010-09-19 10:02:57 +00:00
parent 179c657bc7
commit 89416032c2
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ void ListBaseTestCase::KeyDown()
sim.Text("aAbB");
wxYield();
CPPUNIT_ASSERT_EQUAL(4, frame->GetEventCount());
CPPUNIT_ASSERT_EQUAL(6, frame->GetEventCount());
#endif
}

View File

@ -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__)