[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/NetC...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/NetC... |
Date: |
Sun, 25 Mar 2007 08:50:08 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/03/25 08:50:08
Modified files:
. : ChangeLog
testsuite/actionscript.all: NetConnection.as
Log message:
* testsuite/actionscript.all/NetConnection.as:
getURL doesn't exist, and connect returns
a boolean value.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2683&r2=1.2684
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/NetConnection.as?cvsroot=gnash&r1=1.7&r2=1.8
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2683
retrieving revision 1.2684
diff -u -b -r1.2683 -r1.2684
--- ChangeLog 24 Mar 2007 14:36:47 -0000 1.2683
+++ ChangeLog 25 Mar 2007 08:50:08 -0000 1.2684
@@ -1,3 +1,9 @@
+2007-03-25 Sandro Santilli <address@hidden>
+
+ * testsuite/actionscript.all/NetConnection.as:
+ getURL doesn't exist, and connect returns
+ a boolean value.
+
2007-03-24 Tomas Groth Christensen <address@hidden>
* libbase/LoadThread.{cpp,h}: Changed so that it is possible to
Index: testsuite/actionscript.all/NetConnection.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/NetConnection.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/NetConnection.as 10 Jan 2007 00:09:56 -0000
1.7
+++ testsuite/actionscript.all/NetConnection.as 25 Mar 2007 08:50:08 -0000
1.8
@@ -47,27 +47,14 @@
// test the NetConnection::connect method
tmp.connect();
-tmp.connect("rtmp://www.mediacollege.com/flash/media-player/testclip-4sec.flv");
-
-if (tmp.geturl) {
- xpass("NetConnection::getURL() exists");
-} else {
- xfail("NetConnection::getURL() doesn't exist");
+if ( !
tmp.connect("rtmp://www.mediacollege.com/flash/media-player/testclip-4sec.flv")
)
+{
+ xfail("NetConnection::connect() didn't initialized correctly");
}
-
-// Check the see if the URL got parsed right
-var url = tmp.geturl();
-var protocol = tmp.getprotocol();
-var host = tmp.gethost();
-var port = tmp.getport();
-var path = tmp.getpath();
-if (url == "rtmp://www.mediacollege.com/flash/media-player/testclip-4sec.flv"
- && protocol == "rtmp"
- && host == "www.mediacollege.com"
- && path == "/flash/media-player/testclip-4sec.flv") {
+else
+{
xpass("NetConnection::connect() initialized correctly");
-} else {
- xfail("NetConnection::connect() didn't initialized correctly");
}
+
#endif // OUTPUT_VERSION >= 7
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/NetC...,
Sandro Santilli <=