summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-14 16:20:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-14 16:20:34 +0000
commit74bf7fdd4755890d3bde922d229fbb3491de140f (patch)
treef61a44115b2d769d2d019067ddedd4c33136dbf0 /svl/qa
parentc06fcacb282088350275fedde7e0cf4610368db4 (diff)
Diffstat (limited to 'svl/qa')
-rw-r--r--svl/qa/test_URIHelper.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/svl/qa/test_URIHelper.cxx b/svl/qa/test_URIHelper.cxx
index 701d4c9dc596..4c850356f261 100644
--- a/svl/qa/test_URIHelper.cxx
+++ b/svl/qa/test_URIHelper.cxx
@@ -344,7 +344,13 @@ void Test::testFindFirstURLInText() {
"ftp://bla.bla.bla/blubber/", 3, 29 },
{ "..\\ftp://bla.bla.bla/blubber/...", 0, 0, 0 },
{ "..\\ftp:\\\\bla.bla.bla\\blubber/...",
+//Sync with tools/source/fsys/urlobj.cxx and changeScheme
+#ifdef LINUX
+ "smb://bla.bla.bla/blubber%2F", 7, 29 },
+#endif
+#ifdef WNT
"file://bla.bla.bla/blubber%2F", 7, 29 },
+#endif
{ "http://sun.com", "http://sun.com/", 0, 14 },
{ "http://sun.com/", "http://sun.com/", 0, 15 },
{ "http://www.xerox.com@www.pcworld.com/go/3990332.htm", 0, 0, 0 },