Class UnityTransformApplierTests
PlayMode tests for UnityTransformApplier. Registers real Transforms and asserts localScale after applying TransformDeltas (scale is applied as a multiplier against the cached original scale).
Inherited Members
Namespace: Serenity.UnityProceduralExpression.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityTransformApplierTests
Constructors
UnityTransformApplierTests()
Declaration
public UnityTransformApplierTests()
Methods
Apply_EmptyDelta_DoesNothing()
Declaration
public void Apply_EmptyDelta_DoesNothing()
Apply_NullDelta_DoesNotThrow()
Declaration
public void Apply_NullDelta_DoesNotThrow()
Apply_ScaleMultiplier_MultipliesOriginalScale()
Declaration
public void Apply_ScaleMultiplier_MultipliesOriginalScale()
Apply_UnregisteredId_IgnoredAndDoesNotThrow()
Declaration
public void Apply_UnregisteredId_IgnoredAndDoesNotThrow()
CacheOriginalScales_PicksUpNewBaseScale()
Declaration
public void CacheOriginalScales_PicksUpNewBaseScale()
ClearTargets_RemovesAll()
Declaration
public void ClearTargets_RemovesAll()
RegisterTarget_IncrementsTargetCount()
Declaration
public void RegisterTarget_IncrementsTargetCount()
RegisterTarget_NullTransform_NotRegistered()
Declaration
public void RegisterTarget_NullTransform_NotRegistered()
ResetToOriginalScale_RestoresCachedScale()
Declaration
public void ResetToOriginalScale_RestoresCachedScale()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
UnregisterTarget_RemovesTarget()
Declaration
public void UnregisterTarget_RemovesTarget()