diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-06 20:34:05 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-06 20:34:05 (GMT) |
commit | 81079295b8be14128b7e532d504b32280360532e (patch) | |
tree | 649f93c2059dcc2a7cf5bd4ace17c18c6913ac64 /test/src/test-url.cpp | |
parent | e385ba8adb0c77fea20c58c45b966193c23a4570 (diff) | |
download | uscxml-81079295b8be14128b7e532d504b32280360532e.zip uscxml-81079295b8be14128b7e532d504b32280360532e.tar.gz uscxml-81079295b8be14128b7e532d504b32280360532e.tar.bz2 |
Fixed issue with temporary files
Diffstat (limited to 'test/src/test-url.cpp')
-rw-r--r-- | test/src/test-url.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/src/test-url.cpp b/test/src/test-url.cpp index d4ae9bb..344df9f 100644 --- a/test/src/test-url.cpp +++ b/test/src/test-url.cpp @@ -65,4 +65,11 @@ int main(int argc, char** argv) { assert(url.isAbsolute()); assert(iequals(url.scheme(), "file")); } + { + URL url("C:\\Document\\Some Spaces\\index.txt"); + assert(iequals(url.pathComponents()[0], "C:")); + assert(iequals(url.pathComponents()[1], "Document")); + assert(iequals(url.pathComponents()[2], "Some Spaces")); + assert(iequals(url.pathComponents()[3], "index.txt")); + } }
\ No newline at end of file |