![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "SpellInfoTestHelper.h"#include "SpellInfo.h"#include "SharedDefines.h"#include "gtest/gtest.h"Go to the source code of this file.
Classes | |
| class | BinarySpellDetectionTest |
Functions | |
| TEST_F (BinarySpellDetectionTest, AuraWithCalcValue_IsBinary) | |
| TEST_F (BinarySpellDetectionTest, AuraWithZeroCalcValue_NotBinary) | |
| TEST_F (BinarySpellDetectionTest, InterruptCast_IsBinary) | |
| TEST_F (BinarySpellDetectionTest, InterruptCastWithNoImmunities_NotBinary) | |
| TEST_F (BinarySpellDetectionTest, FearLikeSpell_SecondEffectHasValue_IsBinary) | |
| TEST_F (BinarySpellDetectionTest, PolymorphLikeSpell_IsBinary) | |
| TEST_F (BinarySpellDetectionTest, FrostNovaLikeSpell_IsBinary) | |
| TEST_F | ( | BinarySpellDetectionTest | , |
| AuraWithCalcValue_IsBinary | |||
| ) |
References SpellInfoBuilder::BuildUnique(), SPELL_AURA_MOD_FEAR, SPELL_EFFECT_APPLY_AURA, SPELL_SCHOOL_MASK_SHADOW, SpellInfoBuilder::WithEffect(), SpellInfoBuilder::WithEffectBasePoints(), SpellInfoBuilder::WithEffectDieSides(), and SpellInfoBuilder::WithSchoolMask().
| TEST_F | ( | BinarySpellDetectionTest | , |
| AuraWithZeroCalcValue_NotBinary | |||
| ) |
References SpellInfoBuilder::BuildUnique(), SPELL_AURA_MOD_FEAR, SPELL_EFFECT_APPLY_AURA, SPELL_SCHOOL_MASK_SHADOW, SpellInfoBuilder::WithEffect(), SpellInfoBuilder::WithEffectBasePoints(), SpellInfoBuilder::WithEffectDieSides(), and SpellInfoBuilder::WithSchoolMask().
| TEST_F | ( | BinarySpellDetectionTest | , |
| FearLikeSpell_SecondEffectHasValue_IsBinary | |||
| ) |
References SpellInfoBuilder::BuildUnique(), SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_INCREASE_SPEED, SPELL_EFFECT_APPLY_AURA, SPELL_SCHOOL_MASK_SHADOW, SpellInfoBuilder::WithEffect(), SpellInfoBuilder::WithEffectBasePoints(), SpellInfoBuilder::WithEffectDieSides(), and SpellInfoBuilder::WithSchoolMask().
| TEST_F | ( | BinarySpellDetectionTest | , |
| FrostNovaLikeSpell_IsBinary | |||
| ) |
References SpellInfoBuilder::BuildUnique(), SPELL_AURA_MOD_ROOT, SPELL_EFFECT_APPLY_AURA, SPELL_SCHOOL_MASK_FROST, SpellInfoBuilder::WithEffect(), SpellInfoBuilder::WithEffectBasePoints(), SpellInfoBuilder::WithEffectDieSides(), and SpellInfoBuilder::WithSchoolMask().
| TEST_F | ( | BinarySpellDetectionTest | , |
| InterruptCast_IsBinary | |||
| ) |
References SpellInfoBuilder::BuildUnique(), SPELL_EFFECT_INTERRUPT_CAST, SPELL_SCHOOL_MASK_SHADOW, SpellInfoBuilder::WithEffect(), SpellInfoBuilder::WithEffectBasePoints(), SpellInfoBuilder::WithEffectDieSides(), and SpellInfoBuilder::WithSchoolMask().
| TEST_F | ( | BinarySpellDetectionTest | , |
| InterruptCastWithNoImmunities_NotBinary | |||
| ) |
References SpellInfoBuilder::BuildUnique(), SPELL_ATTR0_NO_IMMUNITIES, SPELL_EFFECT_INTERRUPT_CAST, SPELL_SCHOOL_MASK_SHADOW, SpellInfoBuilder::WithAttributes(), SpellInfoBuilder::WithEffect(), SpellInfoBuilder::WithEffectBasePoints(), SpellInfoBuilder::WithEffectDieSides(), and SpellInfoBuilder::WithSchoolMask().
| TEST_F | ( | BinarySpellDetectionTest | , |
| PolymorphLikeSpell_IsBinary | |||
| ) |
References SpellInfoBuilder::BuildUnique(), SPELL_AURA_MOD_CONFUSE, SPELL_EFFECT_APPLY_AURA, SPELL_SCHOOL_MASK_ARCANE, SpellInfoBuilder::WithEffect(), SpellInfoBuilder::WithEffectBasePoints(), SpellInfoBuilder::WithEffectDieSides(), and SpellInfoBuilder::WithSchoolMask().