- wxURI masteruri(wxT("http://a/b/c/d;p?q"));
- wxURI* uri;
-
- URI_TEST("g:h" ,"g:h")
- URI_TEST("g" ,"http://a/b/c/g")
- URI_TEST("./g" ,"http://a/b/c/g")
- URI_TEST("g/" ,"http://a/b/c/g/")
- URI_TEST("/g" ,"http://a/g")
- URI_TEST("//g" ,"http://g")
- URI_TEST("?y" ,"http://a/b/c/d;p?y")
- URI_TEST("g?y" ,"http://a/b/c/g?y")
- URI_TEST("#s" ,"http://a/b/c/d;p?q#s")
- URI_TEST("g#s" ,"http://a/b/c/g#s")
- URI_TEST("g?y#s","http://a/b/c/g?y#s")
- URI_TEST(";x" ,"http://a/b/c/;x")
- URI_TEST("g;x" ,"http://a/b/c/g;x")
- URI_TEST("g;x?y#s","http://a/b/c/g;x?y#s")
-
- URI_TEST("" ,"http://a/b/c/d;p?q")
- URI_TEST("." ,"http://a/b/c/")
- URI_TEST("./" ,"http://a/b/c/")
- URI_TEST(".." ,"http://a/b/")
- URI_TEST("../" ,"http://a/b/")
- URI_TEST("../g" ,"http://a/b/g")
- URI_TEST("../..","http://a/")
- URI_TEST("../../" , "http://a/")
- URI_TEST("../../g" , "http://a/g")
+ wxURI masteruri("http://a/b/c/d;p?q");
+
+ URI_TEST_RESOLVE("g:h" ,"g:h")
+ URI_TEST_RESOLVE("g" ,"http://a/b/c/g")
+ URI_TEST_RESOLVE("./g" ,"http://a/b/c/g")
+ URI_TEST_RESOLVE("g/" ,"http://a/b/c/g/")
+ URI_TEST_RESOLVE("/g" ,"http://a/g")
+ URI_TEST_RESOLVE("//g" ,"http://g")
+ URI_TEST_RESOLVE("?y" ,"http://a/b/c/d;p?y")
+ URI_TEST_RESOLVE("g?y" ,"http://a/b/c/g?y")
+ URI_TEST_RESOLVE("#s" ,"http://a/b/c/d;p?q#s")
+ URI_TEST_RESOLVE("g#s" ,"http://a/b/c/g#s")
+ URI_TEST_RESOLVE("g?y#s","http://a/b/c/g?y#s")
+ URI_TEST_RESOLVE(";x" ,"http://a/b/c/;x")
+ URI_TEST_RESOLVE("g;x" ,"http://a/b/c/g;x")
+ URI_TEST_RESOLVE("g;x?y#s","http://a/b/c/g;x?y#s")
+
+ URI_TEST_RESOLVE("" ,"http://a/b/c/d;p?q")
+ URI_TEST_RESOLVE("." ,"http://a/b/c/")
+ URI_TEST_RESOLVE("./" ,"http://a/b/c/")
+ URI_TEST_RESOLVE(".." ,"http://a/b/")
+ URI_TEST_RESOLVE("../" ,"http://a/b/")
+ URI_TEST_RESOLVE("../g" ,"http://a/b/g")
+ URI_TEST_RESOLVE("../..","http://a/")
+ URI_TEST_RESOLVE("../../" , "http://a/")
+ URI_TEST_RESOLVE("../../g" , "http://a/g")