Class BaseFixture
Syntax
public abstract class BaseFixture
Fields
CreatedAssetsPath
Declaration
protected List<string> CreatedAssetsPath
Field Value
CreatedBoundObject
Declaration
protected GameObject CreatedBoundObject
Field Value
k_BlackboardPath
Declaration
protected const string k_BlackboardPath = "Assets/blackboardtest.asset"
Field Value
k_GraphPath
Declaration
protected const string k_GraphPath = "Assets/"
Field Value
m_Store
Declaration
Field Value
Properties
CreateBoundObjectOnStartup
Declaration
protected virtual bool CreateBoundObjectOnStartup { get; }
Property Value
CreatedAssetType
Declaration
protected virtual Type CreatedAssetType { get; }
Property Value
CreatedGraphType
Declaration
protected virtual Type CreatedGraphType { get; }
Property Value
CreatedStencilType
Declaration
protected virtual Type CreatedStencilType { get; }
Property Value
CreateGameplayPropertyDefinitionOnStartup
Declaration
protected virtual bool CreateGameplayPropertyDefinitionOnStartup { get; }
Property Value
CreateGraphOnStartup
Declaration
protected abstract bool CreateGraphOnStartup { get; }
Property Value
TestAssemblies
Declaration
protected virtual string[] TestAssemblies { get; }
Property Value
WriteOnDisk
Declaration
protected virtual bool WriteOnDisk { get; }
Property Value
Methods
AssertIntegrity()
Declaration
protected void AssertIntegrity()
AssumeIntegrity()
Declaration
protected void AssumeIntegrity()
CompileGraphAndAddToBoundObject()
Declaration
protected void CompileGraphAndAddToBoundObject()
CreateGameplayPropertyDefinitionAsset()
Declaration
protected void CreateGameplayPropertyDefinitionAsset()
CreateGraphVariableDeclaration(String, Type)
Declaration
protected IVariableDeclarationModel CreateGraphVariableDeclaration(string fieldName, Type type)
Parameters
Returns
CreateNewCompositorGraphModel(String)
Declaration
protected virtual void CreateNewCompositorGraphModel(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
DeleteAllGraphAssets()
Declaration
protected void DeleteAllGraphAssets()
GetAllEdges()
Declaration
protected IEnumerable<EdgeModel> GetAllEdges()
Returns
GetAllNodes()
Declaration
protected IEnumerable<NodeModel> GetAllNodes()
Returns
GetAllVariableDeclarations()
Declaration
protected IEnumerable<VariableDeclarationModel> GetAllVariableDeclarations()
Returns
GetDataVariableDeclarationCount()
Declaration
protected int GetDataVariableDeclarationCount()
Returns
GetDataVariableDeclarations()
Declaration
protected IEnumerable<VariableDeclarationModel> GetDataVariableDeclarations()
Returns
GetEdge(Int32)
Declaration
protected EdgeModel GetEdge(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetEdgeCount()
Declaration
protected int GetEdgeCount()
Returns
GetGraphVariableDeclaration(String)
Declaration
protected IVariableDeclarationModel GetGraphVariableDeclaration(string fieldName)
Parameters
Type |
Name |
Description |
String |
fieldName |
|
Returns
GetMessageVariableDeclarationCount()
Declaration
protected int GetMessageVariableDeclarationCount()
Returns
GetMessageVariableDeclarations()
Declaration
protected IEnumerable<VariableDeclarationModel> GetMessageVariableDeclarations()
Returns
GetNode(Int32)
Declaration
protected NodeModel GetNode(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetNodeCount()
Declaration
protected int GetNodeCount()
Returns
GetVariableDeclaration(Int32)
Declaration
protected VariableDeclarationModel GetVariableDeclaration(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetVariableDeclarationCount()
Declaration
protected int GetVariableDeclarationCount()
Returns
LoadGraphAsset(String)
Declaration
protected void LoadGraphAsset(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
SetUp()
Declaration
public virtual void SetUp()
SetupTestAssemblies()
Declaration
protected void SetupTestAssemblies()
TearDown()
Declaration
public virtual void TearDown()
TearDownTestAssemblies()
Declaration
protected void TearDownTestAssemblies()