logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityShaderColorPropertyResolverTests

    PlayMode tests for UnityShaderColorPropertyResolver. Uses real Materials to validate color-property resolution and caching.

    Inheritance
    object
    UnityShaderColorPropertyResolverTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()
    In this article
    © 2026 Serenity. All Rights Reserved