Class HudAnimationTriggerRulesTests
Inherited Members
Namespace: Serenity.GameUi.Tests.Application
Assembly: Tests.dll
Syntax
public class HudAnimationTriggerRulesTests
Constructors
HudAnimationTriggerRulesTests()
Declaration
public HudAnimationTriggerRulesTests()
Methods
IsValueTrigger_ClassifiesEveryTriggerKind(HudAnimationTrigger, bool)
Declaration
public void IsValueTrigger_ClassifiesEveryTriggerKind(HudAnimationTrigger trigger, bool expected)
Parameters
| Type | Name | Description |
|---|---|---|
| HudAnimationTrigger | trigger | |
| bool | expected |
IsValueTrigger_EveryEnumValue_MatchesTheExpectedSet()
Enumerates the actual HudAnimationTrigger enum, rather than relying on the
TestCase list above alone, so a future trigger kind added to the enum without a matching
entry in Serenity.GameUi.Tests.Application.HudAnimationTriggerRulesTests.ExpectedValueTriggers fails loudly instead of silently going unclassified.
Declaration
public void IsValueTrigger_EveryEnumValue_MatchesTheExpectedSet()