![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ProcEventInfoHelper.h"#include "SpellInfoTestHelper.h"#include "SpellMgr.h"#include "WorldMock.h"#include "gtest/gtest.h"#include "gmock/gmock.h"Go to the source code of this file.
Classes | |
| class | SpellProcTest |
| Test fixture for SpellMgr proc tests. More... | |
Functions | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_ProcFlagsMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_ProcFlagsNoMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_MultipleProcFlagsPartialMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_KillEventAlwaysProcs) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_KilledEventAlwaysProcs) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_DeathEventAlwaysProcs) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HitMaskCriticalMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HitMaskCriticalNoMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HitMaskDefaultForDone) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HitMaskDefaultForTaken) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HitMaskMissNoMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HitMaskDodge) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HitMaskParry) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HitMaskBlock) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellTypeMaskDamage) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellTypeMaskHeal) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellTypeMaskNoMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellPhaseMaskCast) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellPhaseMaskHit) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellPhaseMaskNoMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_CastPhaseWithExplicitHitMaskCrit) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_CastPhaseWithExplicitHitMaskNoCrit) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_CastPhaseWithDefaultHitMask) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_AllConditionsMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_OneConditionFails) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_ZeroProcFlags) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_PeriodicDamage) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_TakenDamage) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellFamilyNameMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellFamilyNameNoMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellFamilyFlagsMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellFamilyFlagsNoMatch) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellFamilyNameZeroAcceptsAll) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SpellFamilyFlagsZeroAcceptsAll) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_GenericFamilyIgnoresMask) | |
| TEST_F (SpellProcTest, SpellInfo_IsAffected_GenericBehavior) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_HotStreakScenario) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_IlluminationScenario) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SecondWindScenario) | |
| TEST_F (SpellProcTest, CanSpellTriggerProcOnEvent_SwordAndBoardScenario) | |
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_AllConditionsMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_CRITICAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), ProcEventInfoBuilder::WithSpellTypeMask(), SpellProcEntryBuilder::WithSpellTypeMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_CastPhaseWithDefaultHitMask | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_NORMAL, PROC_SPELL_PHASE_CAST, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NATURE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_CastPhaseWithExplicitHitMaskCrit | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_CRITICAL, PROC_SPELL_PHASE_CAST, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NATURE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_CastPhaseWithExplicitHitMaskNoCrit | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_CRITICAL, PROC_HIT_NORMAL, PROC_SPELL_PHASE_CAST, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NATURE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_DeathEventAlwaysProcs | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DEATH, sSpellMgr, SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_GenericFamilyIgnoresMask | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, SPELLFAMILY_MAGE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellInfoBuilder::WithSpellFamilyFlags(), SpellProcEntryBuilder::WithSpellFamilyMask(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HitMaskBlock | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK, PROC_HIT_BLOCK, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HitMaskCriticalMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_HIT_CRITICAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HitMaskCriticalNoMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_HIT_CRITICAL, PROC_HIT_NORMAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HitMaskDefaultForDone | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_HIT_NORMAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HitMaskDefaultForTaken | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK, PROC_HIT_CRITICAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HitMaskDodge | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK, PROC_HIT_DODGE, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HitMaskMissNoMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_HIT_MISS, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HitMaskParry | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK, PROC_HIT_PARRY, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_HotStreakScenario | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_CRITICAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, SPELLFAMILY_MAGE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellInfoBuilder::WithSpellFamilyFlags(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), ProcEventInfoBuilder::WithSpellTypeMask(), SpellProcEntryBuilder::WithSpellTypeMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_IlluminationScenario | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS, PROC_HIT_CRITICAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_HEAL, SPELL_SCHOOL_MASK_HOLY, SPELLFAMILY_PALADIN, sSpellMgr, ProcEventInfoBuilder::WithHealInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellInfoBuilder::WithSpellFamilyFlags(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), ProcEventInfoBuilder::WithSpellTypeMask(), SpellProcEntryBuilder::WithSpellTypeMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_KilledEventAlwaysProcs | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_KILLED, sSpellMgr, SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_KillEventAlwaysProcs | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_KILL, sSpellMgr, SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_MultipleProcFlagsPartialMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_FLAG_DONE_RANGED_AUTO_ATTACK, PROC_HIT_NORMAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_OneConditionFails | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_CRITICAL, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), ProcEventInfoBuilder::WithSpellTypeMask(), SpellProcEntryBuilder::WithSpellTypeMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_PeriodicDamage | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_PERIODIC, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_SHADOW, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), ProcEventInfoBuilder::WithSpellTypeMask(), SpellProcEntryBuilder::WithSpellTypeMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_ProcFlagsMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_HIT_NORMAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_ProcFlagsNoMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_FLAG_DONE_RANGED_AUTO_ATTACK, PROC_HIT_NORMAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SecondWindScenario | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK, PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS, PROC_HIT_DODGE, PROC_HIT_PARRY, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellFamilyFlagsMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_SCHOOL_MASK_HOLY, SPELLFAMILY_PALADIN, sSpellMgr, ProcEventInfoBuilder::WithHealInfo(), ProcEventInfoBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellInfoBuilder::WithSpellFamilyFlags(), SpellProcEntryBuilder::WithSpellFamilyMask(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellFamilyFlagsNoMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_SCHOOL_MASK_HOLY, SPELLFAMILY_PALADIN, sSpellMgr, ProcEventInfoBuilder::WithHealInfo(), ProcEventInfoBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellInfoBuilder::WithSpellFamilyFlags(), SpellProcEntryBuilder::WithSpellFamilyMask(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellFamilyFlagsZeroAcceptsAll | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_SCHOOL_MASK_HOLY, SPELLFAMILY_PRIEST, sSpellMgr, ProcEventInfoBuilder::WithHealInfo(), ProcEventInfoBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellInfoBuilder::WithSpellFamilyFlags(), SpellProcEntryBuilder::WithSpellFamilyMask(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellFamilyNameMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, SPELLFAMILY_MAGE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellFamilyNameNoMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_SHADOW, SPELLFAMILY_MAGE, SPELLFAMILY_WARLOCK, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellFamilyNameZeroAcceptsAll | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NATURE, SPELLFAMILY_DRUID, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellPhaseMaskCast | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_SPELL_PHASE_CAST, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellPhaseMaskHit | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellPhaseMaskNoMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_NORMAL, PROC_SPELL_PHASE_CAST, PROC_SPELL_PHASE_HIT, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellTypeMaskDamage | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_FIRE, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), ProcEventInfoBuilder::WithSpellTypeMask(), SpellProcEntryBuilder::WithSpellTypeMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellTypeMaskHeal | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_HEAL, SPELL_SCHOOL_MASK_HOLY, sSpellMgr, ProcEventInfoBuilder::WithHealInfo(), ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), ProcEventInfoBuilder::WithSpellTypeMask(), SpellProcEntryBuilder::WithSpellTypeMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SpellTypeMaskNoMatch | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, PROC_SPELL_TYPE_DAMAGE, PROC_SPELL_TYPE_HEAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), ProcEventInfoBuilder::WithSpellTypeMask(), SpellProcEntryBuilder::WithSpellTypeMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_SwordAndBoardScenario | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_SPELL_MELEE_DMG_CLASS, PROC_HIT_NORMAL, PROC_SPELL_PHASE_HIT, SPELL_DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, SPELLFAMILY_WARRIOR, sSpellMgr, ProcEventInfoBuilder::WithDamageInfo(), ProcEventInfoBuilder::WithHitMask(), SpellInfoBuilder::WithId(), SpellProcEntryBuilder::WithProcFlags(), SpellInfoBuilder::WithSpellFamilyFlags(), SpellProcEntryBuilder::WithSpellFamilyMask(), SpellProcEntryBuilder::WithSpellFamilyName(), SpellInfoBuilder::WithSpellFamilyName(), ProcEventInfoBuilder::WithSpellPhaseMask(), SpellProcEntryBuilder::WithSpellPhaseMask(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_TakenDamage | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_TAKEN_DAMAGE, PROC_HIT_NORMAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| CanSpellTriggerProcOnEvent_ZeroProcFlags | |||
| ) |
References ProcEventInfoBuilder::Build(), SpellProcEntryBuilder::Build(), PROC_FLAG_DONE_MELEE_AUTO_ATTACK, PROC_HIT_NORMAL, sSpellMgr, ProcEventInfoBuilder::WithHitMask(), SpellProcEntryBuilder::WithProcFlags(), and ProcEventInfoBuilder::WithTypeMask().
| TEST_F | ( | SpellProcTest | , |
| SpellInfo_IsAffected_GenericBehavior | |||
| ) |
References SpellInfoBuilder::Build(), SPELLFAMILY_PALADIN, SPELLFAMILY_WARLOCK, SpellInfoBuilder::WithId(), SpellInfoBuilder::WithSpellFamilyFlags(), and SpellInfoBuilder::WithSpellFamilyName().