Namespace Serenity.Menu.Tests.Domain
Classes
HorizontalOptionWidthModeTests
Tests for HorizontalOptionWidthMode. CONTENT must be value 0 so existing horizontal menus keep their historical per-option content sizing when no value is stored; the remaining modes have stable, distinct values.
MenuDirectionTests
Tests for MenuDirection. These lock the value contract that keeps the horizontal feature backward-compatible: the default (value 0) must be VERTICAL so existing serialized assets — which store no value — deserialize to the historical layout.
MenuHorizontalMirroringPolicyTests
Tests for MenuHorizontalMirroringPolicy: the pure rule deciding whether a horizontal menu's composite option rows may mirror OptionAlignment.RIGHT for real, or must clamp to CENTER.
MenuInstantiationModeTests
Tests for MenuInstantiationMode.
These lock the value contract that keeps PR2 backward-compatible: the default (value 0) must be
PreloadOnStartup so existing serialized menu assets — which
store no value for this field — deserialize to the current eager-construction behavior.
MenuScrollPolicyTests
Tests for MenuScrollPolicy: the pure rule deciding when a menu clamps its options area to the configured visible rows and scrolls the overflow.