mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Tests fix + fix for certain factions not loading
This commit is contained in:
@@ -47,6 +47,7 @@ public:
|
||||
delete[] data_;
|
||||
}
|
||||
|
||||
private:
|
||||
void InitTest() {
|
||||
EQEmu::FixedMemoryHashSet<Item_Struct> hash(data_, size_, 72000, 190000);
|
||||
TEST_ASSERT(!hash.exists(1001));
|
||||
|
||||
@@ -46,6 +46,7 @@ public:
|
||||
delete[] data_;
|
||||
}
|
||||
|
||||
private:
|
||||
void InitTest() {
|
||||
EQEmu::FixedMemoryVariableHashSet<test_struct> hash(data_, size_, 501);
|
||||
TEST_ASSERT(!hash.exists(0));
|
||||
|
||||
@@ -35,6 +35,7 @@ public:
|
||||
~IPCMutexTest() {
|
||||
}
|
||||
|
||||
private:
|
||||
void LockMutexTest() {
|
||||
EQEmu::IPCMutex mutex("TestMutex1");
|
||||
TEST_ASSERT(mutex.Lock());
|
||||
|
||||
@@ -33,8 +33,7 @@ public:
|
||||
~MemoryMappedFileTest() {
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
void LoadAndZeroMMF() {
|
||||
EQEmu::MemoryMappedFile mmf("testfile.txt", 512);
|
||||
mmf.ZeroFile();
|
||||
|
||||
Reference in New Issue
Block a user