AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SpellProcIntegrationTest Class Reference

Integration tests for the proc system. More...

Inheritance diagram for SpellProcIntegrationTest:
AuraScriptProcTestFixture

Protected Member Functions

void SetUp () override
 
- Protected Member Functions inherited from AuraScriptProcTestFixture
void SetUp () override
 
void TearDown () override
 
ProcTestContextContext ()
 
SpellInfoCreateSpellInfo (uint32_t id, uint32_t familyName=0, uint32_t familyFlags0=0, uint32_t familyFlags1=0, uint32_t familyFlags2=0)
 
SpellProcEntry CreateProcEntry ()
 
ProcEventInfo CreateEventInfo (uint32_t typeMask, uint32_t hitMask, uint32_t spellTypeMask=PROC_SPELL_TYPE_MASK_ALL, uint32_t spellPhaseMask=PROC_SPELL_PHASE_HIT)
 
bool TestCanProc (SpellProcEntry const &procEntry, uint32_t typeMask, uint32_t hitMask, SpellInfo const *triggerSpell=nullptr)
 
bool TestSpellFamilyMatch (uint32_t procFamilyName, flag96 const &procFamilyMask, SpellInfo const *triggerSpell)
 

Detailed Description

Integration tests for the proc system.

These tests verify that the proc system correctly integrates:

  • SpellProcEntry configuration
  • CanSpellTriggerProcOnEvent logic
  • Proc flag combinations
  • Spell family matching
  • Hit mask filtering

Member Function Documentation

◆ SetUp()

void SpellProcIntegrationTest::SetUp ( )
inlineoverrideprotected
39 {
41 }
void SetUp() override
Definition AuraScriptTestFramework.h:145

References AuraScriptProcTestFixture::SetUp().


The documentation for this class was generated from the following file: