Class BaseMaterialGraphTests
Inheritance
BaseMaterialGraphTests
Assembly: Unity.ShaderGraph.Editor.Tests.dll
Syntax
[TestFixture]
public class BaseMaterialGraphTests
Methods
RunBeforeAnyTests()
Declaration
[OneTimeSetUp]
public void RunBeforeAnyTests()
TestCanAddNodeToBaseMaterialGraph()
Declaration
[Test]
public void TestCanAddNodeToBaseMaterialGraph()
TestCanAddSlotToTestNode()
Declaration
[Test]
public void TestCanAddSlotToTestNode()
TestCanConnectAndTraverseThreeNodesOnBaseMaterialGraph()
Declaration
[Test]
public void TestCanConnectAndTraverseThreeNodesOnBaseMaterialGraph()
TestCanConnectAndTraverseTwoNodesOnBaseMaterialGraph()
Declaration
[Test]
public void TestCanConnectAndTraverseTwoNodesOnBaseMaterialGraph()
TestCanCreateBaseMaterialGraph()
Declaration
[Test]
public void TestCanCreateBaseMaterialGraph()
TestCanFindNodeInBaseMaterialGraph()
Declaration
[Test]
public void TestCanFindNodeInBaseMaterialGraph()
TestCanFindSlotOnTestNode()
Declaration
[Test]
public void TestCanFindSlotOnTestNode()
TestCanFindSlotReferenceOnTestNode()
Declaration
[Test]
public void TestCanFindSlotReferenceOnTestNode()
TestCanGetEdgesOnBaseMaterialGraphFromSlotReference()
Declaration
[Test]
public void TestCanGetEdgesOnBaseMaterialGraphFromSlotReference()
TestCanModifyNodeDrawState()
Declaration
[Test]
public void TestCanModifyNodeDrawState()
TestCanNotAddDuplicateSlotToTestNode()
Declaration
[Test]
public void TestCanNotAddDuplicateSlotToTestNode()
TestCanNotAddNullSlotToTestNode()
Declaration
[Test]
public void TestCanNotAddNullSlotToTestNode()
TestCanNotConnectToNullSlot()
Declaration
[Test]
public void TestCanNotConnectToNullSlot()
Declaration
[Test]
public void TestCanNotConnectTwoInputSlotsOnBaseMaterialGraph()
TestCanNotConnectTwoOuputSlotsOnBaseMaterialGraph()
Declaration
[Test]
public void TestCanNotConnectTwoOuputSlotsOnBaseMaterialGraph()
TestCanNotRemoveNoDeleteNodeFromBaseMaterialGraph()
Declaration
[Test]
public void TestCanNotRemoveNoDeleteNodeFromBaseMaterialGraph()
TestCanRemoveNodeFromBaseMaterialGraph()
Declaration
[Test]
public void TestCanRemoveNodeFromBaseMaterialGraph()
TestCanRemoveSlotFromTestNode()
Declaration
[Test]
public void TestCanRemoveSlotFromTestNode()
TestCanRemoveSlotsWithNonMathingNameFromTestNode()
Declaration
[Test]
public void TestCanRemoveSlotsWithNonMathingNameFromTestNode()
TestCanUpdateDisplaynameByReaddingSlotToTestNode()
Declaration
[Test]
public void TestCanUpdateDisplaynameByReaddingSlotToTestNode()
TestCanUpdateSlotDisplayName()
Declaration
[Test]
public void TestCanUpdateSlotDisplayName()
TestChildClassCanModifyErrorState()
Declaration
[Test]
public void TestChildClassCanModifyErrorState()
Declaration
[Test]
public void TestConectionToSameInputReplacesOldInput()
TestCyclicConnectionsAreNotAllowedOnGraph()
Declaration
[Test]
public void TestCyclicConnectionsAreNotAllowedOnGraph()
TestExceptionIfBadNodeConfigurationWorks()
Declaration
[Test]
public void TestExceptionIfBadNodeConfigurationWorks()
Declaration
[Test]
public void TestGetInputsWithNoConnection()
TestRemoveNodeFromBaseMaterialGraphCleansEdges()
Declaration
[Test]
public void TestRemoveNodeFromBaseMaterialGraphCleansEdges()
TestRemovingEdgeOnBaseMaterialGraph()
Declaration
[Test]
public void TestRemovingEdgeOnBaseMaterialGraph()
TestRemovingElementsFromBaseMaterialGraph()
Declaration
[Test]
public void TestRemovingElementsFromBaseMaterialGraph()
TestRemovingNodeRemovesConectedEdgesOnBaseMaterialGraph()
Declaration
[Test]
public void TestRemovingNodeRemovesConectedEdgesOnBaseMaterialGraph()
TestRemovingSlotRemovesConnectedEdges()
Declaration
[Test]
public void TestRemovingSlotRemovesConnectedEdges()
TestSerializedGraphDelegatesOnEnableCalls()
Declaration
[Test]
public void TestSerializedGraphDelegatesOnEnableCalls()