]> git.saurik.com Git - wxWidgets.git/commitdiff
Revert "Show the name of the actually tested class in text entry unit tests."
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 May 2013 19:21:38 +0000 (19:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 May 2013 19:21:38 +0000 (19:21 +0000)
Revert r73959, the name of the control can be seen from the name of the
failing test case actually, so there is no need to include it in the message.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/controls/textentrytest.cpp

index 1843a4e21d931e330a2d5d223b2dc78b6fd0a70f..b4a9092db7dacab1c02eb2e112282bac86b5ee61 100644 (file)
@@ -204,11 +204,7 @@ void TextEntryTestCase::Editable()
            !IsAutomaticTest() )
 #endif // __WGTKK__
     {
            !IsAutomaticTest() )
 #endif // __WGTKK__
     {
-    WX_ASSERT_EQUAL_MESSAGE
-    (
-        ("While testing %s", GetTestWindow()->GetClassInfo()->GetClassName()),
-        "abcdef", entry->GetValue()
-    );
+    CPPUNIT_ASSERT_EQUAL("abcdef", entry->GetValue());
     CPPUNIT_ASSERT_EQUAL(6, updated.GetCount());
 
     updated.Clear();
     CPPUNIT_ASSERT_EQUAL(6, updated.GetCount());
 
     updated.Clear();