add unit test for wxTextEntry methods of wxComboBox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-19 10:18:30 +00:00
parent 2851cf2582
commit dc7f9c9cee
12 changed files with 129 additions and 1 deletions

View File

@@ -49,6 +49,15 @@ private:
// function parameters
void AssertSelection(int from, int to, const char *sel);
// helper of AssertSelection(): check that the text selected in the control
// is the given one
//
// this is necessary to disable testing this in wxComboBox test as it
// doesn't provide any way to access the string selection directly, its
// GetStringSelection() method returns the currently selected string in the
// wxChoice part of the control, not the selected text
virtual void CheckStringSelection(const char *sel);
DECLARE_NO_COPY_CLASS(TextEntryTestCase)
};