From: Steve Lamerton Date: Sun, 19 Sep 2010 10:02:57 +0000 (+0000) Subject: Increase the number of expected events in TreeCtrlTestCase::KeyDown and ListBaseTestC... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/89416032c25a55b559fd905f1c5393972142e919 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 --- diff --git a/tests/controls/listbasetest.cpp b/tests/controls/listbasetest.cpp index 173f405f76..75e2f56a09 100644 --- a/tests/controls/listbasetest.cpp +++ b/tests/controls/listbasetest.cpp @@ -244,7 +244,7 @@ void ListBaseTestCase::KeyDown() sim.Text("aAbB"); wxYield(); - CPPUNIT_ASSERT_EQUAL(4, frame->GetEventCount()); + CPPUNIT_ASSERT_EQUAL(6, frame->GetEventCount()); #endif } diff --git a/tests/controls/treectrltest.cpp b/tests/controls/treectrltest.cpp index 77b0b8b2e2..0335aa80eb 100644 --- a/tests/controls/treectrltest.cpp +++ b/tests/controls/treectrltest.cpp @@ -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__)