+ // take the last component of the name and append to the parent
+ name = test->getName();
+ string::size_type i = name.find_last_of(".:");
+ if (i != string::npos)
+ name = name.substr(i + 1);
+ name = parent + "." + name;
+
+ // drop the 1st component from the display and indent
+ if (parent != "") {
+ string::size_type j = i = name.find('.', 1);
+ while ((j = name.find('.', j + 1)) != string::npos)
+ cout << " ";
+ cout << " " << name.substr(i + 1) << "\n";
+ }
+
+ typedef vector<Test*> Tests;