lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6149] Flush wxLog after each individual GUI test


From: Greg Chicares
Subject: [lmi-commits] [6149] Flush wxLog after each individual GUI test
Date: Thu, 26 Mar 2015 23:27:17 +0000

Revision: 6149
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6149
Author:   chicares
Date:     2015-03-26 23:27:16 +0000 (Thu, 26 Mar 2015)
Log Message:
-----------
Flush wxLog after each individual GUI test

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/main_wx_test.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2015-03-26 23:08:15 UTC (rev 6148)
+++ lmi/trunk/ChangeLog 2015-03-26 23:27:16 UTC (rev 6149)
@@ -35930,3 +35930,9 @@
 Add a unit test verifying that wxLog errors are shown. See:
   http://lists.nongnu.org/archive/html/lmi/2015-03/msg00026.html
 
+20150326T2327Z <address@hidden> [516]
+
+  main_wx_test.cpp
+Flush wxLog after each individual GUI test. See:
+  http://lists.nongnu.org/archive/html/lmi/2015-03/msg00026.html
+

Modified: lmi/trunk/main_wx_test.cpp
===================================================================
--- lmi/trunk/main_wx_test.cpp  2015-03-26 23:08:15 UTC (rev 6148)
+++ lmi/trunk/main_wx_test.cpp  2015-03-26 23:27:16 UTC (rev 6149)
@@ -472,6 +472,9 @@
                 wxLogMessage("%s: started", name);
                 wxStopWatch sw;
                 i->run_test();
+                // Check that no messages were unexpectedly logged during this
+                // test execution.
+                wxLog::FlushActive();
                 wxLogMessage("time=%ldms (for %s)", sw.Time(), name);
                 wxLogMessage("%s: ok", name);
                 results.passed++;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]