X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/955e1ce86181f34dac5dbfb96a929ebc73483b6d..e1efca652844273c3e8d32c7e5f442b87e455ca7:/tests/config/config.cpp diff --git a/tests/config/config.cpp b/tests/config/config.cpp index 1f2d22470d..0abc18fb3c 100644 --- a/tests/config/config.cpp +++ b/tests/config/config.cpp @@ -7,7 +7,10 @@ // 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 +18,8 @@ #include "testprec.h" +#if wxUSE_CONFIG + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -53,7 +58,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 +210,4 @@ void ConfigTestCase::RecordingDefaultsTest() delete config; } - +#endif //wxUSE_CONFIG