Class MenuServiceSettingsStepGuiConsumeReachableGraphLoadRequestTests
EditMode tests for ConsumeReachableGraphLoadRequest() — the gate OnBeforeDrawStep() checks before auto-loading the reachable menu graph.
Inherited Members
Namespace: Serenity.Menu.Tests.Editor
Assembly: Serenity.Menu.Tests.Editor.dll
Syntax
public class MenuServiceSettingsStepGuiConsumeReachableGraphLoadRequestTests
Remarks
Regression coverage for the latch-order bug this method fixes: the old call site checked ConsumeSeedRequest(out Object) before CanProceed, so an unconfirmed package-content match burned the one-time seed latch the moment it resolved — the author's later confirmation then never triggered the load, because the target already read as seeded. Driven directly against the step gui (no window, no GUI frame) via its Serenity.Menu.Infrastructure.Editor.Builder.MenuServiceSettingsStepGui.TargetForTests seam, since nothing under test needs the wizard's step table.
Constructors
MenuServiceSettingsStepGuiConsumeReachableGraphLoadRequestTests()
Declaration
public MenuServiceSettingsStepGuiConsumeReachableGraphLoadRequestTests()
Methods
ConsumeReachableGraphLoadRequest_TargetBlockedThenConfirmed_FalseWhileBlockedThenTrueOnceAfterConfirming()
Declaration
public void ConsumeReachableGraphLoadRequest_TargetBlockedThenConfirmed_FalseWhileBlockedThenTrueOnceAfterConfirming()
ConsumeReachableGraphLoadRequest_TargetResolvedAndUnblocked_TrueOnceThenFalse()
Declaration
public void ConsumeReachableGraphLoadRequest_TargetResolvedAndUnblocked_TrueOnceThenFalse()
TearDown()
Declaration
public void TearDown()