[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash testsuite/actionscript.all/Microphone.as ...
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] gnash testsuite/actionscript.all/Microphone.as ... |
Date: |
Wed, 04 Jun 2008 13:43:25 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 08/06/04 13:43:25
Modified files:
testsuite/actionscript.all: Microphone.as
. : ChangeLog
Log message:
Some random tests I hadn't yet committed.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Microphone.as?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6803&r2=1.6804
Patches:
Index: testsuite/actionscript.all/Microphone.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Microphone.as,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- testsuite/actionscript.all/Microphone.as 25 May 2008 16:27:46 -0000
1.17
+++ testsuite/actionscript.all/Microphone.as 4 Jun 2008 13:43:24 -0000
1.18
@@ -22,7 +22,7 @@
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Microphone.as,v 1.17 2008/05/25 16:27:46 bwy Exp $";
+rcsid="$Id: Microphone.as,v 1.18 2008/06/04 13:43:24 bwy Exp $";
#include "check.as"
// There was no Microphone class in SWF5 or lower
@@ -57,9 +57,13 @@
check(!Microphone.prototype.hasOwnProperty("useEchoSuppression"));
f = new Microphone;
+
+// Called with new, Microphone returns an object with static
+// properties.
check_equals(typeof(f), 'object');
check_equals(typeof(f.setGain), 'function')
-
+check_equals(typeof(f.gain), 'undefined')
+check_equals(typeof(f.rate), 'undefined')
// Still not present
xcheck(!Microphone.prototype.hasOwnProperty("get"));
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6803
retrieving revision 1.6804
diff -u -b -r1.6803 -r1.6804
--- ChangeLog 4 Jun 2008 13:36:25 -0000 1.6803
+++ ChangeLog 4 Jun 2008 13:43:25 -0000 1.6804
@@ -1,5 +1,9 @@
2008-06-04 Benjamin Wolsey <address@hidden>
+ * server/actionscript.all/Microphone.as: a couple of tests.
+
+2008-06-04 Benjamin Wolsey <address@hidden>
+
* server/swf/tag_loaders.h: header cleanup.
2008-06-04 Sandro Santilli <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash testsuite/actionscript.all/Microphone.as ...,
Benjamin Wolsey <=