logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AnimationClipCopyEngineTests

    EditMode tests for AnimationClipCopyEngine. Every fixture (clip, controller) is built under a private temp folder and torn down after each test, mirroring ModelClipCreatorTests. Every Input.RegisterAsAddressables is false so these tests never touch the project's real Addressables settings.

    Not covered: the humanoid warning branch (Validate(Input) adding a warning when the source clip's UnityEngine.AnimationClip.humanMotion is true). That flag is a read-only fact a ModelImporter's Avatar/rig configuration sets at import time — there is no API to flip it on an in-memory or hand-built clip, and this project ships no imported humanoid (.fbx) fixture anywhere under Assets to build one from. Same accepted limitation ModelClipCreatorTests already documents for its own FBX-dependent branches.

    Inheritance
    object
    AnimationClipCopyEngineTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AnimationHub.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class AnimationClipCopyEngineTests

    Constructors

    AnimationClipCopyEngineTests()

    Declaration
    public AnimationClipCopyEngineTests()

    Methods

    Create_NameCollision_SecondRunGetsAUniqueSuffix()

    Declaration
    public void Create_NameCollision_SecondRunGetsAUniqueSuffix()

    Create_RewireControllerFalse_LeavesTheControllerUntouched()

    Declaration
    public void Create_RewireControllerFalse_LeavesTheControllerUntouched()

    Create_RewireControllerTrueWithAStateUsingTheSource_RepointsTheStateAndReportsIt()

    Declaration
    public void Create_RewireControllerTrueWithAStateUsingTheSource_RepointsTheStateAndReportsIt()

    Create_SourceClipWithCurvesLoopFrameRateAndEvent_CopyCarriesAllOfThem()

    Declaration
    public void Create_SourceClipWithCurvesLoopFrameRateAndEvent_CopyCarriesAllOfThem()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    Validate_NullSourceClip_ReturnsError()

    Declaration
    public void Validate_NullSourceClip_ReturnsError()
    In this article
    © 2026 Serenity. All Rights Reserved