[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10982: Fixed StaticText_as.hx test.
From: |
Bob Naugle |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10982: Fixed StaticText_as.hx test. This class is only creatable with the Adobe/Flash authoring tool. (we think) |
Date: |
Wed, 03 Jun 2009 10:01:55 -0600 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 10982
committer: Bob Naugle <address@hidden>
branch nick: trunk
timestamp: Wed 2009-06-03 10:01:55 -0600
message:
Fixed StaticText_as.hx test. This class is only creatable with the
Adobe/Flash authoring tool. (we think)
modified:
testsuite/as3/classes.all/text/StaticText_as.hx
=== modified file 'testsuite/as3/classes.all/text/StaticText_as.hx'
--- a/testsuite/as3/classes.all/text/StaticText_as.hx 2009-06-03 15:44:33
+0000
+++ b/testsuite/as3/classes.all/text/StaticText_as.hx 2009-06-03 16:01:55
+0000
@@ -1,6 +1,6 @@
// StaticText_as.hx: ActionScript 3 "StaticText" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090515 by "rob". Remove this
+// Generated on: 20090603 by "bnaugle". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -26,9 +26,6 @@
#if flash9
import flash.text.StaticText;
import flash.display.MovieClip;
-#else
-//import flash.StaticText;
-//import flash.MovieClip;
#end
import flash.Lib;
import Type;
@@ -41,24 +38,18 @@
class StaticText_as {
static function main() {
-#if !flash9
- DejaGnu.note("The StaticText class does not exist in versions prior to
flash9");
-#else
-
- var x1:StaticText = new StaticText();
+#if flash9
- if (Std.is(x1.text, String) ) {
- DejaGnu.pass("StaticText.text property exists");
- } else {
- DejaGnu.fail("StaticText.text property does not exist");
- }
-
-#end
+ DejaGnu.note("This class cannot be instantiated using
actionscript");
+ DejaGnu.note("Only the Adobe/Flash authoring tool can create
StaticText");
+
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
+#else
+ DejaGnu.note("This class (StaticText) is only available in flash9");
+#end
}
}
-}
// local Variables:
// mode: C++
// indent-tabs-mode: t
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10982: Fixed StaticText_as.hx test. This class is only creatable with the Adobe/Flash authoring tool. (we think),
Bob Naugle <=