Lines Matching refs:INetURLObject

85 	INetURLObject aBase;  in testRelToAbs()
100 INetURLObject aAbs; in testRelToAbs()
102 ByteString aTheAbs(String(aAbs.GetMainURL(INetURLObject::NO_DECODE)), in testRelToAbs()
113 INetURLObject::GetAbsURL( in testRelToAbs()
114 aBase.GetMainURL(INetURLObject::NO_DECODE), in testRelToAbs()
138 INetURLObject::FSysStyle m_eStyle;
143 inline sal_Char const * toString(INetURLObject::FSysStyle eStyle) in toString()
147 if (eStyle & INetURLObject::FSYS_VOS) in toString()
149 if (eStyle & INetURLObject::FSYS_UNX) in toString()
151 if (eStyle & INetURLObject::FSYS_DOS) in toString()
153 if (eStyle & INetURLObject::FSYS_MAC) in toString()
175 INetURLObject aUrl1(aPath, pTest[i].m_eStyle); in testSetFSys()
176 INetURLObject aUrl2; in testSetFSys()
178 if (aUrl1.GetMainURL(INetURLObject::NO_DECODE). in testSetFSys()
180 && aUrl2.GetMainURL(INetURLObject::NO_DECODE). in testSetFSys()
187 String aTestA = aUrl1.GetMainURL(INetURLObject::NO_DECODE); in testSetFSys()
188 String aTestB = aUrl2.GetMainURL(INetURLObject::NO_DECODE); in testSetFSys()
221 void abbreviate(INetURLObject aObj) in abbreviate()
224 sal_Int32 nMax = aObj.GetMainURL(INetURLObject::NO_DECODE).getLength() + 10; in abbreviate()
231 INetURLObject::NO_DECODE), in abbreviate()
248 INetURLObject(rtl::OUString::createFromAscii(url)).getSegmentCount( in test_getSegmentCount()
256 INetURLObject tmp(rtl::OUString::createFromAscii(url)); in test_insertName()
267 tmp.GetMainURL(INetURLObject::NO_DECODE)); in test_insertName()
274 INetURLObject tmp(rtl::OUString::createFromAscii(url)); in test_removeSegment()
282 tmp.GetMainURL(INetURLObject::NO_DECODE)); in test_removeSegment()
385 = { { "//.", INetURLObject::FSysStyle(0), "" }, in main()
386 { 0, INetURLObject::FSysStyle(1), "file:///" }, in main()
387 { 0, INetURLObject::FSysStyle(2), "file:////." }, in main()
388 { 0, INetURLObject::FSysStyle(3), "file:///" }, in main()
389 { 0, INetURLObject::FSysStyle(4), "file:///%2F%2F." }, in main()
390 { 0, INetURLObject::FSysStyle(5), "file:///" }, in main()
391 { 0, INetURLObject::FSysStyle(6), "file:////." }, in main()
392 { 0, INetURLObject::FSysStyle(7), "file:///" }, in main()
393 { 0, INetURLObject::FSysStyle(8), "file:///%2F%2F." }, in main()
394 { 0, INetURLObject::FSysStyle(9), "file:///" }, in main()
395 { 0, INetURLObject::FSysStyle(10), "file:////." }, in main()
396 { 0, INetURLObject::FSysStyle(11), "file:///" }, in main()
397 { 0, INetURLObject::FSysStyle(12), "file:///%2F%2F." }, in main()
398 { 0, INetURLObject::FSysStyle(13), "file:///" }, in main()
399 { 0, INetURLObject::FSysStyle(14), "file:////." }, in main()
400 { 0, INetURLObject::FSysStyle(15), "file:///" }, in main()
401 { "//./", INetURLObject::FSysStyle(0), "" }, in main()
402 { 0, INetURLObject::FSysStyle(1), "file:///" }, in main()
403 { 0, INetURLObject::FSysStyle(2), "file:////./" }, in main()
404 { 0, INetURLObject::FSysStyle(3), "file:///" }, in main()
405 { 0, INetURLObject::FSysStyle(4), "file:///%2F%2F.%2F" }, in main()
406 { 0, INetURLObject::FSysStyle(5), "file:///" }, in main()
407 { 0, INetURLObject::FSysStyle(6), "file:////./" }, in main()
408 { 0, INetURLObject::FSysStyle(7), "file:///" }, in main()
409 { 0, INetURLObject::FSysStyle(8), "file:///%2F%2F.%2F" }, in main()
410 { 0, INetURLObject::FSysStyle(9), "file:///" }, in main()
411 { 0, INetURLObject::FSysStyle(10), "file:////./" }, in main()
412 { 0, INetURLObject::FSysStyle(11), "file:///" }, in main()
413 { 0, INetURLObject::FSysStyle(12), "file:///%2F%2F.%2F" }, in main()
414 { 0, INetURLObject::FSysStyle(13), "file:///" }, in main()
415 { 0, INetURLObject::FSysStyle(14), "file:////./" }, in main()
416 { 0, INetURLObject::FSysStyle(15), "file:///" }, in main()
417 { "//./a/b\\c:d", INetURLObject::FSysStyle(0), "" }, in main()
418 { 0, INetURLObject::FSysStyle(1), "file:///a/b%5Cc:d" }, in main()
419 { 0, INetURLObject::FSysStyle(2), "file:////./a/b%5Cc:d" }, in main()
420 { 0, INetURLObject::FSysStyle(3), "file:///a/b%5Cc:d" }, in main()
421 { 0, INetURLObject::FSysStyle(4), "file:///%2F%2F.%2Fa%2Fb/c:d" }, in main()
422 { 0, INetURLObject::FSysStyle(5), "file:///a/b%5Cc:d" }, in main()
423 { 0, INetURLObject::FSysStyle(6), "file:////./a/b%5Cc:d" }, in main()
424 { 0, INetURLObject::FSysStyle(7), "file:///a/b%5Cc:d" }, in main()
425 { 0, INetURLObject::FSysStyle(8), "file:///%2F%2F.%2Fa%2Fb%5Cc/d" }, in main()
426 { 0, INetURLObject::FSysStyle(9), "file:///a/b%5Cc:d" }, in main()
427 { 0, INetURLObject::FSysStyle(10), "file:////./a/b%5Cc:d" }, in main()
428 { 0, INetURLObject::FSysStyle(11), "file:///a/b%5Cc:d" }, in main()
429 { 0, INetURLObject::FSysStyle(12), "file:///%2F%2F.%2Fa%2Fb/c:d" }, in main()
430 { 0, INetURLObject::FSysStyle(13), "file:///a/b%5Cc:d" }, in main()
431 { 0, INetURLObject::FSysStyle(14), "file:////./a/b%5Cc:d" }, in main()
432 { 0, INetURLObject::FSysStyle(15), "file:///a/b%5Cc:d" } }; in main()
455 INetURLObject aUrl1("http://host:1234/xy/~zw?xxx=yyy"); in main()
461 INetURLObject aUrl2("vnd.sun.star.webdav://host:1234/xy/~zw?xxx=yyy"); in main()
497 INetURLObject aUrl(aTest[i].in); in main()
500 else if (aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI). in main()
505 String sTest(aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI)); in main()
531 INetURLObject aUrl(aTest[i]); in main()
541 if (aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI). in main()
544 String sTest(aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI)); in main()
566 INetURLObject aUrl(aTest[i]); in main()
569 else if (aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI). in main()
572 String sTest(aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI)); in main()
591 INetURLObject aUrl(aTest[i]); in main()
594 else if (aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI). in main()
597 String sTest(aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI)); in main()
643 INetURLObject aObj; in main()
645 INetURLObject::FSYS_DETECT); in main()
646 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
654 INetURLObject aObj; in main()
657 INetURLObject::FSYS_DETECT); in main()
658 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
666 INetURLObject aObj; in main()
669 INetURLObject::FSYS_DETECT); in main()
670 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
678 if (!rtl::OUString(INetURLObject("file:///a:"). in main()
679 getFSysPath(INetURLObject::FSYS_DETECT)). in main()
685 if (!rtl::OUString(INetURLObject("file:///a:/"). in main()
686 getFSysPath(INetURLObject::FSYS_DETECT)). in main()
695 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
703 GetMainURL(INetURLObject::NO_DECODE)). in main()
713 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
721 GetMainURL(INetURLObject::NO_DECODE)). in main()
731 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
739 GetMainURL(INetURLObject::NO_DECODE)). in main()
749 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
757 GetMainURL(INetURLObject::NO_DECODE)). in main()
768 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
776 GetMainURL(INetURLObject::NO_DECODE)). in main()
788 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
796 GetMainURL(INetURLObject::NO_DECODE)). in main()
807 if (!rtl::OUString(INetURLObject(rtl::OUString( in main()
815 GetMainURL(INetURLObject::NO_DECODE)). in main()
840INetURLObject aObj(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("https://xxx/yyy?abc/def~"))); in main()
841 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
861 INetURLObject aObj(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("https://xxx/yyy"))); in main()
863 if (!rtl::OUString(aObj.GetMainURL(INetURLObject::NO_DECODE)). in main()
874 … if (INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier:"))).HasError()) in main()
879 … if (!INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier://"))).HasError()) in main()
884 …if (!INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier:///"))).HasError()) in main()
889 …if (!INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier:///abc"))).HasErro… in main()
894 …if (INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier://abc"))).HasError(… in main()
899 …if (INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.hier://abc/def"))).HasEr… in main()
908 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
910 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
912 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
914 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
916 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
918 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
920 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
922 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
924 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
926 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
928 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
930 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
932 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
934 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
936 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
938 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
940 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
942 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
944 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
946 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
948 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
950 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
952 abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
963 rtl::OUString aRel(INetURLObject::GetRelURL(aBase, aAbs)); in main()
980 rtl::OUString aRel(INetURLObject::GetRelURL(aBase, aAbs)); in main()
997 rtl::OUString aRel(INetURLObject::GetRelURL(aBase, aAbs)); in main()
1015 aRel(INetURLObject::GetRelURL(aBase, in main()
1017 INetURLObject::WAS_ENCODED, in main()
1018 INetURLObject::DECODE_TO_IURI, in main()
1020 INetURLObject::FSYS_UNX)); in main()
1058 INetURLObject aUrl(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
1061 aPath = aUrl.getFSysPath(INetURLObject::FSYS_DETECT); in main()
1070 aPath = aUrl.getFSysPath(INetURLObject::FSysStyle( in main()
1071 INetURLObject::FSYS_UNX in main()
1072 | INetURLObject::FSYS_DOS in main()
1073 | INetURLObject::FSYS_MAC)); in main()
1082 aPath = aUrl.getFSysPath(INetURLObject::FSysStyle( in main()
1083 INetURLObject::FSYS_UNX in main()
1084 | INetURLObject::FSYS_MAC)); in main()
1097 INetURLObject aUrl1(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.odma:"))); in main()
1099 INetURLObject::DECODE_TO_IURI)); in main()
1109 INetURLObject aUrl1(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.odma:/"))); in main()
1111 INetURLObject::DECODE_TO_IURI)); in main()
1121INetURLObject aUrl1(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.odma:/bla/bla"))); in main()
1123 INetURLObject::DECODE_TO_IURI)); in main()
1220 INetURLObject aUrl(aTest[i].m_pInput); in main()
1224 || (aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI). in main()
1228 String sTest(aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI)); in main()
1250 INetURLObject aUrl = INetURLObject( in main()
1256 || (aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI). in main()
1260 String sTest(aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI)); in main()
1272 INetURLObject aUrl; in main()
1274 aUrl = INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
1281 aUrl = INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in main()
1292 INetURLObject aUrl; in main()
1294 aUrl = INetURLObject("vnd.sun.star.pkg://foo.bar/a/b/c?abc/def?"); in main()
1301 if (!rtl::OUString(aUrl.GetMainURL(INetURLObject::NO_DECODE)). in main()
1307 aUrl.GetMainURL(INetURLObject::NO_DECODE), in main()
1309 if (!rtl::OUString(aUrl.GetParam(INetURLObject::NO_DECODE)). in main()
1314 aUrl.GetParam(INetURLObject::NO_DECODE), in main()
1318 aUrl = INetURLObject("vnd.sun.star.pkg://foo.bar/a/b/c%3Fabc/def%3F"); in main()
1325 if (!rtl::OUString(aUrl.GetMainURL(INetURLObject::NO_DECODE)). in main()
1332 aUrl.GetMainURL(INetURLObject::NO_DECODE), in main()
1334 if (!rtl::OUString(aUrl.GetParam(INetURLObject::NO_DECODE)). in main()
1339 aUrl.GetParam(INetURLObject::NO_DECODE), in main()
1379 INetURLObject aUri; in main()
1384 INetURLObject::ENCODE_ALL); in main()
1394 || (aUri.GetMainURL(INetURLObject::DECODE_TO_IURI). in main()
1398 String sTest(aUri.GetMainURL(INetURLObject::DECODE_TO_IURI)); in main()
1419 INetURLObject::GetRelURL(aBaseURL, aRelURL)); in main()
1421 if (INetURLObject(aRelURLToTest) != INetURLObject(aRelURL)) in main()
1434 INetURLObject::GetRelURL(aBaseURL, aRelURL)); in main()
1448 INetURLObject url1(rtl::OUString::createFromAscii(".uno:abc%3Fdef")); in main()
1453 if (!rtl::OUString(url1.GetURLPath(INetURLObject::NO_DECODE)). in main()
1458 url1.GetURLPath(INetURLObject::NO_DECODE), in main()
1466 INetURLObject url2(rtl::OUString::createFromAscii(".uno:abc?def?ghi")); in main()
1471 if (!rtl::OUString(url2.GetURLPath(INetURLObject::NO_DECODE)). in main()
1476 url2.GetURLPath(INetURLObject::NO_DECODE), in main()
1484 if (!rtl::OUString(url2.GetParam(INetURLObject::NO_DECODE)). in main()
1489 url2.GetParam(INetURLObject::NO_DECODE), in main()
1497 INetURLObject urlobj; in main()
1500 urlobj = INetURLObject(url); in main()
1504 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1520 urlobj = INetURLObject(url); in main()
1524 urlobj = INetURLObject(url); in main()
1528 urlobj = INetURLObject(url); in main()
1532 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1535 urlobj = INetURLObject(url); in main()
1539 urlobj = INetURLObject(url); in main()
1543 urlobj = INetURLObject(url, INET_PROT_FILE); in main()
1547 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1550 urlobj = INetURLObject(url); in main()
1554 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1558 urlobj = INetURLObject(url); in main()
1563 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1566 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1570 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1573 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1577 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1580 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1584 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1587 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1591 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1594 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1598 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1601 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1605 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1609 urlobj = INetURLObject(url, INET_PROT_CID); in main()
1614 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1618 urlobj = INetURLObject(url, INET_PROT_FILE); in main()
1624 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1626 urlobj = INetURLObject(url, INET_PROT_FILE); in main()
1632 rtl::OUString(urlobj.GetMainURL(INetURLObject::NO_DECODE))); in main()
1640 INetURLObject(url, INET_PROT_FILE).GetMainURL( in main()
1641 INetURLObject::NO_DECODE), in main()
1646 INetURLObject(url).GetMainURL(INetURLObject::NO_DECODE), url); in main()
1655 INetURLObject(path, INetURLObject::FSYS_DETECT).GetMainURL( in main()
1656 INetURLObject::NO_DECODE)), in main()
1662 INetURLObject(path, INetURLObject::FSYS_DETECT).GetMainURL( in main()
1663 INetURLObject::NO_DECODE)), in main()
1667 path, INetURLObject(path, INetURLObject::FSYS_DETECT).HasError(), in main()
1672 INetURLObject( in main()
1674 INetURLObject::FSysStyle( in main()
1675 INetURLObject::FSYS_DETECT | INetURLObject::FSYS_MAC)). in main()
1676 GetMainURL(INetURLObject::NO_DECODE)), in main()
1683 INetURLObject(url, INET_PROT_HTTP).GetMainURL( in main()
1684 INetURLObject::NO_DECODE)), in main()
1690 INetURLObject(url, INET_PROT_HTTP).GetMainURL( in main()
1691 INetURLObject::NO_DECODE)), in main()
1695 url, INetURLObject(url, INET_PROT_HTTP).HasError(), true); in main()
1698 (INetURLObject( in main()
1699 url, INET_PROT_HTTP, INetURLObject::WAS_ENCODED, in main()
1701 INetURLObject::FSysStyle( in main()
1702 INetURLObject::FSYS_DETECT | INetURLObject::FSYS_MAC)). in main()
1749 INetURLObject::LAST_SEGMENT, false, true, in main()
1753 INetURLObject::LAST_SEGMENT, true, true, in main()
1757 INetURLObject::LAST_SEGMENT, false, true, in main()
1761 INetURLObject::LAST_SEGMENT, true, true, in main()
1781 INetURLObject::LAST_SEGMENT, false, true, in main()
1785 INetURLObject::LAST_SEGMENT, true, true, in main()
1789 INetURLObject::LAST_SEGMENT, false, true, in main()
1793 INetURLObject::LAST_SEGMENT, true, true, in main()
1832 "vnd.sun.star.expand:$PREFIX", INetURLObject::LAST_SEGMENT, false, in main()
1835 "vnd.sun.star.expand:$PREFIX", INetURLObject::LAST_SEGMENT, true, true, in main()
1856 "vnd.sun.star.expand:$PREFIX/", INetURLObject::LAST_SEGMENT, false, in main()
1859 "vnd.sun.star.expand:$PREFIX/", INetURLObject::LAST_SEGMENT, true, in main()
1868 "file:///", INetURLObject::LAST_SEGMENT, false, true, "file:///"); in main()
1870 "file:///", INetURLObject::LAST_SEGMENT, true, false, "file:///"); in main()
1882 "file:///foo", INetURLObject::LAST_SEGMENT, false, true, "file:///"); in main()
1884 "file:///foo", INetURLObject::LAST_SEGMENT, true, true, "file:///"); in main()
1896 "file:///foo/", INetURLObject::LAST_SEGMENT, false, true, in main()
1899 "file:///foo/", INetURLObject::LAST_SEGMENT, true, true, "file:///"); in main()