Class BootTaskRequirementsTests
EditMode tests for Serenity.CreateGame.Infrastructure.Editor.BootTaskRequirements — the declared "this task needs that system" table. Two of them are guards rather than behavior checks: a requirement naming something outside SerenityInstallableSystemCatalog would silently never gate anything, and a requiring task with no Serenity.CreateGame.Infrastructure.Editor.BootTaskCanonicalOrder slot could never be placed back into a profile.
Inherited Members
Namespace: Serenity.CreateGame.Tests.Editor
Assembly: Serenity.CreateGame.Tests.Editor.dll
Syntax
public class BootTaskRequirementsTests
Constructors
BootTaskRequirementsTests()
Declaration
public BootTaskRequirementsTests()
Methods
EveryRequiredInstallMethod_IsAnAttributedNonBootstrapSystem()
A requirement is only ever enforced against an attributed, non-bootstrap system — a name outside the catalog can never be selected, so Serenity.CreateGame.Infrastructure.Editor.BootTaskSelectionRules deliberately ignores it. This guard makes a typo in the table a failing test instead of a silent no-op.
Declaration
public void EveryRequiredInstallMethod_IsAnAttributedNonBootstrapSystem()
EveryRequiringTaskAssetName_HasACanonicalSlot()
Declaration
public void EveryRequiringTaskAssetName_HasACanonicalSlot()
RequiredInstallMethodFor_AnInfrastructureTask_IsNull()
Declaration
public void RequiredInstallMethodFor_AnInfrastructureTask_IsNull()
RequiredInstallMethodFor_EverySplashTask_IsInstallCutscenePlayer()
Declaration
public void RequiredInstallMethodFor_EverySplashTask_IsInstallCutscenePlayer()
TaskAssetNamesRequiring_InstallCutscenePlayer_IsTheThreeSplashTasksInCanonicalOrder()
Declaration
public void TaskAssetNamesRequiring_InstallCutscenePlayer_IsTheThreeSplashTasksInCanonicalOrder()