Class UnityShaderColorPropertyResolverTests
PlayMode tests for UnityShaderColorPropertyResolver. Uses real Materials to validate color-property resolution and caching.
Inherited Members
Namespace: Serenity.UnityProceduralExpression.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityShaderColorPropertyResolverTests
Constructors
UnityShaderColorPropertyResolverTests()
Declaration
public UnityShaderColorPropertyResolverTests()
Methods
ClearCache_DoesNotThrow()
Declaration
public void ClearCache_DoesNotThrow()
GetTriedPropertyNames_ContainsKnownProperties()
Declaration
public void GetTriedPropertyNames_ContainsKnownProperties()
Invalid_Factory_ProducesInvalidStruct()
Declaration
public void Invalid_Factory_ProducesInvalidStruct()
ResolveColorProperty_NullMaterial_ReturnsInvalid()
Declaration
public void ResolveColorProperty_NullMaterial_ReturnsInvalid()
ResolveColorProperty_RealMaterial_FindsColorProperty()
Declaration
public void ResolveColorProperty_RealMaterial_FindsColorProperty()
ResolveColorProperty_SecondCall_ReturnsCachedResult()
Declaration
public void ResolveColorProperty_SecondCall_ReturnsCachedResult()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
Valid_Factory_ProducesValidStruct()
Declaration
public void Valid_Factory_ProducesValidStruct()