![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Test fixture for SpellMgr proc tests. More...
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| SpellInfo * | CreateSpellInfo (uint32 id=1, uint32 familyName=0, uint32 familyFlag0=0, uint32 familyFlag1=0, uint32 familyFlag2=0) |
Protected Attributes | |
| IWorld * | _originalWorld = nullptr |
| NiceMock< WorldMock > * | _worldMock = nullptr |
| std::vector< SpellInfo * > | _spellInfos |
Test fixture for SpellMgr proc tests.
Tests the CanSpellTriggerProcOnEvent function and related proc logic.
|
inlineprotected |
References _spellInfos, SpellInfoBuilder::Build(), SpellInfoBuilder::WithId(), SpellInfoBuilder::WithSpellFamilyFlags(), and SpellInfoBuilder::WithSpellFamilyName().
|
inlineoverrideprotected |
References _originalWorld, _worldMock, and sWorld.
|
inlineoverrideprotected |
References _originalWorld, _spellInfos, _worldMock, and sWorld.
|
protected |
Referenced by SetUp(), and TearDown().
|
protected |
Referenced by CreateSpellInfo(), and TearDown().
|
protected |
Referenced by SetUp(), and TearDown().