CPPUNIT_TEST( CharCompare );
CPPUNIT_TEST( CharCompareIntl );
CPPUNIT_TEST( StringCompare );
+#if wxUSE_UNICODE
CPPUNIT_TEST( StringCompareIntl );
+#endif // wxUSE_UNICODE
CPPUNIT_TEST_SUITE_END();
void CharCompare();
// register in the unnamed registry so that these tests are run by default
CPPUNIT_TEST_SUITE_REGISTRATION( UniCharTestCase );
-// 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( UniCharTestCase, "UniCharTestCase" );
void UniCharTestCase::CharCompare()
CPPUNIT_ASSERT( sb[0] != sa);
}
+#if wxUSE_UNICODE
void UniCharTestCase::StringCompareIntl()
{
// test string comparison with chars
CPPUNIT_ASSERT( sa != sb[0]);
CPPUNIT_ASSERT( sb[0] != sa);
}
+#endif // wxUSE_UNICODE