Class ProjectPipelineCompletionTests
EditMode tests for Serenity.CreateGame.Infrastructure.Editor.Wiring.ProjectPipelineCompletion — the Reuse-state counterpart of
ProjectPipelineProfileFactoryTests. Every test builds its OWN project profile under a
disposable scratch root (never InstallTaskAuthoring.FindProjectOwnedProfiles, which would
find the real project's own) by seeding it through
Serenity.CreateGame.Infrastructure.Editor.Wiring.ProjectPipelineProfileFactory.TryCreateFromShipped(System.String,System.Collections.Generic.IReadOnlyList{System.String},System.Action{System.String},System.String@,System.String@) with both output seams redirected, then
completes it and asserts against the profile on disk. The real project's own content is never touched.
Inherited Members
Namespace: Serenity.CreateGame.Tests.Editor
Assembly: Serenity.CreateGame.Tests.Editor.dll
Syntax
public class ProjectPipelineCompletionTests
Constructors
ProjectPipelineCompletionTests()
Declaration
public ProjectPipelineCompletionTests()
Methods
OneTimeTearDown()
Declaration
public void OneTimeTearDown()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
TryRun_AdoptedSplashTask_StringArgPointsAtTheAdoptedCutscene()
Declaration
public void TryRun_AdoptedSplashTask_StringArgPointsAtTheAdoptedCutscene()
TryRun_AdoptedTasks_AreRegisteredAsAddressable()
Declaration
public void TryRun_AdoptedTasks_AreRegisteredAsAddressable()
TryRun_CalledTwice_SecondRunChangesNothing()
Declaration
public void TryRun_CalledTwice_SecondRunChangesNothing()
TryRun_CutscenePlayerDeselected_InsertsNothing()
Declaration
public void TryRun_CutscenePlayerDeselected_InsertsNothing()
TryRun_ProfileHoldsAShippedSplashTask_ReplacesItWithTheAdoptedTwin()
Declaration
public void TryRun_ProfileHoldsAShippedSplashTask_ReplacesItWithTheAdoptedTwin()
TryRun_ReuseProfileWithoutTheSplashTasks_InsertsTheAdoptedOnesAtTheirCanonicalPositions()
Declaration
public void TryRun_ReuseProfileWithoutTheSplashTasks_InsertsTheAdoptedOnesAtTheirCanonicalPositions()
TryRun_SecondRunWithAnotherOutputRoot_ChangesNothing()
A second run pointed at a DIFFERENT output root must reuse the twins the first run already produced, not clone a second set into the new root: the profile is stripped of its splash entries first, so the only thing telling this run those tasks exist is the project-wide identity index — the mirrored destination under the second root does not exist.
Declaration
public void TryRun_SecondRunWithAnotherOutputRoot_ChangesNothing()
TryRun_UserReorderedTasks_KeepsThatOrder()
Declaration
public void TryRun_UserReorderedTasks_KeepsThatOrder()