Class SerenityAddressableKeyValidatorTests
Tests for Serenity.Global.Infrastructure.Editor.Validation.SerenityAddressableKeyValidator: an AssetPathFieldAttribute-annotated
string field that stores a raw Assets/... path to an Addressable-eligible target must be flagged
as an error, a key already matching a registered address must not, an unresolvable non-path key must be
a warning rather than an error, and the fix API must resolve the raw-path case.
Inherited Members
Namespace: Serenity.UnityValidation.Tests.Editor
Assembly: Serenity.UnityValidation.Tests.Editor.dll
Syntax
public class SerenityAddressableKeyValidatorTests
Constructors
SerenityAddressableKeyValidatorTests()
Declaration
public SerenityAddressableKeyValidatorTests()
Methods
FixByRetaggingAndReresolving_ThenRerun_NoLongerReported()
Declaration
public void FixByRetaggingAndReresolving_ThenRerun_NoLongerReported()
Run_EmptyKey_ReportsNothing()
Declaration
public void Run_EmptyKey_ReportsNothing()
Run_KeyMatchingRegisteredAddress_ReportsNothing()
Declaration
public void Run_KeyMatchingRegisteredAddress_ReportsNothing()
Run_RawPathToAddressableTarget_ReportsExactlyOneError()
Declaration
public void Run_RawPathToAddressableTarget_ReportsExactlyOneError()
Run_UnknownNonPathKey_ReportsWarningNotError()
Declaration
public void Run_UnknownNonPathKey_ReportsWarningNotError()
RunnerAddressableKeysKind_WithRawPathIssue_SetsHasErrors()
Declaration
public void RunnerAddressableKeysKind_WithRawPathIssue_SetsHasErrors()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()