Remove wxUSE_UNICODE checks as they're always true now

Also remove all code guarded by "#if !wxUSE_UNICODE".
This commit is contained in:
Vadim Zeitlin 2022-10-27 02:43:51 +01:00
parent 5c49448c75
commit 4519d8e08a
195 changed files with 400 additions and 3509 deletions

View file

@ -51,10 +51,8 @@ private:
CPPUNIT_TEST( ReadMixed );
CPPUNIT_TEST( ReadMixedWithFuzzing );
CPPUNIT_TEST( ReadCRCRLF );
#if wxUSE_UNICODE
CPPUNIT_TEST( ReadUTF8 );
CPPUNIT_TEST( ReadUTF16 );
#endif // wxUSE_UNICODE
CPPUNIT_TEST( ReadBig );
CPPUNIT_TEST_SUITE_END();
@ -68,10 +66,8 @@ private:
void ReadMixed();
void ReadMixedWithFuzzing();
void ReadCRCRLF();
#if wxUSE_UNICODE
void ReadUTF8();
void ReadUTF16();
#endif // wxUSE_UNICODE
void ReadBig();
// return the name of the test file we use
@ -269,8 +265,6 @@ void TextFileTestCase::ReadCRCRLF()
CPPUNIT_ASSERT_EQUAL( "foobarbaz", all );
}
#if wxUSE_UNICODE
void TextFileTestCase::ReadUTF8()
{
CreateTestFile("\xd0\x9f\n"
@ -310,8 +304,6 @@ void TextFileTestCase::ReadUTF16()
#endif // wxHAVE_U_ESCAPE
}
#endif // wxUSE_UNICODE
void TextFileTestCase::ReadBig()
{
static const size_t NUM_LINES = 10000;