diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 04:05:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 04:05:32 +0000 |
commit | 1e9ca17f0d335df448eda7c0fd89ee94a2068b61 (patch) | |
tree | 81774f84ab5168173b226ba0ed9d64633dff7d02 /tests | |
parent | 7cd522a148551384fac536e883a595ecc35aadb6 (diff) | |
download | raul-1e9ca17f0d335df448eda7c0fd89ee94a2068b61.tar.gz raul-1e9ca17f0d335df448eda7c0fd89ee94a2068b61.tar.bz2 raul-1e9ca17f0d335df448eda7c0fd89ee94a2068b61.zip |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/path_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<string>::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; |