Enable formerly skipped tests under wxQt
This commit is contained in:
parent
fb5484fbf7
commit
ff4995ec01
1 changed files with 0 additions and 8 deletions
|
|
@ -52,25 +52,17 @@ void TextEntryTestCase::TextChangeEvents()
|
|||
wxTextEntry * const entry = GetTestEntry();
|
||||
|
||||
// notice that SetValue() generates an event even if the text didn't change
|
||||
#ifndef __WXQT__
|
||||
entry->SetValue("");
|
||||
CPPUNIT_ASSERT_EQUAL( 1, updated.GetCount() );
|
||||
updated.Clear();
|
||||
#else
|
||||
WARN("Events are only sent when text changes in WxQt");
|
||||
#endif
|
||||
|
||||
entry->SetValue("foo");
|
||||
CPPUNIT_ASSERT_EQUAL( 1, updated.GetCount() );
|
||||
updated.Clear();
|
||||
|
||||
#ifndef __WXQT__
|
||||
entry->SetValue("foo");
|
||||
CPPUNIT_ASSERT_EQUAL( 1, updated.GetCount() );
|
||||
updated.Clear();
|
||||
#else
|
||||
WARN("Events are only sent when text changes in WxQt");
|
||||
#endif
|
||||
|
||||
entry->SetValue("");
|
||||
CPPUNIT_ASSERT_EQUAL( 1, updated.GetCount() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue