[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Came...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Came... |
Date: |
Wed, 22 Nov 2006 09:50:03 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/11/22 09:50:03
Modified files:
. : ChangeLog
testsuite/actionscript.all: Camera.as
Log message:
* testsuite/actionscript.all/Camera.as: updated to
properly check the get() method.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1697&r2=1.1698
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Camera.as?cvsroot=gnash&r1=1.6&r2=1.7
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1697
retrieving revision 1.1698
diff -u -b -r1.1697 -r1.1698
--- ChangeLog 22 Nov 2006 09:28:37 -0000 1.1697
+++ ChangeLog 22 Nov 2006 09:50:03 -0000 1.1698
@@ -1,3 +1,8 @@
+2006-11-21 Sandro Santilli <address@hidden>
+
+ * testsuite/actionscript.all/Camera.as: updated to
+ properly check the get() method.
+
2006-11-22 Mark Cox <address@hidden>
* server/asobj/string.cpp: implemented string methods
Index: testsuite/actionscript.all/Camera.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Camera.as,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/actionscript.all/Camera.as 5 Nov 2006 00:45:27 -0000
1.6
+++ testsuite/actionscript.all/Camera.as 22 Nov 2006 09:50:03 -0000
1.7
@@ -20,20 +20,22 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Camera.as,v 1.6 2006/11/05 00:45:27 rsavoye Exp $";
+rcsid="$Id: Camera.as,v 1.7 2006/11/22 09:50:03 strk Exp $";
#include "check.as"
-var cameraObj = new Camera;
-
// test the Camera constuctor
-check (cameraObj != undefined);
+var cameraObj = Camera.get();
+xcheck (cameraObj != undefined);
+
+// test that Camera.get() returns a singleton
+check_equals(cameraObj, Camera.get());
-// test the Camera::get method
-check (cameraObj.get != undefined);
+// test that get() method is NOT exported to instances
+check_equals (cameraObj.get, undefined);
// test the Camera::setmode method
-check (cameraObj.setmode != undefined);
+xcheck (cameraObj.setmode != undefined);
// test the Camera::setmotionlevel method
-check (cameraObj.setmotionlevel != undefined);
+xcheck (cameraObj.setmotionlevel != undefined);
// test the Camera::setquality method
-check (cameraObj.setquality != undefined);
+xcheck (cameraObj.setquality != undefined);
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Came...,
Sandro Santilli <=