mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-10 09:28:06 +00:00
More robust tests
This commit is contained in:
@@ -34,12 +34,26 @@ protected:
|
||||
TEST_F(EntityTests, WhitelistTest) {
|
||||
const auto whitelists = Entity::GetComponentWhitelists();
|
||||
std::vector<eReplicaComponentType> whitelist = {
|
||||
eReplicaComponentType::RACING_STATS,
|
||||
eReplicaComponentType::SIMPLE_PHYSICS,
|
||||
eReplicaComponentType::CONTROLLABLE_PHYSICS,
|
||||
eReplicaComponentType::SIMPLE_PHYSICS,
|
||||
eReplicaComponentType::MODEL_BEHAVIOR,
|
||||
eReplicaComponentType::SPAWN,
|
||||
eReplicaComponentType::RENDER,
|
||||
eReplicaComponentType::ITEM,
|
||||
eReplicaComponentType::BLUEPRINT,
|
||||
eReplicaComponentType::PET,
|
||||
eReplicaComponentType::SKILL,
|
||||
eReplicaComponentType::DESTROYABLE,
|
||||
eReplicaComponentType::CONTROLLABLE_PHYSICS,
|
||||
eReplicaComponentType::SIMPLE_PHYSICS,
|
||||
eReplicaComponentType::MODEL_BEHAVIOR,
|
||||
eReplicaComponentType::SPAWN,
|
||||
eReplicaComponentType::RENDER,
|
||||
eReplicaComponentType::ITEM,
|
||||
eReplicaComponentType::BLUEPRINT,
|
||||
eReplicaComponentType::PET,
|
||||
eReplicaComponentType::SKILL,
|
||||
eReplicaComponentType::DESTROYABLE,
|
||||
eReplicaComponentType::RACING_CONTROL
|
||||
};
|
||||
RunWhitelistTest(0, whitelist);
|
||||
RunWhitelistTest(1, whitelist);
|
||||
|
Reference in New Issue
Block a user