X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/955e1ce86181f34dac5dbfb96a929ebc73483b6d..5f9e369af0c834bbde0f7f5d2047abd736967f58:/tests/config/config.cpp?ds=inline diff --git a/tests/config/config.cpp b/tests/config/config.cpp index 1f2d22470d..f89a4b1f9e 100644 --- a/tests/config/config.cpp +++ b/tests/config/config.cpp @@ -3,11 +3,13 @@ // Purpose: wxConfig unit test // Author: Marcin Wojdyr // Created: 2007-07-07 -// RCS-ID: $Id$ // Copyright: (c) 2007 Marcin Wojdyr /////////////////////////////////////////////////////////////////////////////// -// see also tests/fileconf/fileconftest.cpp for wxFileConfig specific tests +// NOTE: this test is compiled in test_gui because it uses wxColour for +// its testing purpose. +// See also tests/config/fileconf.cpp for wxFileConfig specific tests and +// tests/config/regconf.cpp for wxRegConfig specific tests. // ---------------------------------------------------------------------------- // headers @@ -15,6 +17,8 @@ #include "testprec.h" +#if wxUSE_CONFIG + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -53,7 +57,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( ConfigTestCase ); -// also include in it's own registry so that these tests can be run alone +// also include in its own registry so that these tests can be run alone CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ConfigTestCase, "ConfigTestCase" ); void ConfigTestCase::ReadWriteLocalTest() @@ -205,4 +209,4 @@ void ConfigTestCase::RecordingDefaultsTest() delete config; } - +#endif //wxUSE_CONFIG