Class UiOptionLegacySubmitSignalShippedContentTests
An option authored before the submit-signal list existed shows its legacy signal with a "Move to list" button, and "+ Add On Submit Signal" moves it too before appending. On a menu the package ships both must refuse — the next package update overwrites that file — and the inspector must say why, while on the author's own copy both still move the signal.
The buttons are driven through Serenity.Menu.Infrastructure.Settings.Editor.UiOptionListInspectorGUI.PressMoveLegacySignalToListForTests(System.Int32) and Serenity.Menu.Infrastructure.Settings.Editor.UiOptionListInspectorGUI.PressAddSignalForTests(System.Int32), which run exactly what each button runs: a click cannot be synthesized on a row of a reorderable list drawn headlessly, because the row's rect is only known inside the list's own draw. The notice is proven through a real inspector draw.
Inherited Members
Namespace: Serenity.Menu.Tests.Editor
Assembly: Serenity.Menu.Tests.Editor.dll
Syntax
public class UiOptionLegacySubmitSignalShippedContentTests
Constructors
UiOptionLegacySubmitSignalShippedContentTests()
Declaration
public UiOptionLegacySubmitSignalShippedContentTests()
Methods
AddSignal_OnAShippedMenuOptionCarryingALegacySignal_IsRefusedAndLeavesTheFileUntouched()
Declaration
public void AddSignal_OnAShippedMenuOptionCarryingALegacySignal_IsRefusedAndLeavesTheFileUntouched()
DrawingAProjectOwnedCopy_ShowsNoShippedContentRefusal()
Declaration
public void DrawingAProjectOwnedCopy_ShowsNoShippedContentRefusal()
DrawingAShippedMenuWithALegacySignal_ShowsTheShippedContentRefusal()
Declaration
public void DrawingAShippedMenuWithALegacySignal_ShowsTheShippedContentRefusal()
MoveToList_OnAProjectOwnedCopy_MovesTheSignalToTheFrontOfTheList()
Declaration
public void MoveToList_OnAProjectOwnedCopy_MovesTheSignalToTheFrontOfTheList()
MoveToList_OnAShippedMenu_IsRefusedAndLeavesTheFileUntouched()
Declaration
public void MoveToList_OnAShippedMenu_IsRefusedAndLeavesTheFileUntouched()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()