Skip to content

Commit a690a40

Browse files
author
Ladislav Zezula
committed
Added test case for wow_classic
1 parent a78a94b commit a690a40

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

test/CascTest.cpp

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,11 +1093,12 @@ static STORAGE_INFO1 StorageInfo1[] =
10931093

10941094
static STORAGE_INFO2 StorageInfo2[] =
10951095
{
1096-
// {"agent", "us"},
1097-
// {"bna", "us"},
1098-
// {"catalogs", NULL},
1099-
// {"clnt", "us"},
1100-
// {"hsb", "us"},
1096+
// {"agent", "us"},
1097+
// {"bna", "us"},
1098+
// {"catalogs", NULL},
1099+
// {"clnt", "us"},
1100+
// {"hsb", "us"},
1101+
{"wow_classic", "us"},
11011102
{NULL}
11021103
};
11031104

@@ -1140,13 +1141,13 @@ int main(int argc, char * argv[])
11401141
//
11411142
// Run the tests for every available online storage in my collection
11421143
//
1143-
//for (size_t i = 0; StorageInfo2[i].szCodeName != NULL; i++)
1144-
//{
1145-
// // Attempt to open the storage and extract single file
1146-
// dwErrCode = OnlineStorage_Test(Storage_EnumFiles, StorageInfo2[i].szCodeName, StorageInfo2[i].szRegion, StorageInfo2[i].szFile);
1147-
// if (dwErrCode != ERROR_SUCCESS)
1148-
// break;
1149-
//}
1144+
for (size_t i = 0; StorageInfo2[i].szCodeName != NULL; i++)
1145+
{
1146+
// Attempt to open the storage and extract single file
1147+
dwErrCode = OnlineStorage_Test(Storage_EnumFiles, StorageInfo2[i].szCodeName, StorageInfo2[i].szRegion, StorageInfo2[i].szFile);
1148+
if (dwErrCode != ERROR_SUCCESS)
1149+
break;
1150+
}
11501151

11511152
#ifdef _MSC_VER
11521153
_CrtDumpMemoryLeaks();

0 commit comments

Comments
 (0)