[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11121: Extend class tests.
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11121: Extend class tests. |
Date: |
Mon, 15 Jun 2009 21:43:22 +0200 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 11121
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Mon 2009-06-15 21:43:22 +0200
message:
Extend class tests.
modified:
testsuite/as3/class.as
------------------------------------------------------------
revno: 11119.1.1
committer: Benjamin Wolsey <address@hidden>
branch nick: test
timestamp: Mon 2009-06-15 21:27:09 +0200
message:
More tests.
modified:
testsuite/as3/class.as
------------------------------------------------------------
revno: 11119.1.2
committer: Benjamin Wolsey <address@hidden>
branch nick: test
timestamp: Mon 2009-06-15 21:30:53 +0200
message:
Constructor's constructor.
modified:
testsuite/as3/class.as
------------------------------------------------------------
revno: 11119.1.3
committer: Benjamin Wolsey <address@hidden>
branch nick: test
timestamp: Mon 2009-06-15 21:42:48 +0200
message:
Update totals.
modified:
testsuite/as3/class.as
=== modified file 'testsuite/as3/class.as'
--- a/testsuite/as3/class.as 2009-06-15 19:04:43 +0000
+++ b/testsuite/as3/class.as 2009-06-15 19:42:48 +0000
@@ -44,6 +44,10 @@
public function Hello() {
+ check_equals(this, "[object Hello]");
+ check_equals(this.constructor, "[class Hello]");
+ check_equals(this.constructor.constructor, "[class Class]");
+
check_equals(S, "[class S]");
check_equals(S.constructor, "[class Class]");
check_equals(S.__constructor__, undefined);
@@ -81,7 +85,7 @@
check(d1 instanceof Derived);
check_equals(S.s, "Base Derived ");
- totals(15);
+ totals(25);
done();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11121: Extend class tests.,
Benjamin Wolsey <=