Class HudMemberCatalogTests
EditMode tests for HudMemberCatalog's hop filtering. An enum is a displayable TEXT leaf, so it must offer no further hops — its reflected members are enum constants, and reading a constant ignores the bound value entirely. Constants on any type are filtered for the same reason, while readonly instance fields stay readable.
Inherited Members
Namespace: Serenity.GameUi.Tests.Editor.Builder
Assembly: Serenity.GameUi.Tests.Editor.dll
Syntax
public class HudMemberCatalogTests
Constructors
HudMemberCatalogTests()
Declaration
public HudMemberCatalogTests()
Methods
GetReadableMembers_ATypeWithAConstant_DoesNotOfferTheConstant()
Declaration
public void GetReadableMembers_ATypeWithAConstant_DoesNotOfferTheConstant()
GetReadableMembers_ATypeWithReadonlyInstanceFields_StillOffersThem()
Declaration
public void GetReadableMembers_ATypeWithReadonlyInstanceFields_StillOffersThem()
GetReadableMembers_AnEnumType_OffersNoHops()
Declaration
public void GetReadableMembers_AnEnumType_OffersNoHops()