diff options
author | Ladislav Zezula <ladislav.zezula@avg.com> | 2016-07-14 14:15:29 +0200 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avg.com> | 2016-07-14 14:15:29 +0200 |
commit | f3112547853a361f9c5419cfb6810b2a54c643e6 (patch) | |
tree | ef7998fbd7f3d47e564005dd0b173151275329f3 /test | |
parent | 7597fe1702e4f27faf51d201b566139e17ad4342 (diff) |
+ Fixed bug in opening SQP archives
+ More efficient version of GetNearestPowerOfTwo
Diffstat (limited to 'test')
-rw-r--r-- | test/StormTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp index 2d957b0..eb3f665 100644 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -4397,7 +4397,7 @@ int main(int argc, char * argv[]) // Open a MPK archive from Longwu online
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPx_2013_v1_LongwuOnline.mpk");
-
+*/
// Open a SQP archive from War of the Immortals
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPx_2013_v1_WarOfTheImmortals.sqp", "ListFile_WarOfTheImmortals.txt");
@@ -4467,10 +4467,10 @@ int main(int argc, char * argv[]) if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2016_v1_SP_(4)Adrenaline.w3x");
-*/
+
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2016_v1_ProtectedMap_1.4.w3x");
-/*
+
// Open the multi-file archive with wrong prefix to see how StormLib deals with it
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive_WillFail("flat-file://streaming/model.MPQ.0");
@@ -4673,7 +4673,7 @@ int main(int argc, char * argv[]) // Test replacing a file with zero size file
if(nError == ERROR_SUCCESS)
nError = TestModifyArchive_ReplaceFile("MPQ_2014_v4_Base.StormReplay", "AddFile-replay.message.events");
-*/
+
#ifdef _MSC_VER
_CrtDumpMemoryLeaks();
#endif // _MSC_VER
|