Class AuthoringIssueTests
Tests for AuthoringIssue. Pure value type, so every case runs without an editor context.
The behaviour that matters here is addressability: a finding has to say which entry it came from, and stay
reachable even when that entry has not been named yet — that is what lets a tool turn a message into a link.
Inherited Members
Namespace: Serenity.Shared.Tests.Authoring
Assembly: Tests.dll
Syntax
public class AuthoringIssueTests
Constructors
AuthoringIssueTests()
Declaration
public AuthoringIssueTests()
Methods
Constructor_NormalisesNullTextToEmpty()
Declaration
public void Constructor_NormalisesNullTextToEmpty()
ForAsset_HasNoSubject()
Declaration
public void ForAsset_HasNoSubject()
ForSubject_KeepsIdAndIndex()
Declaration
public void ForSubject_KeepsIdAndIndex()
ForSubject_WithoutId_StaysAddressableByIndex()
Declaration
public void ForSubject_WithoutId_StaysAddressableByIndex()
Severity_IsOrderedLeastToMostSevere()
Declaration
public void Severity_IsOrderedLeastToMostSevere()
ToString_FallsBackToPositionWhenUnnamed()
Declaration
public void ToString_FallsBackToPositionWhenUnnamed()
ToString_NamesTheSubject()
Declaration
public void ToString_NamesTheSubject()
ToString_OmitsTheSubjectForAWholeAssetFinding()
Declaration
public void ToString_OmitsTheSubjectForAWholeAssetFinding()