From 445f48d0d974aa23563effc3fa719fcad739c0f0 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Wed, 4 Dec 2024 10:54:48 +0100 Subject: Full support of printing UTF-8 characters to Windows console --- test/StormTest.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/StormTest.cpp') diff --git a/test/StormTest.cpp b/test/StormTest.cpp index 7a4459c..afc4ab8 100755 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -4350,6 +4350,7 @@ static const LPCSTR Test_CreateMpq_Localized[] = #define TEST_REPLACE_FILE #define TEST_VERIFY_HASHES #define TEST_CREATE_MPQS +#define TEST_MISC_MPQS int _tmain(int argc, TCHAR * argv[]) { @@ -4485,6 +4486,7 @@ int _tmain(int argc, TCHAR * argv[]) } #endif +#ifdef TEST_MISC_MPQS // Test creating of an archive the same way like MPQ Editor does if(dwErrCode == ERROR_SUCCESS) dwErrCode = TestCreateArchive_TestGaps(_T("StormLibTest_GapsTest.mpq")); @@ -4532,6 +4534,7 @@ int _tmain(int argc, TCHAR * argv[]) // Open a MPQ (add custom user data to it) if(dwErrCode == ERROR_SUCCESS) dwErrCode = TestCreateArchive_BigArchive(_T("StormLibTest_BigArchive_v4.mpq")); +#endif // TEST_MISC_MPQS #ifdef _MSC_VER _CrtDumpMemoryLeaks(); -- cgit v1.2.3