[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11078: first of several updates to
From: |
Ben Limmer |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11078: first of several updates to haxe test cases updated expected failures for unimplemented features |
Date: |
Thu, 11 Jun 2009 10:34:40 -0600 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 11078
committer: Ben Limmer <address@hidden>
branch nick: trunk
timestamp: Thu 2009-06-11 10:34:40 -0600
message:
first of several updates to haxe test cases updated expected failures for
unimplemented features
modified:
testsuite/as3/classes.all/display/Stage_as.hx
testsuite/as3/classes.all/external/ExternalInterface_as.hx
testsuite/as3/classes.all/geom/Transform_as.hx
testsuite/as3/classes.all/net/FileReferenceList_as.hx
testsuite/as3/classes.all/net/FileReference_as.hx
testsuite/as3/classes.all/net/LocalConnection_as.hx
=== modified file 'testsuite/as3/classes.all/display/Stage_as.hx'
--- a/testsuite/as3/classes.all/display/Stage_as.hx 2009-06-01 17:24:36
+0000
+++ b/testsuite/as3/classes.all/display/Stage_as.hx 2009-06-11 16:34:40
+0000
@@ -216,7 +216,7 @@
if (Std.is(Stage.showMenu, Bool)) {
DejaGnu.pass("Stage::showMenu property exists");
} else {
- DejaGnu.fail("Stage::showMenu property doesn't exist");
+ DejaGnu.xfail("Stage::showMenu property doesn't exist");
}
#if flash8
if (Std.is(Stage.displayState, String)) {
=== modified file 'testsuite/as3/classes.all/external/ExternalInterface_as.hx'
--- a/testsuite/as3/classes.all/external/ExternalInterface_as.hx
2009-06-03 15:32:04 +0000
+++ b/testsuite/as3/classes.all/external/ExternalInterface_as.hx
2009-06-11 16:34:40 +0000
@@ -40,7 +40,7 @@
// Class must be named with the _as suffix, as that's the same name as the
file.
class ExternalInterface_as {
static function main() {
-
+ #if (!flash6 && !flash7)
// Make sure we actually get a valid class
if (flash.external.ExternalInterface != null) {
DejaGnu.pass("ExternalInterface class exists");
@@ -90,7 +90,7 @@
} else {
DejaGnu.fail("ExternalInterface::call() method doesn't exist");
}
-
+ #end
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
=== modified file 'testsuite/as3/classes.all/geom/Transform_as.hx'
--- a/testsuite/as3/classes.all/geom/Transform_as.hx 2009-06-01 22:01:49
+0000
+++ b/testsuite/as3/classes.all/geom/Transform_as.hx 2009-06-11 16:34:40
+0000
@@ -79,13 +79,13 @@
if (Std.is(x1.concatenatedColorTransform, ColorTransform)) {
DejaGnu.pass("Transform.concatenatedColorTransform property
exists");
} else {
- DejaGnu.fail("Transform.concatenatedColorTransform property doesn't
exist");
+ DejaGnu.xfail("Transform.concatenatedColorTransform property
doesn't exist");
}
//FIXME: This property is unimplemented for flash8
if (Std.is(x1.concatenatedMatrix, Matrix)) {
DejaGnu.pass("Transform.concatenatedMatrix property exists");
} else {
- DejaGnu.fail("Transform.concatenatedMatrix property doesn't exist");
+ DejaGnu.xfail("Transform.concatenatedMatrix property doesn't
exist");
}
#if flash10
// if (Std.is(x1.matrix3D, Matrix3D)) {
@@ -113,7 +113,7 @@
if (Std.is(x1.pixelBounds, Rectangle)) {
DejaGnu.pass("Transform.pixelBounds property exists");
} else {
- DejaGnu.fail("Transform.pixelBounds property doesn't exist");
+ DejaGnu.xfail("Transform.pixelBounds property doesn't exist");
}
DejaGnu.note("pixelBounds... is "+Type.typeof(x1.pixelBounds));
#if flash9
=== modified file 'testsuite/as3/classes.all/net/FileReferenceList_as.hx'
--- a/testsuite/as3/classes.all/net/FileReferenceList_as.hx 2009-06-02
18:24:32 +0000
+++ b/testsuite/as3/classes.all/net/FileReferenceList_as.hx 2009-06-11
16:34:40 +0000
@@ -52,7 +52,7 @@
if (x1 != null) {
DejaGnu.pass("FileReferenceList class exists");
} else {
- DejaGnu.fail("FileReferenceList class doesn't exist");
+ DejaGnu.xfail("FileReferenceList class doesn't exist");
}
// Tests to see if all the properties exist. All these do is test for
// existance of a property, and don't test the functionality at all. This
@@ -74,7 +74,7 @@
if (Type.typeof(x1.browse) == ValueType.TFunction) {
DejaGnu.pass("FileReferenceList::browse() method exists");
} else {
- DejaGnu.fail("FileReferenceList::browse() method doesn't exist");
+ DejaGnu.xfail("FileReferenceList::browse() method doesn't exist");
}
#end
#if flash8
@@ -83,22 +83,22 @@
if (Std.is(x2.fileList, Array)){
DejaGnu.pass("Filelist property exists");
} else {
- DejaGnu.fail("Filelist doesn't properly exist");
+ DejaGnu.xfail("Filelist doesn't properly exist");
}
if (Type.typeof(x2.addListener) == ValueType.TFunction){
DejaGnu.pass("addListener method exists");
} else {
- DejaGnu.fail("addListener method doesn't exist");
+ DejaGnu.xfail("addListener method doesn't exist");
}
if (Type.typeof(x2.browse) == ValueType.TFunction) {
DejaGnu.pass("browse method exists");
} else {
- DejaGnu.fail("browse method doesn't exist");
+ DejaGnu.xfail("browse method doesn't exist");
}
if (Type.typeof(x2.removeListener) == ValueType.TFunction){
DejaGnu.pass("removeListener method exists");
} else {
- DejaGnu.fail("removeListener method doesn't exist");
+ DejaGnu.xfail("removeListener method doesn't exist");
}
#end
// Call this after finishing all tests. It prints out the totals.
=== modified file 'testsuite/as3/classes.all/net/FileReference_as.hx'
--- a/testsuite/as3/classes.all/net/FileReference_as.hx 2009-06-02 18:16:55
+0000
+++ b/testsuite/as3/classes.all/net/FileReference_as.hx 2009-06-11 16:34:40
+0000
@@ -47,7 +47,7 @@
if (Std.is(x1, FileReference)) {
DejaGnu.pass("FileReference class exists");
} else {
- DejaGnu.fail("FileReference class doesn't exist");
+ DejaGnu.xfail("FileReference class doesn't exist");
}
//FIXME: Must browse to populate FileReference fields, and even then the
fields are not correct.
DejaGnu.note("This test is incomplete. The fields of
FileReference have not been correctly populated");
@@ -58,38 +58,38 @@
if (Std.is(x1.postData, String)) {
DejaGnu.pass("FileReference.postData property exists");
} else {
- DejaGnu.fail("FileReference.postData property doesn't exist");
+ DejaGnu.xfail("FileReference.postData property doesn't exist");
}
#end
if (Std.is(x1.creator, String)) {
DejaGnu.pass("FileReference.creator property exists");
} else {
- DejaGnu.fail("FileReference.creator property doesn't exist");
+ DejaGnu.xfail("FileReference.creator property doesn't exist");
}
if (Std.is(x1.name, String)) {
DejaGnu.pass("FileReference.name property exists");
} else {
- DejaGnu.fail("FileReference.name property doesn't exist");
+ DejaGnu.xfail("FileReference.name property doesn't exist");
}
if (Std.is(x1.size, Float)) {
DejaGnu.pass("FileReference.size property exists");
} else {
- DejaGnu.fail("FileReference.size property doesn't exist");
+ DejaGnu.xfail("FileReference.size property doesn't exist");
}
if (Std.is(x1.type, String)) {
DejaGnu.pass("FileReference.type property exists");
} else {
- DejaGnu.fail("FileReference.type property doesn't exist");
+ DejaGnu.xfail("FileReference.type property doesn't exist");
}
if (Std.is(x1.creationDate, Date)) {
DejaGnu.pass("FileReference.creationDate property exists");
} else {
- DejaGnu.fail("FileReference.creationDate property doesn't exist");
+ DejaGnu.xfail("FileReference.creationDate property doesn't exist");
}
if (Std.is(x1.modificationDate, Date)) {
DejaGnu.pass("FileReference.modificationDate property exists");
} else {
- DejaGnu.fail("FileReference.modificationDate property doesn't
exist");
+ DejaGnu.xfail("FileReference.modificationDate property doesn't
exist");
}
//FIXME: The .extension property is only available in AIR
// if (Std.is(x1.extension, String)) {
@@ -104,22 +104,22 @@
if (Type.typeof(x1.browse) == ValueType.TFunction) {
DejaGnu.pass("FileReference::browse() method exists");
} else {
- DejaGnu.fail("FileReference::browse() method doesn't exist");
+ DejaGnu.xfail("FileReference::browse() method doesn't exist");
}
if (Type.typeof(x1.cancel) == ValueType.TFunction) {
DejaGnu.pass("FileReference::cancel() method exists");
} else {
- DejaGnu.fail("FileReference::cancel() method doesn't exist");
+ DejaGnu.xfail("FileReference::cancel() method doesn't exist");
}
if (Type.typeof(x1.download) == ValueType.TFunction) {
DejaGnu.pass("FileReference::download() method exists");
} else {
- DejaGnu.fail("FileReference::download() method doesn't exist");
+ DejaGnu.xfail("FileReference::download() method doesn't exist");
}
if (Type.typeof(x1.upload) == ValueType.TFunction) {
DejaGnu.pass("FileReference::upload() method exists");
} else {
- DejaGnu.fail("FileReference::upload() method doesn't exist");
+ DejaGnu.xfail("FileReference::upload() method doesn't exist");
}
// This method is AIR only
// if (x1.uploadUnencoded == null) {
=== modified file 'testsuite/as3/classes.all/net/LocalConnection_as.hx'
--- a/testsuite/as3/classes.all/net/LocalConnection_as.hx 2009-06-09
18:03:04 +0000
+++ b/testsuite/as3/classes.all/net/LocalConnection_as.hx 2009-06-11
16:34:40 +0000
@@ -114,14 +114,14 @@
if (Type.typeof(x1.allowDomain) == ValueType.TFunction ) {
DejaGnu.pass("LocalConnection::allowDomain() method exists");
} else {
- DejaGnu.fail("LocalConnection::allowDomain() method doesn't exist");
+ DejaGnu.xfail("LocalConnection::allowDomain() method doesn't
exist");
}
#else
DejaGnu.note("Warning! A event handler here: allowDomain" +
Type.typeof(x1.allowDomain));
if (Type.typeof(x1.allowDomain) == ValueType.TFunction) {
DejaGnu.pass("LocalConnection::allowDomain() method exists");
} else {
- DejaGnu.fail("LocalConnection::allowDomain() method doesn't exist");
+ DejaGnu.xfail("LocalConnection::allowDomain() method doesn't
exist");
}
#end
@@ -134,14 +134,14 @@
if (Type.typeof(x1.allowInsecureDomain) == ValueType.TFunction) {
DejaGnu.pass("LocalConnection::allowInsecureDomain() method
exists");
} else {
- DejaGnu.fail("LocalConnection::allowInsecureDomain() method doesn't
exist");
+ DejaGnu.xfail("LocalConnection::allowInsecureDomain() method
doesn't exist");
}
#else
DejaGnu.note("Warning! A event handler here: allosDa " +
Type.typeof(x1.allowInsecureDomain));
if (Type.typeof(x1.allowInsecureDomain) == ValueType.TFunction) {
DejaGnu.pass("LocalConnection::allowInsecureDomain() method
exists");
} else {
- DejaGnu.fail("LocalConnection::allowInsecureDomain() method doesn't
exist");
+ DejaGnu.xfail("LocalConnection::allowInsecureDomain() method
doesn't exist");
}
#end
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11078: first of several updates to haxe test cases updated expected failures for unimplemented features,
Ben Limmer <=