44 resolveEmbeddedOriginToken ();
58 walk (
"/usr/bin:/usr/lib");
69 cout <<
"➢➢" << path.next() << endl;
75 resolveEmbeddedOriginToken ()
78 string expected = (exePath.remove_leaf() /
"modules").
string();
81 CHECK (
"xyz" == sp.next());
82 CHECK (sp.next() == expected);
83 CHECK (
"abc" == sp.next());
84 CHECK (!sp.isValid());
Helpers to handle directory search paths.
string findExePath()
retrieve the location of the executable
#define VERIFY_ERROR(ERROR_ID, ERRONEOUS_STATEMENT)
Macro to verify that a statement indeed raises an exception.
Implementation namespace for support and library code.
Simplistic test class runner.
A collection of frequently used helper functions to support unit testing.
Helper: Access a path Specification as a sequence of filesystem Paths.