From 1e9ca17f0d335df448eda7c0fd89ee94a2068b61 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 04:05:32 +0000 Subject: The great ID refactoring of 2009. Path is now actually URI (scheme path: for now). Therefore ingen nodes and such live in the same namespace as ... well, everything. Including plugins. Thar be profit, laddies. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1992 a436a847-0d15-0410-975c-d299462d15a1 --- tests/path_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/path_test.cpp b/tests/path_test.cpp index 3bd14c9..ac7ff2b 100644 --- a/tests/path_test.cpp +++ b/tests/path_test.cpp @@ -23,6 +23,11 @@ main() cerr << "Nameification:" << endl; for (list::iterator i = names.begin(); i != names.end(); ++i) cerr << *i << " -> " << Path::nameify(*i) << endl; + + cerr << endl; + cerr << Path("/foo/bar") << " parent = " << Path("/foo/bar").parent() << endl; + cerr << Path("/foo") << " parent = " << Path("/foo").parent() << endl; + cerr << Path("/") << " parent = " << Path("/").parent() << endl; cerr << "1's are good..." << endl << endl; -- cgit v1.2.1