[Libreoffice-commits] core.git: sal/qa
Stephan Bergmann
sbergman at redhat.com
Wed Oct 8 01:55:06 PDT 2014
sal/qa/rtl/uri/rtl_testuri.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 77d86709d5b03caccd8a28fbab7bf752d4bc3243
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Oct 8 10:54:01 2014 +0200
Document how rtl::Uri::convertRelToAbs normalizes an absolute URL's path
Change-Id: Ibf4f2d46bfbb977f0ba27110d86d7b7f1173631c
diff --git a/sal/qa/rtl/uri/rtl_testuri.cxx b/sal/qa/rtl/uri/rtl_testuri.cxx
index 3769062..d798a85 100644
--- a/sal/qa/rtl/uri/rtl_testuri.cxx
+++ b/sal/qa/rtl/uri/rtl_testuri.cxx
@@ -331,7 +331,8 @@ void Test::test_Uri() {
{ "http://a/b/../", "../c", "http://a/c" },
{ "http://a/b/..", "../c", "http://a/c" },
{ "http://a/./b/", ".././.././../c", "http://a/c" },
- { "http://a", "b", "http://a/b" } };
+ { "http://a", "b", "http://a/b" },
+ { "", "http://a/b/../c", "http://a/c" } };
for (std::size_t i = 0; i < sizeof aRelToAbsTest / sizeof (RelToAbsTest); ++i)
{
rtl::OUString aAbs;
More information about the Libreoffice-commits
mailing list