diff options
author | Ladislav Zezula <ladislav.zezula@avg.com> | 2014-01-24 14:10:36 +0100 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avg.com> | 2014-01-24 14:10:36 +0100 |
commit | 01393e1d0392e559bbbf015731f98b7a22c54daf (patch) | |
tree | 13db7dead9c218cca535740e3bc932e5259e28d2 | |
parent | da2225a9643a0f76d5c168376537b2dbe7d5a80a (diff) |
+ Uncommented test cases
-rw-r--r-- | test/Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Test.cpp b/test/Test.cpp index 3a4f789..70e06d1 100644 --- a/test/Test.cpp +++ b/test/Test.cpp @@ -3457,7 +3457,7 @@ int main(int argc, char * argv[]) // Not a test, but rather a tool for creating links to duplicated files // if(nError == ERROR_SUCCESS) // nError = FindFilePairs(ForEachFile_CreateArchiveLink, "2004 - WoW\\06080", "2004 - WoW\\06299"); -/* + // Search all testing archives and verify their SHA1 hash if(nError == ERROR_SUCCESS) nError = FindFiles(ForEachFile_VerifyFileChecksum, szMpqSubDir); @@ -3657,10 +3657,10 @@ int main(int argc, char * argv[]) // Open a MPQ (add custom user data to it) if(nError == ERROR_SUCCESS) nError = TestOpenArchive_CraftedUserData("MPQ_2013_v4_expansion1.MPQ", "StormLibTest_CraftedMpq3_v4.mpq"); -*/ + if(nError == ERROR_SUCCESS) nError = TestOpenArchive_CompactingTest("MPQ_2014_v1_MapToCompact.w3x"); -/* + // Test modifying file with no (listfile) and no (attributes) if(nError == ERROR_SUCCESS) nError = TestAddFile_ListFileTest("MPQ_1997_v1_Diablo1_DIABDAT.MPQ", false, false); @@ -3705,6 +3705,6 @@ int main(int argc, char * argv[]) // Open a MPQ (add custom user data to it) if(nError == ERROR_SUCCESS) nError = TestCreateArchive_BigArchive("StormLibTest_BigArchive_v4.mpq"); -*/ + return nError; } |