Class FoundationReferenceWalkerTests
Tests for Serenity.Global.Infrastructure.Editor.Validation.FoundationReferenceWalker's AssetKey support: a type with no declared
FoundationReferenceContracts row but at least one [AssetPathField] field must
still be walked, emitting one Serenity.Global.Infrastructure.Editor.Validation.FoundationReferenceSite per match with
AssetKey and the attribute's asset type resolved.
Inherited Members
Namespace: Serenity.UnityValidation.Tests.Editor
Assembly: Serenity.UnityValidation.Tests.Editor.dll
Syntax
public class FoundationReferenceWalkerTests
Constructors
FoundationReferenceWalkerTests()
Declaration
public FoundationReferenceWalkerTests()
Methods
HasContractsFor_TypeWithAnAssetPathFieldAndNoContractRows_ReturnsTrue()
Declaration
public void HasContractsFor_TypeWithAnAssetPathFieldAndNoContractRows_ReturnsTrue()
HasContractsFor_TypeWithNeitherContractRowsNorAssetPathFields_ReturnsFalse()
Declaration
public void HasContractsFor_TypeWithNeitherContractRowsNorAssetPathFields_ReturnsFalse()
Walk_TypeWithAnAssetPathFieldAndNoContractRows_EmitsAnAssetKeySite()
Declaration
public void Walk_TypeWithAnAssetPathFieldAndNoContractRows_EmitsAnAssetKeySite()