]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/validators/valnum.cpp
Try native method first in LoadFile() and SaveFile()
[wxWidgets.git] / tests / validators / valnum.cpp
index dd2d0e983579872d54c2e2077f7a13a4f724ca70..0a2421588b700658dc771d693b9e8fefdd12f265 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     Unit tests for numeric validators.
 // Author:      Vadim Zeitlin
 // Created:     2011-01-18
-// RCS-ID:      $Id$
 // Copyright:   (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -204,11 +203,13 @@ void NumValidatorTestCase::NoTrailingZeroes()
 
 void NumValidatorTestCase::Interactive()
 {
+#ifdef __WXMSW__
     // FIXME: This test fails on MSW buildbot slaves although works fine on
     //        development machine, no idea why. It seems to be a problem with
     //        wxUIActionSimulator rather the wxListCtrl control itself however.
-    if ( wxGetUserId().Lower().Matches("buildslave*") )
+    if ( IsAutomaticTest() )
         return;
+#endif // __WXMSW__
 
     // Set a locale using comma as thousands separator character.
     wxLocale loc(wxLANGUAGE_ENGLISH_UK, wxLOCALE_DONT_LOAD_DEFAULT);