test: fixed GraphFilterConductorTestSuite to not use full filepath of file node for comparision

This commit is contained in:
Eberhard Graether
2015-03-04 10:36:29 +01:00
parent 89d3a9ab9f
commit d3ac8bfbcf
2 changed files with 12 additions and 4 deletions
+8 -1
View File
@@ -52,7 +52,14 @@ void FilterableGraph::printBasic(std::ostream& ostream) const
forEachNode(
[&ostream](Node* n)
{
ostream << ' ' << n->getTypeString() << ':' << n->getFullName();
if (n->isType(Node::NODE_FILE))
{
ostream << ' ' << n->getTypeString() << ':' << n->getName();
}
else
{
ostream << ' ' << n->getTypeString() << ':' << n->getFullName();
}
}
);
ostream << '\n';