[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10679: Add another test for relativ
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10679: Add another test for relative url and port, port is this time specified in the relative url (not base). This one succeeds (the other fail) |
Date: |
Mon, 09 Mar 2009 18:24:59 +0100 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10679
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Mon 2009-03-09 18:24:59 +0100
message:
Add another test for relative url and port, port is this time specified in
the relative url (not base). This one succeeds (the other fail)
modified:
testsuite/libbase/URLTest.cpp
=== modified file 'testsuite/libbase/URLTest.cpp'
--- a/testsuite/libbase/URLTest.cpp 2009-03-09 17:11:32 +0000
+++ b/testsuite/libbase/URLTest.cpp 2009-03-09 17:24:59 +0000
@@ -247,6 +247,15 @@
check_equals (u2.path(), "/newpath");
}
+ { // Relative url with port number
+ URL u("rtmp://pms.youtube.com:443");
+ URL u2("http://newhost:554", u);
+ check_equals (u2.protocol(), "http");
+ check_equals (u2.hostname(), "newhost");
+ check_equals (u2.port(), "554");
+ check_equals (u2.path(), "/");
+ }
+
// TODO: Samba paths
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10679: Add another test for relative url and port, port is this time specified in the relative url (not base). This one succeeds (the other fail),
Sandro Santilli <=