Tests fix + fix for certain factions not loading

This commit is contained in:
KimLS
2013-02-28 22:33:20 -08:00
parent 7237c1f54c
commit b5405c35e2
5 changed files with 9 additions and 3 deletions
+1
View File
@@ -47,6 +47,7 @@ public:
delete[] data_;
}
private:
void InitTest() {
EQEmu::FixedMemoryHashSet<Item_Struct> hash(data_, size_, 72000, 190000);
TEST_ASSERT(!hash.exists(1001));
+1
View File
@@ -46,6 +46,7 @@ public:
delete[] data_;
}
private:
void InitTest() {
EQEmu::FixedMemoryVariableHashSet<test_struct> hash(data_, size_, 501);
TEST_ASSERT(!hash.exists(0));
+1
View File
@@ -35,6 +35,7 @@ public:
~IPCMutexTest() {
}
private:
void LockMutexTest() {
EQEmu::IPCMutex mutex("TestMutex1");
TEST_ASSERT(mutex.Lock());
+1 -2
View File
@@ -33,8 +33,7 @@ public:
~MemoryMappedFileTest() {
}
private:
private:
void LoadAndZeroMMF() {
EQEmu::MemoryMappedFile mmf("testfile.txt", 512);
mmf.ZeroFile();