File tree Expand file tree Collapse file tree
source/MaterialXTest/MaterialXCore Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212#include < MaterialXFormat/XmlIo.h>
1313#include < MaterialXFormat/Util.h>
1414
15- #include < iostream>
16-
1715namespace mx = MaterialX;
1816
1917bool isTopologicalOrder (const std::vector<mx::ElementPtr>& elems)
@@ -691,8 +689,6 @@ void testFunctionalNodeDef()
691689
692690 mx::InterfaceElementPtr implementation = nodeDef->getImplementation ();
693691 REQUIRE (implementation != nullptr );
694- std::string msg = " Testing NodeDef: " + nodeDefName + " with implementation: " + implementation->getName ();
695- INFO (msg);
696692 mx::NodeGraphPtr functionalNodeGraph = implementation->asA <mx::NodeGraph>();
697693 REQUIRE (functionalNodeGraph != nullptr );
698694 if (functionalNodeGraph)
@@ -719,11 +715,11 @@ void testFunctionalNodeDef()
719715 {
720716 referenceNodeGraph->setNodeDefString (nodeDefName);
721717
722- mx::InterfaceElementPtr implementation = nodeDef->getImplementation ();
718+ implementation = nodeDef->getImplementation ();
723719 REQUIRE (implementation != nullptr );
724720 std::string msg = " Testing NodeDef: " + nodeDefName + " with implementation: " + implementation->getName ();
725721 INFO (msg);
726- mx::NodeGraphPtr functionalNodeGraph = implementation->asA <mx::NodeGraph>();
722+ functionalNodeGraph = implementation->asA <mx::NodeGraph>();
727723 REQUIRE (functionalNodeGraph != nullptr );
728724 if (functionalNodeGraph)
729725 {
You can’t perform that action at this time.
0 commit comments