gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-146-g973547e
Date: Mon, 28 Feb 2011 14:28:04 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  973547ee96d2ef65520ee77bd9335cabcdaaf9d7 (commit)
      from  a2dfbccf30c3c58c0691ac3c4f9d63aa7906df30 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=973547ee96d2ef65520ee77bd9335cabcdaaf9d7


commit 973547ee96d2ef65520ee77bd9335cabcdaaf9d7
Author: Sandro Santilli <address@hidden>
Date:   Mon Feb 28 15:27:50 2011 +0100

    Fix test for bug #32625

diff --git a/testsuite/libbase.all/URLTest.cpp 
b/testsuite/libbase.all/URLTest.cpp
index 77d9e67..127ed19 100644
--- a/testsuite/libbase.all/URLTest.cpp
+++ b/testsuite/libbase.all/URLTest.cpp
@@ -282,14 +282,24 @@ main(int /*argc*/, char** /*argv*/)
        check_equals (u2.anchor(), "anchor");
     }
 
-    { // URL with url in query string
+    { // HTTP URL with url in query string
        URL u("http://anurl.com/tmp/easy.swf?url=http://url.it/there";);
-       xcheck_equals (u2.protocol(), "http");
-       xcheck_equals (u2.hostname(), "anurl.com");
-       check_equals (u2.port(), "");
-       xcheck_equals (u2.path(), "/tmp/easy.swf");
-       xcheck_equals (u2.querystring(), "url=http://url.it/there";);
-       check_equals (u2.anchor(), "");
+       check_equals (u.protocol(), "http");
+       check_equals (u.hostname(), "anurl.com");
+       check_equals (u.port(), "");
+       check_equals (u.path(), "/tmp/easy.swf");
+       check_equals (u.querystring(), "url=http://url.it/there";);
+       check_equals (u.anchor(), "");
+    }
+
+    { // File URL with url in query string (see bug #32625)
+       URL u("/tmp/easy.swf?url=http://url.it/there";);
+       xcheck_equals (u.protocol(), "file");
+       xcheck_equals (u.hostname(), "");
+       check_equals (u.port(), "");
+       xcheck_equals (u.path(), "/tmp/easy.swf");
+       xcheck_equals (u.querystring(), "url=http://url.it/there";);
+       check_equals (u.anchor(), "");
     }
 
     bool threw = false;

-----------------------------------------------------------------------

Summary of changes:
 testsuite/libbase.all/URLTest.cpp |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]