Class BaseFixture | Compositor | 0.4.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class BaseFixture

    Inheritance
    Object
    BaseFixture
    DataFlowGraphAttributeTests
    ContextServiceTests
    DFGServiceTests
    GameplayPropertyTests
    Namespace: Unity.Compositor.Editor.Tests
    Syntax
    public abstract class BaseFixture

    Fields

    k_BlackboardPath

    Declaration
    protected const string k_BlackboardPath = "Assets/blackboardtest.asset"
    Field Value
    Type Description
    String

    k_GraphPath

    Declaration
    protected const string k_GraphPath = "Assets/"
    Field Value
    Type Description
    String

    m_Store

    Declaration
    protected Store m_Store
    Field Value
    Type Description
    Store

    Properties

    CreatedAssetType

    Declaration
    protected virtual Type CreatedAssetType { get; }
    Property Value
    Type Description
    Type

    CreatedGraphType

    Declaration
    protected virtual Type CreatedGraphType { get; }
    Property Value
    Type Description
    Type

    CreatedStencilType

    Declaration
    protected virtual Type CreatedStencilType { get; }
    Property Value
    Type Description
    Type

    CreateGameplayPropertyDefinitionOnStartup

    Declaration
    protected virtual bool CreateGameplayPropertyDefinitionOnStartup { get; }
    Property Value
    Type Description
    Boolean

    CreateGraphOnStartup

    Declaration
    protected abstract bool CreateGraphOnStartup { get; }
    Property Value
    Type Description
    Boolean

    ShouldUseTestAssemblies

    Declaration
    protected abstract bool ShouldUseTestAssemblies { get; }
    Property Value
    Type Description
    Boolean

    WriteOnDisk

    Declaration
    protected virtual bool WriteOnDisk { get; }
    Property Value
    Type Description
    Boolean

    Methods

    AssertIntegrity()

    Declaration
    protected void AssertIntegrity()

    AssumeIntegrity()

    Declaration
    protected void AssumeIntegrity()

    CreateGameplayPropertyDefinitionAsset()

    Declaration
    protected void CreateGameplayPropertyDefinitionAsset()

    CreateGraphVariableDeclaration(String, Type)

    Declaration
    protected IVariableDeclarationModel CreateGraphVariableDeclaration(string fieldName, Type type)
    Parameters
    Type Name Description
    String fieldName
    Type type
    Returns
    Type Description
    IVariableDeclarationModel

    CreateNewCompositorGraphModel(String)

    Declaration
    protected void CreateNewCompositorGraphModel(string name)
    Parameters
    Type Name Description
    String name

    DeleteAllGraphAssets()

    Declaration
    protected void DeleteAllGraphAssets()

    GetAllEdges()

    Declaration
    protected IEnumerable<EdgeModel> GetAllEdges()
    Returns
    Type Description
    IEnumerable<EdgeModel>

    GetAllNodes()

    Declaration
    protected IEnumerable<NodeModel> GetAllNodes()
    Returns
    Type Description
    IEnumerable<NodeModel>

    GetAllVariableDeclarations()

    Declaration
    protected IEnumerable<VariableDeclarationModel> GetAllVariableDeclarations()
    Returns
    Type Description
    IEnumerable<VariableDeclarationModel>

    GetDataVariableDeclarationCount()

    Declaration
    protected int GetDataVariableDeclarationCount()
    Returns
    Type Description
    Int32

    GetDataVariableDeclarations()

    Declaration
    protected IEnumerable<VariableDeclarationModel> GetDataVariableDeclarations()
    Returns
    Type Description
    IEnumerable<VariableDeclarationModel>

    GetEdge(Int32)

    Declaration
    protected EdgeModel GetEdge(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    EdgeModel

    GetEdgeCount()

    Declaration
    protected int GetEdgeCount()
    Returns
    Type Description
    Int32

    GetGraphVariableDeclaration(String)

    Declaration
    protected IVariableDeclarationModel GetGraphVariableDeclaration(string fieldName)
    Parameters
    Type Name Description
    String fieldName
    Returns
    Type Description
    IVariableDeclarationModel

    GetMessageVariableDeclarationCount()

    Declaration
    protected int GetMessageVariableDeclarationCount()
    Returns
    Type Description
    Int32

    GetMessageVariableDeclarations()

    Declaration
    protected IEnumerable<VariableDeclarationModel> GetMessageVariableDeclarations()
    Returns
    Type Description
    IEnumerable<VariableDeclarationModel>

    GetNode(Int32)

    Declaration
    protected NodeModel GetNode(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    NodeModel

    GetNodeCount()

    Declaration
    protected int GetNodeCount()
    Returns
    Type Description
    Int32

    GetVariableDeclaration(Int32)

    Declaration
    protected VariableDeclarationModel GetVariableDeclaration(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    VariableDeclarationModel

    GetVariableDeclarationCount()

    Declaration
    protected int GetVariableDeclarationCount()
    Returns
    Type Description
    Int32

    SetUp()

    Declaration
    public virtual void SetUp()

    SetupTestAssemblies()

    Declaration
    protected void SetupTestAssemblies()

    TearDown()

    Declaration
    public virtual void TearDown()

    TearDownTestAssemblies()

    Declaration
    protected void TearDownTestAssemblies()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023