[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/avm2 r9731: make flash.net testcases build
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/avm2 r9731: make flash.net testcases build. |
Date: |
Thu, 14 May 2009 22:17:26 -0600 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 9731
committer: address@hidden
branch nick: avm2
timestamp: Thu 2009-05-14 22:17:26 -0600
message:
make flash.net testcases build.
added:
testsuite/as3/classes.all/net/net.am
modified:
testsuite/as3/classes.all/net/FileFilter_as3.hx
testsuite/as3/classes.all/net/FileReferenceList_as3.hx
testsuite/as3/classes.all/net/FileReference_as3.hx
testsuite/as3/classes.all/net/IDynamicPropertyOutput_as3.hx
testsuite/as3/classes.all/net/IDynamicPropertyWriter_as3.hx
testsuite/as3/classes.all/net/LocalConnection_as3.hx
testsuite/as3/classes.all/net/NetConnection_as3.hx
testsuite/as3/classes.all/net/NetStream_as3.hx
testsuite/as3/classes.all/net/ObjectEncoding_as3.hx
testsuite/as3/classes.all/net/Responder_as3.hx
testsuite/as3/classes.all/net/SharedObjectFlushStatus_as3.hx
testsuite/as3/classes.all/net/SharedObject_as3.hx
testsuite/as3/classes.all/net/Socket_as3.hx
testsuite/as3/classes.all/net/URLLoaderDataFormat_as3.hx
testsuite/as3/classes.all/net/URLLoader_as3.hx
testsuite/as3/classes.all/net/URLRequestDefaults_as3.hx
testsuite/as3/classes.all/net/URLRequestHeader_as3.hx
testsuite/as3/classes.all/net/URLRequestMethod_as3.hx
testsuite/as3/classes.all/net/URLRequest_as3.hx
testsuite/as3/classes.all/net/URLStream_as3.hx
testsuite/as3/classes.all/net/URLVariables_as3.hx
testsuite/as3/classes.all/net/XMLSocket_as3.hx
=== modified file 'testsuite/as3/classes.all/net/FileFilter_as3.hx'
--- a/testsuite/as3/classes.all/net/FileFilter_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/FileFilter_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// FileFilter_as3.hx: ActionScript 3 "FileFilter" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,54 +23,56 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.FileFilter;
import flash.display.MovieClip;
+#else
+import flash.FileFilter;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_FileFilter {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class FileFilter_as3 {
static function main() {
- var x1:FileFilter = new FileFilter();
+ var x1:FileFilter = new FileFilter(null, null, null);
// Make sure we actually get a valid class
if (x1 != null) {
DejaGnu.pass("FileFilter class exists");
} else {
- DejaGnu.fail("FileFilter lass doesn't exist");
+ DejaGnu.fail("FileFilter 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
// is primarily useful only to test completeness of the API implementation.
if (x1.description == null) {
- DejaGnu.pass("FileFilter::description property exists");
+ DejaGnu.pass("FileFilter.description property exists");
} else {
- DejaGnu.fail("FileFilter::description property doesn't exist");
+ DejaGnu.fail("FileFilter.description property doesn't exist");
}
if (x1.extension == null) {
- DejaGnu.pass("FileFilter::extension property exists");
+ DejaGnu.pass("FileFilter.extension property exists");
} else {
- DejaGnu.fail("FileFilter::extension property doesn't exist");
+ DejaGnu.fail("FileFilter.extension property doesn't exist");
}
if (x1.macType == null) {
- DejaGnu.pass("FileFilter::macType property exists");
- } else {
- DejaGnu.fail("FileFilter::macType property doesn't exist");
- }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
- if (x1.FileFilter == null) {
- DejaGnu.pass("FileFilter::FileFilter() method exists");
- } else {
- DejaGnu.fail("FileFilter::FileFilter() method doesn't exist");
+ DejaGnu.pass("FileFilter.macType property exists");
+ } else {
+ DejaGnu.fail("FileFilter.macType property doesn't exist");
}
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/FileReferenceList_as3.hx'
--- a/testsuite/as3/classes.all/net/FileReferenceList_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/FileReferenceList_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// FileReferenceList_as3.hx: ActionScript 3 "FileReferenceList" class, for
Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.FileReferenceList;
import flash.display.MovieClip;
+#else
+import flash.FileReferenceList;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_FileReferenceList {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class FileReferenceList_as3 {
static function main() {
var x1:FileReferenceList = new FileReferenceList();
@@ -40,32 +45,41 @@
if (x1 != null) {
DejaGnu.pass("FileReferenceList class exists");
} else {
- DejaGnu.fail("FileReferenceList lass doesn't exist");
+ DejaGnu.fail("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
// is primarily useful only to test completeness of the API implementation.
- if (x1.fileList == 0) {
- DejaGnu.pass("FileReferenceList::fileList property exists");
- } else {
- DejaGnu.fail("FileReferenceList::fileList property doesn't exist");
- }
+// FIXME: returns an array
+// if (x1.fileList == 0) {
+// DejaGnu.pass("FileReferenceList.fileList property exists");
+// } else {
+// DejaGnu.fail("FileReferenceList.fileList property doesn't exist");
+// }
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.FileReferenceList == FileReferenceList) {
- DejaGnu.pass("FileReferenceList::FileReferenceList() method
exists");
- } else {
- DejaGnu.fail("FileReferenceList::FileReferenceList() method doesn't
exist");
- }
- if (x1.browse == false) {
- DejaGnu.pass("FileReferenceList::browse() method exists");
- } else {
- DejaGnu.fail("FileReferenceList::browse() method doesn't exist");
- }
+// if (x1.FileReferenceList == FileReferenceList) {
+// DejaGnu.pass("FileReferenceList::FileReferenceList() method
exists");
+// } else {
+// DejaGnu.fail("FileReferenceList::FileReferenceList() method doesn't
exist");
+// }
+
+// FIXME: returns an array
+// if (x1.browse == false) {
+// DejaGnu.pass("FileReferenceList::browse() method exists");
+// } else {
+// DejaGnu.fail("FileReferenceList::browse() method doesn't exist");
+// }
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/FileReference_as3.hx'
--- a/testsuite/as3/classes.all/net/FileReference_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/FileReference_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// FileReference_as3.hx: ActionScript 3 "FileReference" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.FileReference;
import flash.display.MovieClip;
+#else
+import flash.FileReference;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_FileReference {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class FileReference_as3 {
static function main() {
var x1:FileReference = new FileReference();
@@ -40,60 +45,58 @@
if (x1 != null) {
DejaGnu.pass("FileReference class exists");
} else {
- DejaGnu.fail("FileReference lass doesn't exist");
+ DejaGnu.fail("FileReference 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
// is primarily useful only to test completeness of the API implementation.
- if (x1.creationDate == Date) {
- DejaGnu.pass("FileReference::creationDate property exists");
- } else {
- DejaGnu.fail("FileReference::creationDate property doesn't exist");
- }
+// if (x1.creationDate == Date) {
+// DejaGnu.pass("FileReference.creationDate property exists");
+// } else {
+// DejaGnu.fail("FileReference.creationDate property doesn't exist");
+// }
if (x1.creator == null) {
- DejaGnu.pass("FileReference::creator property exists");
- } else {
- DejaGnu.fail("FileReference::creator property doesn't exist");
- }
- if (x1.extension == null) {
- DejaGnu.pass("FileReference::extension property exists");
- } else {
- DejaGnu.fail("FileReference::extension property doesn't exist");
- }
- if (x1.modificationDate == Date) {
- DejaGnu.pass("FileReference::modificationDate property exists");
- } else {
- DejaGnu.fail("FileReference::modificationDate property doesn't
exist");
- }
+ DejaGnu.pass("FileReference.creator property exists");
+ } else {
+ DejaGnu.fail("FileReference.creator property doesn't exist");
+ }
+// FIXME: returns an array
+// if (x1.extension == null) {
+// DejaGnu.pass("FileReference.extension property exists");
+// } else {
+// DejaGnu.fail("FileReference.extension property doesn't exist");
+// }
+
+// if (x1.modificationDate == Date) {
+// DejaGnu.pass("FileReference.modificationDate property exists");
+// } else {
+// DejaGnu.fail("FileReference.modificationDate property doesn't
exist");
+// }
if (x1.name == null) {
- DejaGnu.pass("FileReference::name property exists");
+ DejaGnu.pass("FileReference.name property exists");
} else {
- DejaGnu.fail("FileReference::name property doesn't exist");
+ DejaGnu.fail("FileReference.name property doesn't exist");
}
if (x1.size == 0) {
- DejaGnu.pass("FileReference::size property exists");
+ DejaGnu.pass("FileReference.size property exists");
} else {
- DejaGnu.fail("FileReference::size property doesn't exist");
+ DejaGnu.fail("FileReference.size property doesn't exist");
}
if (x1.type == null) {
- DejaGnu.pass("FileReference::type property exists");
+ DejaGnu.pass("FileReference.type property exists");
} else {
- DejaGnu.fail("FileReference::type property doesn't exist");
+ DejaGnu.fail("FileReference.type property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.FileReference == FileReference) {
- DejaGnu.pass("FileReference::FileReference() method exists");
- } else {
- DejaGnu.fail("FileReference::FileReference() method doesn't exist");
- }
- if (x1.browse == false) {
- DejaGnu.pass("FileReference::browse() method exists");
- } else {
- DejaGnu.fail("FileReference::browse() method doesn't exist");
- }
+// FIXME: needs an array
+// if (x1.browse == false) {
+// DejaGnu.pass("FileReference::browse() method exists");
+// } else {
+// DejaGnu.fail("FileReference::browse() method doesn't exist");
+// }
if (x1.cancel == null) {
DejaGnu.pass("FileReference::cancel() method exists");
} else {
@@ -109,13 +112,20 @@
} else {
DejaGnu.fail("FileReference::upload() method doesn't exist");
}
- if (x1.uploadUnencoded == null) {
- DejaGnu.pass("FileReference::uploadUnencoded() method exists");
- } else {
- DejaGnu.fail("FileReference::uploadUnencoded() method doesn't
exist");
- }
+// This method is AIR only
+// if (x1.uploadUnencoded == null) {
+// DejaGnu.pass("FileReference::uploadUnencoded() method exists");
+// } else {
+// DejaGnu.fail("FileReference::uploadUnencoded() method doesn't
exist");
+// }
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/IDynamicPropertyOutput_as3.hx'
--- a/testsuite/as3/classes.all/net/IDynamicPropertyOutput_as3.hx
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/IDynamicPropertyOutput_as3.hx
2009-05-15 04:17:26 +0000
@@ -1,6 +1,6 @@
// IDynamicPropertyOutput_as3.hx: ActionScript 3 "IDynamicPropertyOutput"
class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,25 +23,28 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.IDynamicPropertyOutput;
import flash.display.MovieClip;
+#else
+import flash.IDynamicPropertyOutput;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_IDynamicPropertyOutput {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class IDynamicPropertyOutput_as3 {
static function main() {
- var x1:IDynamicPropertyOutput = new IDynamicPropertyOutput();
- // Make sure we actually get a valid class
- if (x1 != null) {
- DejaGnu.pass("IDynamicPropertyOutput class exists");
- } else {
- DejaGnu.fail("IDynamicPropertyOutput lass doesn't exist");
- }
+// if (IDynamicPropertyOutput.writeDynamicProperty() != null) {
+// DejaGnu.pass("IDynamicPropertyOutput class exists");
+// } else {
+// DejaGnu.fail("IDynamicPropertyOutput class doesn't exist");
+// }
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
@@ -51,3 +54,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/IDynamicPropertyWriter_as3.hx'
--- a/testsuite/as3/classes.all/net/IDynamicPropertyWriter_as3.hx
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/IDynamicPropertyWriter_as3.hx
2009-05-15 04:17:26 +0000
@@ -1,6 +1,6 @@
// IDynamicPropertyWriter_as3.hx: ActionScript 3 "IDynamicPropertyWriter"
class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,25 +23,29 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.IDynamicPropertyWriter;
import flash.display.MovieClip;
+#else
+import flash.IDynamicPropertyWriter;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_IDynamicPropertyWriter {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class IDynamicPropertyWriter_as3 {
static function main() {
- var x1:IDynamicPropertyWriter = new IDynamicPropertyWriter();
// Make sure we actually get a valid class
- if (x1 != null) {
- DejaGnu.pass("IDynamicPropertyWriter class exists");
- } else {
- DejaGnu.fail("IDynamicPropertyWriter lass doesn't exist");
- }
+// if (IDynamicPropertyWriter.writeDynamicProperties() != null) {
+// DejaGnu.pass("IDynamicPropertyWriter class exists");
+// } else {
+// DejaGnu.fail("IDynamicPropertyWriter class doesn't exist");
+// }
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
@@ -51,3 +55,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/LocalConnection_as3.hx'
--- a/testsuite/as3/classes.all/net/LocalConnection_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/LocalConnection_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// LocalConnection_as3.hx: ActionScript 3 "LocalConnection" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.LocalConnection;
import flash.display.MovieClip;
+#else
+import flash.LocalConnection;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_LocalConnection {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class LocalConnection_as3 {
static function main() {
var x1:LocalConnection = new LocalConnection();
@@ -40,30 +45,25 @@
if (x1 != null) {
DejaGnu.pass("LocalConnection class exists");
} else {
- DejaGnu.fail("LocalConnection lass doesn't exist");
+ DejaGnu.fail("LocalConnection 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
// is primarily useful only to test completeness of the API implementation.
- if (x1.client == Object) {
- DejaGnu.pass("LocalConnection::client property exists");
- } else {
- DejaGnu.fail("LocalConnection::client property doesn't exist");
- }
+// if (x1.client == Object) {
+// DejaGnu.pass("LocalConnection.client property exists");
+// } else {
+// DejaGnu.fail("LocalConnection.client property doesn't exist");
+// }
if (x1.domain == null) {
- DejaGnu.pass("LocalConnection::domain property exists");
+ DejaGnu.pass("LocalConnection.domain property exists");
} else {
- DejaGnu.fail("LocalConnection::domain property doesn't exist");
+ DejaGnu.fail("LocalConnection.domain property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.LocalConnection == LocalConnection) {
- DejaGnu.pass("LocalConnection::LocalConnection() method exists");
- } else {
- DejaGnu.fail("LocalConnection::LocalConnection() method doesn't
exist");
- }
if (x1.allowDomain == null) {
DejaGnu.pass("LocalConnection::allowDomain() method exists");
} else {
@@ -94,3 +94,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/NetConnection_as3.hx'
--- a/testsuite/as3/classes.all/net/NetConnection_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/NetConnection_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// NetConnection_as3.hx: ActionScript 3 "NetConnection" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.NetConnection;
import flash.display.MovieClip;
+#else
+import flash.NetConnection;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NetConnection {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class NetConnection_as3 {
static function main() {
var x1:NetConnection = new NetConnection();
@@ -40,60 +45,56 @@
if (x1 != null) {
DejaGnu.pass("NetConnection class exists");
} else {
- DejaGnu.fail("NetConnection lass doesn't exist");
+ DejaGnu.fail("NetConnection 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
// is primarily useful only to test completeness of the API implementation.
- if (x1.client == Object) {
- DejaGnu.pass("NetConnection::client property exists");
- } else {
- DejaGnu.fail("NetConnection::client property doesn't exist");
- }
+// if (x1.client == Object) {
+// DejaGnu.pass("NetConnection.client property exists");
+// } else {
+// DejaGnu.fail("NetConnection.client property doesn't exist");
+// }
if (x1.connected == false) {
- DejaGnu.pass("NetConnection::connected property exists");
+ DejaGnu.pass("NetConnection.connected property exists");
} else {
- DejaGnu.fail("NetConnection::connected property doesn't exist");
+ DejaGnu.fail("NetConnection.connected property doesn't exist");
}
if (x1.connectedProxyType == null) {
- DejaGnu.pass("NetConnection::connectedProxyType property exists");
- } else {
- DejaGnu.fail("NetConnection::connectedProxyType property doesn't
exist");
- }
- if (x1.defaultObjectEncoding == uint) {
- DejaGnu.pass("NetConnection::defaultObjectEncoding property
exists");
- } else {
- DejaGnu.fail("NetConnection::defaultObjectEncoding property doesn't
exist");
- }
- if (x1.objectEncoding == uint) {
- DejaGnu.pass("NetConnection::objectEncoding property exists");
- } else {
- DejaGnu.fail("NetConnection::objectEncoding property doesn't
exist");
+ DejaGnu.pass("NetConnection.connectedProxyType property exists");
+ } else {
+ DejaGnu.fail("NetConnection.connectedProxyType property doesn't
exist");
+ }
+// FIXME: Cannot access static field defaultObjectEncoding from a class
instance
+// if (x1.defaultObjectEncoding == 0) {
+// DejaGnu.pass("NetConnection.defaultObjectEncoding property exists");
+// } else {
+// DejaGnu.fail("NetConnection.defaultObjectEncoding property doesn't
exist");
+// }
+ if (x1.objectEncoding == 0) {
+ DejaGnu.pass("NetConnection.objectEncoding property exists");
+ } else {
+ DejaGnu.fail("NetConnection.objectEncoding property doesn't exist");
}
if (x1.proxyType == null) {
- DejaGnu.pass("NetConnection::proxyType property exists");
+ DejaGnu.pass("NetConnection.proxyType property exists");
} else {
- DejaGnu.fail("NetConnection::proxyType property doesn't exist");
+ DejaGnu.fail("NetConnection.proxyType property doesn't exist");
}
if (x1.uri == null) {
- DejaGnu.pass("NetConnection::uri property exists");
+ DejaGnu.pass("NetConnection.uri property exists");
} else {
- DejaGnu.fail("NetConnection::uri property doesn't exist");
+ DejaGnu.fail("NetConnection.uri property doesn't exist");
}
if (x1.usingTLS == false) {
- DejaGnu.pass("NetConnection::usingTLS property exists");
+ DejaGnu.pass("NetConnection.usingTLS property exists");
} else {
- DejaGnu.fail("NetConnection::usingTLS property doesn't exist");
+ DejaGnu.fail("NetConnection.usingTLS property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.NetConnection == NetConnection) {
- DejaGnu.pass("NetConnection::NetConnection() method exists");
- } else {
- DejaGnu.fail("NetConnection::NetConnection() method doesn't exist");
- }
if (x1.addHeader == null) {
DejaGnu.pass("NetConnection::addHeader() method exists");
} else {
@@ -119,3 +120,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/NetStream_as3.hx'
--- a/testsuite/as3/classes.all/net/NetStream_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/NetStream_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// NetStream_as3.hx: ActionScript 3 "NetStream" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,92 +23,99 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
+import flash.net.NetConnection;
import flash.net.NetStream;
import flash.display.MovieClip;
+#else
+import flash.NetStream;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_NetStream {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class NetStream_as3 {
static function main() {
- var x1:NetStream = new NetStream();
+ var nc:NetConnection = new NetConnection();
+ var x1:NetStream = new NetStream(nc);
// Make sure we actually get a valid class
if (x1 != null) {
DejaGnu.pass("NetStream class exists");
} else {
- DejaGnu.fail("NetStream lass doesn't exist");
+ DejaGnu.fail("NetStream 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
// is primarily useful only to test completeness of the API implementation.
if (x1.bufferLength == 0) {
- DejaGnu.pass("NetStream::bufferLength property exists");
+ DejaGnu.pass("NetStream.bufferLength property exists");
} else {
- DejaGnu.fail("NetStream::bufferLength property doesn't exist");
+ DejaGnu.fail("NetStream.bufferLength property doesn't exist");
}
if (x1.bufferTime == 0) {
- DejaGnu.pass("NetStream::bufferTime property exists");
- } else {
- DejaGnu.fail("NetStream::bufferTime property doesn't exist");
- }
- if (x1.bytesLoaded == uint) {
- DejaGnu.pass("NetStream::bytesLoaded property exists");
- } else {
- DejaGnu.fail("NetStream::bytesLoaded property doesn't exist");
- }
- if (x1.bytesTotal == uint) {
- DejaGnu.pass("NetStream::bytesTotal property exists");
- } else {
- DejaGnu.fail("NetStream::bytesTotal property doesn't exist");
+ DejaGnu.pass("NetStream.bufferTime property exists");
+ } else {
+ DejaGnu.fail("NetStream.bufferTime property doesn't exist");
+ }
+ if (x1.bytesLoaded == 0) {
+ DejaGnu.pass("NetStream.bytesLoaded property exists");
+ } else {
+ DejaGnu.fail("NetStream.bytesLoaded property doesn't exist");
+ }
+ if (x1.bytesTotal == 0) {
+ DejaGnu.pass("NetStream.bytesTotal property exists");
+ } else {
+ DejaGnu.fail("NetStream.bytesTotal property doesn't exist");
}
if (x1.checkPolicyFile == false) {
- DejaGnu.pass("NetStream::checkPolicyFile property exists");
- } else {
- DejaGnu.fail("NetStream::checkPolicyFile property doesn't exist");
- }
- if (x1.client == Object) {
- DejaGnu.pass("NetStream::client property exists");
- } else {
- DejaGnu.fail("NetStream::client property doesn't exist");
- }
+ DejaGnu.pass("NetStream.checkPolicyFile property exists");
+ } else {
+ DejaGnu.fail("NetStream.checkPolicyFile property doesn't exist");
+ }
+// if (x1.client == Object) {
+// DejaGnu.pass("NetStream.client property exists");
+// } else {
+// DejaGnu.fail("NetStream.client property doesn't exist");
+// }
if (x1.currentFPS == 0) {
- DejaGnu.pass("NetStream::currentFPS property exists");
+ DejaGnu.pass("NetStream.currentFPS property exists");
} else {
- DejaGnu.fail("NetStream::currentFPS property doesn't exist");
+ DejaGnu.fail("NetStream.currentFPS property doesn't exist");
}
if (x1.liveDelay == 0) {
- DejaGnu.pass("NetStream::liveDelay property exists");
- } else {
- DejaGnu.fail("NetStream::liveDelay property doesn't exist");
- }
- if (x1.objectEncoding == uint) {
- DejaGnu.pass("NetStream::objectEncoding property exists");
- } else {
- DejaGnu.fail("NetStream::objectEncoding property doesn't exist");
- }
- if (x1.soundTransform == SoundTransform) {
- DejaGnu.pass("NetStream::soundTransform property exists");
- } else {
- DejaGnu.fail("NetStream::soundTransform property doesn't exist");
- }
+ DejaGnu.pass("NetStream.liveDelay property exists");
+ } else {
+ DejaGnu.fail("NetStream.liveDelay property doesn't exist");
+ }
+ if (x1.objectEncoding == 0) {
+ DejaGnu.pass("NetStream.objectEncoding property exists");
+ } else {
+ DejaGnu.fail("NetStream.objectEncoding property doesn't exist");
+ }
+// if (x1.soundTransform == SoundTransform) {
+// DejaGnu.pass("NetStream.soundTransform property exists");
+// } else {
+// DejaGnu.fail("NetStream.soundTransform property doesn't exist");
+// }
if (x1.time == 0) {
- DejaGnu.pass("NetStream::time property exists");
+ DejaGnu.pass("NetStream.time property exists");
} else {
- DejaGnu.fail("NetStream::time property doesn't exist");
+ DejaGnu.fail("NetStream.time property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.NetStream == NetConnection) {
- DejaGnu.pass("NetStream::NetStream() method exists");
- } else {
- DejaGnu.fail("NetStream::NetStream() method doesn't exist");
- }
+// if (x1.NetStream == NetConnection) {
+// DejaGnu.pass("NetStream::NetStream() method exists");
+// } else {
+// DejaGnu.fail("NetStream::NetStream() method doesn't exist");
+// }
if (x1.attachAudio == null) {
DejaGnu.pass("NetStream::attachAudio() method exists");
} else {
@@ -154,11 +161,12 @@
} else {
DejaGnu.fail("NetStream::receiveVideoFPS() method doesn't exist");
}
- if (x1.resetDRMVouchers == null) {
- DejaGnu.pass("NetStream::resetDRMVouchers() method exists");
- } else {
- DejaGnu.fail("NetStream::resetDRMVouchers() method doesn't exist");
- }
+// AIR only
+// if (x1.resetDRMVouchers == null) {
+// DejaGnu.pass("NetStream::resetDRMVouchers() method exists");
+// } else {
+// DejaGnu.fail("NetStream::resetDRMVouchers() method doesn't exist");
+// }
if (x1.resume == null) {
DejaGnu.pass("NetStream::resume() method exists");
} else {
@@ -174,11 +182,12 @@
} else {
DejaGnu.fail("NetStream::send() method doesn't exist");
}
- if (x1.setDRMAuthenticationCredentials == null) {
- DejaGnu.pass("NetStream::setDRMAuthenticationCredentials() method
exists");
- } else {
- DejaGnu.fail("NetStream::setDRMAuthenticationCredentials() method
doesn't exist");
- }
+// AIR only
+// if (x1.setDRMAuthenticationCredentials == null) {
+// DejaGnu.pass("NetStream::setDRMAuthenticationCredentials() method
exists");
+// } else {
+// DejaGnu.fail("NetStream::setDRMAuthenticationCredentials() method
doesn't exist");
+// }
if (x1.togglePause == null) {
DejaGnu.pass("NetStream::togglePause() method exists");
} else {
@@ -189,3 +198,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/ObjectEncoding_as3.hx'
--- a/testsuite/as3/classes.all/net/ObjectEncoding_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/ObjectEncoding_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// ObjectEncoding_as3.hx: ActionScript 3 "ObjectEncoding" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,54 +23,50 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.ObjectEncoding;
import flash.display.MovieClip;
+#else
+import flash.ObjectEncoding;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_ObjectEncoding {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class ObjectEncoding_as3 {
static function main() {
- var x1:ObjectEncoding = new ObjectEncoding();
-
// Make sure we actually get a valid class
- if (x1 != null) {
- DejaGnu.pass("ObjectEncoding class exists");
- } else {
- DejaGnu.fail("ObjectEncoding lass 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
-// is primarily useful only to test completeness of the API implementation.
- if (x1.dynamicPropertyWriter == dynamicPropertyWriter) {
- DejaGnu.pass("ObjectEncoding::dynamicPropertyWriter property
exists");
- } else {
- DejaGnu.fail("ObjectEncoding::dynamicPropertyWriter property
doesn't exist");
- }
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.AMF0 == 0) {
- DejaGnu.pass("ObjectEncoding::AMF0() method exists");
- } else {
- DejaGnu.fail("ObjectEncoding::AMF0() method doesn't exist");
- }
- if (x1.AMF3 == 0) {
- DejaGnu.pass("ObjectEncoding::AMF3() method exists");
- } else {
- DejaGnu.fail("ObjectEncoding::AMF3() method doesn't exist");
- }
- if (x1.DEFAULT == 0) {
- DejaGnu.pass("ObjectEncoding::DEFAULT() method exists");
- } else {
- DejaGnu.fail("ObjectEncoding::DEFAULT() method doesn't exist");
+ if (ObjectEncoding.AMF0 == 0) {
+ DejaGnu.pass("ObjectEncoding::AMF0() constant exists");
+ } else {
+ DejaGnu.fail("ObjectEncoding::AMF0() constant doesn't exist");
+ }
+ if (ObjectEncoding.AMF3 == 0) {
+ DejaGnu.pass("ObjectEncoding::AMF3() constant exists");
+ } else {
+ DejaGnu.fail("ObjectEncoding::AMF3() constant doesn't exist");
+ }
+ if (ObjectEncoding.DEFAULT == 0) {
+ DejaGnu.pass("ObjectEncoding::DEFAULT() constant exists");
+ } else {
+ DejaGnu.fail("ObjectEncoding::DEFAULT() constant doesn't exist");
}
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/Responder_as3.hx'
--- a/testsuite/as3/classes.all/net/Responder_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/Responder_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// Responder_as3.hx: ActionScript 3 "Responder" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,24 +23,29 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.Responder;
import flash.display.MovieClip;
+#else
+import flash.Responder;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Responder {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class Responder_as3 {
static function main() {
- var x1:Responder = new Responder();
+ var x1:Responder = new Responder(null, null);
// Make sure we actually get a valid class
if (x1 != null) {
DejaGnu.pass("Responder class exists");
} else {
- DejaGnu.fail("Responder lass doesn't exist");
+ DejaGnu.fail("Responder class doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
@@ -51,3 +56,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/SharedObjectFlushStatus_as3.hx'
--- a/testsuite/as3/classes.all/net/SharedObjectFlushStatus_as3.hx
2009-05-03 15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/SharedObjectFlushStatus_as3.hx
2009-05-15 04:17:26 +0000
@@ -1,6 +1,6 @@
// SharedObjectFlushStatus_as3.hx: ActionScript 3 "SharedObjectFlushStatus"
class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,42 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.SharedObjectFlushStatus;
import flash.display.MovieClip;
+#else
+import flash.SharedObjectFlushStatus;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SharedObjectFlushStatus {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class SharedObjectFlushStatus_as3 {
static function main() {
- var x1:SharedObjectFlushStatus = new SharedObjectFlushStatus();
-
// Make sure we actually get a valid class
- if (x1 != null) {
- DejaGnu.pass("SharedObjectFlushStatus class exists");
+ if (SharedObjectFlushStatus.FLUSHED != null) {
+ DejaGnu.pass("SharedObjectFlushStatus.FLUSHED constant exists");
} else {
- DejaGnu.fail("SharedObjectFlushStatus lass doesn't exist");
+ DejaGnu.fail("SharedObjectFlushStatus.FLUSHED constant doesn't
exist");
}
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
+ if (SharedObjectFlushStatus.PENDING != null) {
+ DejaGnu.pass("SharedObjectFlushStatus.PENDING constant exists");
+ } else {
+ DejaGnu.fail("SharedObjectFlushStatus.PENDING constant doesn't
exist");
+ }
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/SharedObject_as3.hx'
--- a/testsuite/as3/classes.all/net/SharedObject_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/SharedObject_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// SharedObject_as3.hx: ActionScript 3 "SharedObject" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.SharedObject;
import flash.display.MovieClip;
+#else
+import flash.SharedObject;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_SharedObject {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class SharedObject_as3 {
static function main() {
var x1:SharedObject = new SharedObject();
@@ -40,40 +45,41 @@
if (x1 != null) {
DejaGnu.pass("SharedObject class exists");
} else {
- DejaGnu.fail("SharedObject lass doesn't exist");
+ DejaGnu.fail("SharedObject 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
// is primarily useful only to test completeness of the API implementation.
- if (x1.client == Object) {
- DejaGnu.pass("SharedObject::client property exists");
- } else {
- DejaGnu.fail("SharedObject::client property doesn't exist");
- }
- if (x1.data == Object) {
- DejaGnu.pass("SharedObject::data property exists");
- } else {
- DejaGnu.fail("SharedObject::data property doesn't exist");
- }
- if (x1.defaultObjectEncoding == uint) {
- DejaGnu.pass("SharedObject::defaultObjectEncoding property exists");
- } else {
- DejaGnu.fail("SharedObject::defaultObjectEncoding property doesn't
exist");
- }
- if (x1.fps == 0) {
- DejaGnu.pass("SharedObject::fps property exists");
- } else {
- DejaGnu.fail("SharedObject::fps property doesn't exist");
- }
- if (x1.objectEncoding == uint) {
- DejaGnu.pass("SharedObject::objectEncoding property exists");
- } else {
- DejaGnu.fail("SharedObject::objectEncoding property doesn't exist");
- }
- if (x1.size == uint) {
- DejaGnu.pass("SharedObject::size property exists");
- } else {
- DejaGnu.fail("SharedObject::size property doesn't exist");
+// if (x1.client == Object) {
+// DejaGnu.pass("SharedObject.client property exists");
+// } else {
+// DejaGnu.fail("SharedObject.client property doesn't exist");
+// }
+// if (x1.data == Object) {
+// DejaGnu.pass("SharedObject.data property exists");
+// } else {
+// DejaGnu.fail("SharedObject.data property doesn't exist");
+// }
+ if (SharedObject.defaultObjectEncoding == 0) {
+ DejaGnu.pass("SharedObject.defaultObjectEncoding property exists");
+ } else {
+ DejaGnu.fail("SharedObject.defaultObjectEncoding property doesn't
exist");
+ }
+// FIXME: Field fps cannot be accessed for reading
+// if (x1.fps == 0) {
+// DejaGnu.pass("SharedObject.fps property exists");
+// } else {
+// DejaGnu.fail("SharedObject.fps property doesn't exist");
+// }
+ if (x1.objectEncoding == 0) {
+ DejaGnu.pass("SharedObject.objectEncoding property exists");
+ } else {
+ DejaGnu.fail("SharedObject.objectEncoding property doesn't exist");
+ }
+ if (x1.size == 0) {
+ DejaGnu.pass("SharedObject.size property exists");
+ } else {
+ DejaGnu.fail("SharedObject.size property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
@@ -99,16 +105,16 @@
} else {
DejaGnu.fail("SharedObject::flush() method doesn't exist");
}
- if (x1.getLocal == SharedObject) {
- DejaGnu.pass("SharedObject::getLocal() method exists");
- } else {
- DejaGnu.fail("SharedObject::getLocal() method doesn't exist");
- }
- if (x1.getRemote == SharedObject) {
- DejaGnu.pass("SharedObject::getRemote() method exists");
- } else {
- DejaGnu.fail("SharedObject::getRemote() method doesn't exist");
- }
+// if (x1.getLocal == SharedObject) {
+// DejaGnu.pass("SharedObject::getLocal() method exists");
+// } else {
+// DejaGnu.fail("SharedObject::getLocal() method doesn't exist");
+// }
+// if (x1.getRemote == SharedObject) {
+// DejaGnu.pass("SharedObject::getRemote() method exists");
+// } else {
+// DejaGnu.fail("SharedObject::getRemote() method doesn't exist");
+// }
if (x1.send == null) {
DejaGnu.pass("SharedObject::send() method exists");
} else {
@@ -129,3 +135,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/Socket_as3.hx'
--- a/testsuite/as3/classes.all/net/Socket_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/Socket_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// Socket_as3.hx: ActionScript 3 "Socket" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.Socket;
import flash.display.MovieClip;
+#else
+import flash.Socket;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_Socket {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class Socket_as3 {
static function main() {
var x1:Socket = new Socket();
@@ -40,40 +45,35 @@
if (x1 != null) {
DejaGnu.pass("Socket class exists");
} else {
- DejaGnu.fail("Socket lass doesn't exist");
+ DejaGnu.fail("Socket 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
// is primarily useful only to test completeness of the API implementation.
- if (x1.bytesAvailable == uint) {
- DejaGnu.pass("Socket::bytesAvailable property exists");
+ if (x1.bytesAvailable == 0) {
+ DejaGnu.pass("Socket.bytesAvailable property exists");
} else {
- DejaGnu.fail("Socket::bytesAvailable property doesn't exist");
+ DejaGnu.fail("Socket.bytesAvailable property doesn't exist");
}
if (x1.connected == false) {
- DejaGnu.pass("Socket::connected property exists");
+ DejaGnu.pass("Socket.connected property exists");
} else {
- DejaGnu.fail("Socket::connected property doesn't exist");
+ DejaGnu.fail("Socket.connected property doesn't exist");
}
if (x1.endian == null) {
- DejaGnu.pass("Socket::endian property exists");
+ DejaGnu.pass("Socket.endian property exists");
} else {
- DejaGnu.fail("Socket::endian property doesn't exist");
+ DejaGnu.fail("Socket.endian property doesn't exist");
}
- if (x1.objectEncoding == uint) {
- DejaGnu.pass("Socket::objectEncoding property exists");
+ if (x1.objectEncoding == 0) {
+ DejaGnu.pass("Socket.objectEncoding property exists");
} else {
- DejaGnu.fail("Socket::objectEncoding property doesn't exist");
+ DejaGnu.fail("Socket.objectEncoding property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.Socket == 0) {
- DejaGnu.pass("Socket::Socket() method exists");
- } else {
- DejaGnu.fail("Socket::Socket() method doesn't exist");
- }
if (x1.close == null) {
DejaGnu.pass("Socket::close() method exists");
} else {
@@ -89,66 +89,67 @@
} else {
DejaGnu.fail("Socket::flush() method doesn't exist");
}
- if (x1.readBoolean == false) {
- DejaGnu.pass("Socket::readBoolean() method exists");
- } else {
- DejaGnu.fail("Socket::readBoolean() method doesn't exist");
- }
- if (x1.readByte == 0) {
- DejaGnu.pass("Socket::readByte() method exists");
- } else {
- DejaGnu.fail("Socket::readByte() method doesn't exist");
- }
- if (x1.readBytes == null) {
- DejaGnu.pass("Socket::readBytes() method exists");
- } else {
- DejaGnu.fail("Socket::readBytes() method doesn't exist");
- }
- if (x1.readDouble == 0) {
- DejaGnu.pass("Socket::readDouble() method exists");
- } else {
- DejaGnu.fail("Socket::readDouble() method doesn't exist");
- }
- if (x1.readFloat == 0) {
- DejaGnu.pass("Socket::readFloat() method exists");
- } else {
- DejaGnu.fail("Socket::readFloat() method doesn't exist");
- }
- if (x1.readInt == 0) {
- DejaGnu.pass("Socket::readInt() method exists");
- } else {
- DejaGnu.fail("Socket::readInt() method doesn't exist");
- }
- if (x1.readMultiByte == null) {
- DejaGnu.pass("Socket::readMultiByte() method exists");
- } else {
- DejaGnu.fail("Socket::readMultiByte() method doesn't exist");
- }
- if (x1.readObject == *) {
- DejaGnu.pass("Socket::readObject() method exists");
- } else {
- DejaGnu.fail("Socket::readObject() method doesn't exist");
- }
- if (x1.readShort == 0) {
- DejaGnu.pass("Socket::readShort() method exists");
- } else {
- DejaGnu.fail("Socket::readShort() method doesn't exist");
- }
- if (x1.readUnsignedByte == 0) {
- DejaGnu.pass("Socket::readUnsignedByte() method exists");
- } else {
- DejaGnu.fail("Socket::readUnsignedByte() method doesn't exist");
- }
- if (x1.readUnsignedInt == 0) {
- DejaGnu.pass("Socket::readUnsignedInt() method exists");
- } else {
- DejaGnu.fail("Socket::readUnsignedInt() method doesn't exist");
- }
- if (x1.readUnsignedShort == 0) {
- DejaGnu.pass("Socket::readUnsignedShort() method exists");
- } else {
- DejaGnu.fail("Socket::readUnsignedShort() method doesn't exist");
- }
+// FIXME: this all return VOID, so nothing at all
+// if (x1.readBoolean == false) {
+// DejaGnu.pass("Socket::readBoolean() method exists");
+// } else {
+// DejaGnu.fail("Socket::readBoolean() method doesn't exist");
+// }
+// if (x1.readByte == 0) {
+// DejaGnu.pass("Socket::readByte() method exists");
+// } else {
+// DejaGnu.fail("Socket::readByte() method doesn't exist");
+// }
+// if (x1.readBytes == null) {
+// DejaGnu.pass("Socket::readBytes() method exists");
+// } else {
+// DejaGnu.fail("Socket::readBytes() method doesn't exist");
+// }
+// if (x1.readDouble == 0) {
+// DejaGnu.pass("Socket::readDouble() method exists");
+// } else {
+// DejaGnu.fail("Socket::readDouble() method doesn't exist");
+// }
+// if (x1.readFloat == 0) {
+// DejaGnu.pass("Socket::readFloat() method exists");
+// } else {
+// DejaGnu.fail("Socket::readFloat() method doesn't exist");
+// }
+// if (x1.readInt == 0) {
+// DejaGnu.pass("Socket::readInt() method exists");
+// } else {
+// DejaGnu.fail("Socket::readInt() method doesn't exist");
+// }
+// if (x1.readMultiByte == null) {
+// DejaGnu.pass("Socket::readMultiByte() method exists");
+// } else {
+// DejaGnu.fail("Socket::readMultiByte() method doesn't exist");
+// }
+// if (x1.readObject == 0) {
+// DejaGnu.pass("Socket::readObject() method exists");
+// } else {
+// DejaGnu.fail("Socket::readObject() method doesn't exist");
+// }
+// if (x1.readShort == 0) {
+// DejaGnu.pass("Socket::readShort() method exists");
+// } else {
+// DejaGnu.fail("Socket::readShort() method doesn't exist");
+// }
+// if (x1.readUnsignedByte == 0) {
+// DejaGnu.pass("Socket::readUnsignedByte() method exists");
+// } else {
+// DejaGnu.fail("Socket::readUnsignedByte() method doesn't exist");
+// }
+// if (x1.readUnsignedInt == 0) {
+// DejaGnu.pass("Socket::readUnsignedInt() method exists");
+// } else {
+// DejaGnu.fail("Socket::readUnsignedInt() method doesn't exist");
+// }
+// if (x1.readUnsignedShort == 0) {
+// DejaGnu.pass("Socket::readUnsignedShort() method exists");
+// } else {
+// DejaGnu.fail("Socket::readUnsignedShort() method doesn't exist");
+// }
if (x1.readUTF == null) {
DejaGnu.pass("Socket::readUTF() method exists");
} else {
@@ -224,3 +225,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/URLLoaderDataFormat_as3.hx'
--- a/testsuite/as3/classes.all/net/URLLoaderDataFormat_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/URLLoaderDataFormat_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// URLLoaderDataFormat_as3.hx: ActionScript 3 "URLLoaderDataFormat" class,
for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,49 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.URLLoaderDataFormat;
import flash.display.MovieClip;
+#else
+import flash.URLLoaderDataFormat;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_URLLoaderDataFormat {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class URLLoaderDataFormat_as3 {
static function main() {
- var x1:URLLoaderDataFormat = new URLLoaderDataFormat();
// Make sure we actually get a valid class
- if (x1 != null) {
- DejaGnu.pass("URLLoaderDataFormat class exists");
- } else {
- DejaGnu.fail("URLLoaderDataFormat lass doesn't exist");
- }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
+ if (URLLoaderDataFormat.BINARY != null) {
+ DejaGnu.pass("URLLoaderDataFormat.BINARY constant exists");
+ } else {
+ DejaGnu.fail("URLLoaderDataFormat.BINARY constant doesn't exist");
+ }
+
+ if (URLLoaderDataFormat.TEXT != null) {
+ DejaGnu.pass("URLLoaderDataFormat.TEXT constant exists");
+ } else {
+ DejaGnu.fail("URLLoaderDataFormat.TEXT constant doesn't exist");
+ }
+
+ if (URLLoaderDataFormat.VARIABLES != null) {
+ DejaGnu.pass("URLLoaderDataFormat.VARIABLES constant exists");
+ } else {
+ DejaGnu.fail("URLLoaderDataFormat.VARIABLES constant doesn't
exist");
+ }
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/URLLoader_as3.hx'
--- a/testsuite/as3/classes.all/net/URLLoader_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/URLLoader_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// URLLoader_as3.hx: ActionScript 3 "URLLoader" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.URLLoader;
import flash.display.MovieClip;
+#else
+import flash.URLLoader;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_URLLoader {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class URLLoader_as3 {
static function main() {
var x1:URLLoader = new URLLoader();
@@ -40,40 +45,40 @@
if (x1 != null) {
DejaGnu.pass("URLLoader class exists");
} else {
- DejaGnu.fail("URLLoader lass doesn't exist");
+ DejaGnu.fail("URLLoader 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
// is primarily useful only to test completeness of the API implementation.
- if (x1.bytesLoaded == uint) {
- DejaGnu.pass("URLLoader::bytesLoaded property exists");
- } else {
- DejaGnu.fail("URLLoader::bytesLoaded property doesn't exist");
- }
- if (x1.bytesTotal == uint) {
- DejaGnu.pass("URLLoader::bytesTotal property exists");
- } else {
- DejaGnu.fail("URLLoader::bytesTotal property doesn't exist");
- }
- if (x1.data == *) {
- DejaGnu.pass("URLLoader::data property exists");
- } else {
- DejaGnu.fail("URLLoader::data property doesn't exist");
+ if (x1.bytesLoaded == 0) {
+ DejaGnu.pass("URLLoader.bytesLoaded property exists");
+ } else {
+ DejaGnu.fail("URLLoader.bytesLoaded property doesn't exist");
+ }
+ if (x1.bytesTotal == 0) {
+ DejaGnu.pass("URLLoader.bytesTotal property exists");
+ } else {
+ DejaGnu.fail("URLLoader.bytesTotal property doesn't exist");
+ }
+ if (x1.data == 0) {
+ DejaGnu.pass("URLLoader.data property exists");
+ } else {
+ DejaGnu.fail("URLLoader.data property doesn't exist");
}
if (x1.dataFormat == null) {
- DejaGnu.pass("URLLoader::dataFormat property exists");
+ DejaGnu.pass("URLLoader.dataFormat property exists");
} else {
- DejaGnu.fail("URLLoader::dataFormat property doesn't exist");
+ DejaGnu.fail("URLLoader.dataFormat property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.URLLoader == URLRequest) {
- DejaGnu.pass("URLLoader::URLLoader() method exists");
- } else {
- DejaGnu.fail("URLLoader::URLLoader() method doesn't exist");
- }
+// if (x1.URLLoader == URLRequest) {
+// DejaGnu.pass("URLLoader::URLLoader() method exists");
+// } else {
+// DejaGnu.fail("URLLoader::URLLoader() method doesn't exist");
+// }
if (x1.addEventListener == null) {
DejaGnu.pass("URLLoader::addEventListener() method exists");
} else {
@@ -94,3 +99,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/URLRequestDefaults_as3.hx'
--- a/testsuite/as3/classes.all/net/URLRequestDefaults_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/URLRequestDefaults_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// URLRequestDefaults_as3.hx: ActionScript 3 "URLRequestDefaults" class, for
Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.URLRequestDefaults;
import flash.display.MovieClip;
+#else
+import flash.URLRequestDefaults;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_URLRequestDefaults {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class URLRequestDefaults_as3 {
static function main() {
var x1:URLRequestDefaults = new URLRequestDefaults();
@@ -40,46 +45,46 @@
if (x1 != null) {
DejaGnu.pass("URLRequestDefaults class exists");
} else {
- DejaGnu.fail("URLRequestDefaults lass doesn't exist");
+ DejaGnu.fail("URLRequestDefaults 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
// is primarily useful only to test completeness of the API implementation.
if (x1.authenticate == false) {
- DejaGnu.pass("URLRequestDefaults::authenticate property exists");
+ DejaGnu.pass("URLRequestDefaults.authenticate property exists");
} else {
- DejaGnu.fail("URLRequestDefaults::authenticate property doesn't
exist");
+ DejaGnu.fail("URLRequestDefaults.authenticate property doesn't
exist");
}
if (x1.cacheResponse == false) {
- DejaGnu.pass("URLRequestDefaults::cacheResponse property exists");
+ DejaGnu.pass("URLRequestDefaults.cacheResponse property exists");
} else {
- DejaGnu.fail("URLRequestDefaults::cacheResponse property doesn't
exist");
+ DejaGnu.fail("URLRequestDefaults.cacheResponse property doesn't
exist");
}
if (x1.followRedirects == false) {
- DejaGnu.pass("URLRequestDefaults::followRedirects property exists");
+ DejaGnu.pass("URLRequestDefaults.followRedirects property exists");
} else {
- DejaGnu.fail("URLRequestDefaults::followRedirects property doesn't
exist");
+ DejaGnu.fail("URLRequestDefaults.followRedirects property doesn't
exist");
}
if (x1.manageCookies == false) {
- DejaGnu.pass("URLRequestDefaults::manageCookies property exists");
+ DejaGnu.pass("URLRequestDefaults.manageCookies property exists");
} else {
- DejaGnu.fail("URLRequestDefaults::manageCookies property doesn't
exist");
+ DejaGnu.fail("URLRequestDefaults.manageCookies property doesn't
exist");
}
if (x1.useCache == false) {
- DejaGnu.pass("URLRequestDefaults::useCache property exists");
+ DejaGnu.pass("URLRequestDefaults.useCache property exists");
} else {
- DejaGnu.fail("URLRequestDefaults::useCache property doesn't exist");
+ DejaGnu.fail("URLRequestDefaults.useCache property doesn't exist");
}
if (x1.userAgent == null) {
- DejaGnu.pass("URLRequestDefaults::userAgent property exists");
+ DejaGnu.pass("URLRequestDefaults.userAgent property exists");
} else {
- DejaGnu.fail("URLRequestDefaults::userAgent property doesn't
exist");
+ DejaGnu.fail("URLRequestDefaults.userAgent property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.setLoginCredentialsForHost == *) {
+ if (x1.setLoginCredentialsForHost == 0) {
DejaGnu.pass("URLRequestDefaults::setLoginCredentialsForHost()
method exists");
} else {
DejaGnu.fail("URLRequestDefaults::setLoginCredentialsForHost()
method doesn't exist");
@@ -89,3 +94,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/URLRequestHeader_as3.hx'
--- a/testsuite/as3/classes.all/net/URLRequestHeader_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/URLRequestHeader_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// URLRequestHeader_as3.hx: ActionScript 3 "URLRequestHeader" class, for
Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.URLRequestHeader;
import flash.display.MovieClip;
+#else
+import flash.URLRequestHeader;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_URLRequestHeader {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class URLRequestHeader_as3 {
static function main() {
var x1:URLRequestHeader = new URLRequestHeader();
@@ -40,32 +45,29 @@
if (x1 != null) {
DejaGnu.pass("URLRequestHeader class exists");
} else {
- DejaGnu.fail("URLRequestHeader lass doesn't exist");
+ DejaGnu.fail("URLRequestHeader 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
// is primarily useful only to test completeness of the API implementation.
if (x1.name == null) {
- DejaGnu.pass("URLRequestHeader::name property exists");
+ DejaGnu.pass("URLRequestHeader.name property exists");
} else {
- DejaGnu.fail("URLRequestHeader::name property doesn't exist");
+ DejaGnu.fail("URLRequestHeader.name property doesn't exist");
}
if (x1.value == null) {
- DejaGnu.pass("URLRequestHeader::value property exists");
- } else {
- DejaGnu.fail("URLRequestHeader::value property doesn't exist");
- }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
- if (x1.URLRequestHeader == null) {
- DejaGnu.pass("URLRequestHeader::URLRequestHeader() method exists");
- } else {
- DejaGnu.fail("URLRequestHeader::URLRequestHeader() method doesn't
exist");
+ DejaGnu.pass("URLRequestHeader.value property exists");
+ } else {
+ DejaGnu.fail("URLRequestHeader.value property doesn't exist");
}
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/URLRequestMethod_as3.hx'
--- a/testsuite/as3/classes.all/net/URLRequestMethod_as3.hx 2009-05-03
15:49:20 +0000
+++ b/testsuite/as3/classes.all/net/URLRequestMethod_as3.hx 2009-05-15
04:17:26 +0000
@@ -1,6 +1,6 @@
// URLRequestMethod_as3.hx: ActionScript 3 "URLRequestMethod" class, for
Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,31 +23,68 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.URLRequestMethod;
import flash.display.MovieClip;
+#else
+import flash.URLRequestMethod;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_URLRequestMethod {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class URLRequestMethod_as3 {
static function main() {
- var x1:URLRequestMethod = new URLRequestMethod();
-
- // Make sure we actually get a valid class
- if (x1 != null) {
- DejaGnu.pass("URLRequestMethod class exists");
- } else {
- DejaGnu.fail("URLRequestMethod lass doesn't exist");
- }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
+
+ // Make sure we actually get a valid class
+// FIXME: commented out constants are all AIR only
+// if (URLRequestMethod.DELETE != null) {
+// DejaGnu.pass("URLRequestMethod.DELETE constant exists");
+// } else {
+// DejaGnu.fail("URLRequestMethod.DELETE constant doesn't exist");
+// }
+
+ if (URLRequestMethod.GET != null) {
+ DejaGnu.pass("URLRequestMethod.GET constant exists");
+ } else {
+ DejaGnu.fail("URLRequestMethod.GET constant doesn't exist");
+ }
+
+// if (URLRequestMethod.HEAD != null) {
+// DejaGnu.pass("URLRequestMethod.HEAD constant exists");
+// } else {
+// DejaGnu.fail("URLRequestMethod.HEAD constant doesn't exist");
+// }
+
+// if (URLRequestMethod.OPTIONS != null) {
+// DejaGnu.pass("URLRequestMethod.OPTIONS constant exists");
+// } else {
+// DejaGnu.fail("URLRequestMethod.OPTIONS constant doesn't exist");
+// }
+
+ if (URLRequestMethod.POST != null) {
+ DejaGnu.pass("URLRequestMethod.POST constant exists");
+ } else {
+ DejaGnu.fail("URLRequestMethod.POST constant doesn't exist");
+ }
+
+// if (URLRequestMethod.PUT != null) {
+// DejaGnu.pass("URLRequestMethod.PUT constant exists");
+// } else {
+// DejaGnu.fail("URLRequestMethod.PUT constant doesn't exist");
+// }
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/URLRequest_as3.hx'
--- a/testsuite/as3/classes.all/net/URLRequest_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/URLRequest_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// URLRequest_as3.hx: ActionScript 3 "URLRequest" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.URLRequest;
import flash.display.MovieClip;
+#else
+import flash.URLRequest;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_URLRequest {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class URLRequest_as3 {
static function main() {
var x1:URLRequest = new URLRequest();
@@ -40,82 +45,82 @@
if (x1 != null) {
DejaGnu.pass("URLRequest class exists");
} else {
- DejaGnu.fail("URLRequest lass doesn't exist");
+ DejaGnu.fail("URLRequest 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
// is primarily useful only to test completeness of the API implementation.
- if (x1.authenticate == false) {
- DejaGnu.pass("URLRequest::authenticate property exists");
- } else {
- DejaGnu.fail("URLRequest::authenticate property doesn't exist");
- }
- if (x1.cacheResponse == false) {
- DejaGnu.pass("URLRequest::cacheResponse property exists");
- } else {
- DejaGnu.fail("URLRequest::cacheResponse property doesn't exist");
- }
+
+// FIXME: commented out constants are all AIR only
+ // if (x1.authenticate == false) {
+// DejaGnu.pass("URLRequest.authenticate property exists");
+// } else {
+// DejaGnu.fail("URLRequest.authenticate property doesn't exist");
+// }
+// if (x1.cacheResponse == false) {
+// DejaGnu.pass("URLRequest.cacheResponse property exists");
+// } else {
+// DejaGnu.fail("URLRequest.cacheResponse property doesn't exist");
+// }
if (x1.contentType == null) {
- DejaGnu.pass("URLRequest::contentType property exists");
- } else {
- DejaGnu.fail("URLRequest::contentType property doesn't exist");
- }
- if (x1.data == Object) {
- DejaGnu.pass("URLRequest::data property exists");
- } else {
- DejaGnu.fail("URLRequest::data property doesn't exist");
- }
+ DejaGnu.pass("URLRequest.contentType property exists");
+ } else {
+ DejaGnu.fail("URLRequest.contentType property doesn't exist");
+ }
+// if (x1.data == Object) {
+// DejaGnu.pass("URLRequest.data property exists");
+// } else {
+// DejaGnu.fail("URLRequest.data property doesn't exist");
+// }
if (x1.digest == null) {
- DejaGnu.pass("URLRequest::digest property exists");
- } else {
- DejaGnu.fail("URLRequest::digest property doesn't exist");
- }
- if (x1.followRedirects == false) {
- DejaGnu.pass("URLRequest::followRedirects property exists");
- } else {
- DejaGnu.fail("URLRequest::followRedirects property doesn't exist");
- }
- if (x1.manageCookies == false) {
- DejaGnu.pass("URLRequest::manageCookies property exists");
- } else {
- DejaGnu.fail("URLRequest::manageCookies property doesn't exist");
- }
+ DejaGnu.pass("URLRequest.digest property exists");
+ } else {
+ DejaGnu.fail("URLRequest.digest property doesn't exist");
+ }
+// if (x1.followRedirects == false) {
+// DejaGnu.pass("URLRequest.followRedirects property exists");
+// } else {
+// DejaGnu.fail("URLRequest.followRedirects property doesn't exist");
+// }
+// if (x1.manageCookies == false) {
+// DejaGnu.pass("URLRequest.manageCookies property exists");
+// } else {
+// DejaGnu.fail("URLRequest.manageCookies property doesn't exist");
+// }
if (x1.method == null) {
- DejaGnu.pass("URLRequest::method property exists");
- } else {
- DejaGnu.fail("URLRequest::method property doesn't exist");
- }
- if (x1.requestHeaders == 0) {
- DejaGnu.pass("URLRequest::requestHeaders property exists");
- } else {
- DejaGnu.fail("URLRequest::requestHeaders property doesn't exist");
- }
+ DejaGnu.pass("URLRequest.method property exists");
+ } else {
+ DejaGnu.fail("URLRequest.method property doesn't exist");
+ }
+// FIXME: returns an array
+// if (x1.requestHeaders == 0) {
+// DejaGnu.pass("URLRequest.requestHeaders property exists");
+// } else {
+// DejaGnu.fail("URLRequest.requestHeaders property doesn't exist");
+// }
if (x1.url == null) {
- DejaGnu.pass("URLRequest::url property exists");
- } else {
- DejaGnu.fail("URLRequest::url property doesn't exist");
- }
- if (x1.useCache == false) {
- DejaGnu.pass("URLRequest::useCache property exists");
- } else {
- DejaGnu.fail("URLRequest::useCache property doesn't exist");
- }
- if (x1.userAgent == null) {
- DejaGnu.pass("URLRequest::userAgent property exists");
- } else {
- DejaGnu.fail("URLRequest::userAgent property doesn't exist");
- }
-
-// Tests to see if all the methods exist. All these do is test for
-// existance of a method, and don't test the functionality at all. This
-// is primarily useful only to test completeness of the API implementation.
- if (x1.URLRequest == null) {
- DejaGnu.pass("URLRequest::URLRequest() method exists");
- } else {
- DejaGnu.fail("URLRequest::URLRequest() method doesn't exist");
- }
+ DejaGnu.pass("URLRequest.url property exists");
+ } else {
+ DejaGnu.fail("URLRequest.url property doesn't exist");
+ }
+// if (x1.useCache == false) {
+// DejaGnu.pass("URLRequest.useCache property exists");
+// } else {
+// DejaGnu.fail("URLRequest.useCache property doesn't exist");
+// }
+// if (x1.userAgent == null) {
+// DejaGnu.pass("URLRequest.userAgent property exists");
+// } else {
+// DejaGnu.fail("URLRequest.userAgent property doesn't exist");
+// }
// Call this after finishing all tests. It prints out the totals.
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/URLStream_as3.hx'
--- a/testsuite/as3/classes.all/net/URLStream_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/URLStream_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// URLStream_as3.hx: ActionScript 3 "URLStream" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.URLStream;
import flash.display.MovieClip;
+#else
+import flash.URLStream;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_URLStream {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class URLStream_as3 {
static function main() {
var x1:URLStream = new URLStream();
@@ -40,30 +45,30 @@
if (x1 != null) {
DejaGnu.pass("URLStream class exists");
} else {
- DejaGnu.fail("URLStream lass doesn't exist");
+ DejaGnu.fail("URLStream 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
// is primarily useful only to test completeness of the API implementation.
- if (x1.bytesAvailable == uint) {
- DejaGnu.pass("URLStream::bytesAvailable property exists");
+ if (x1.bytesAvailable == 0) {
+ DejaGnu.pass("URLStream.bytesAvailable property exists");
} else {
- DejaGnu.fail("URLStream::bytesAvailable property doesn't exist");
+ DejaGnu.fail("URLStream.bytesAvailable property doesn't exist");
}
if (x1.connected == false) {
- DejaGnu.pass("URLStream::connected property exists");
+ DejaGnu.pass("URLStream.connected property exists");
} else {
- DejaGnu.fail("URLStream::connected property doesn't exist");
+ DejaGnu.fail("URLStream.connected property doesn't exist");
}
if (x1.endian == null) {
- DejaGnu.pass("URLStream::endian property exists");
+ DejaGnu.pass("URLStream.endian property exists");
} else {
- DejaGnu.fail("URLStream::endian property doesn't exist");
+ DejaGnu.fail("URLStream.endian property doesn't exist");
}
- if (x1.objectEncoding == uint) {
- DejaGnu.pass("URLStream::objectEncoding property exists");
+ if (x1.objectEncoding == 0) {
+ DejaGnu.pass("URLStream.objectEncoding property exists");
} else {
- DejaGnu.fail("URLStream::objectEncoding property doesn't exist");
+ DejaGnu.fail("URLStream.objectEncoding property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
@@ -79,66 +84,67 @@
} else {
DejaGnu.fail("URLStream::load() method doesn't exist");
}
- if (x1.readBoolean == false) {
- DejaGnu.pass("URLStream::readBoolean() method exists");
- } else {
- DejaGnu.fail("URLStream::readBoolean() method doesn't exist");
- }
- if (x1.readByte == 0) {
- DejaGnu.pass("URLStream::readByte() method exists");
- } else {
- DejaGnu.fail("URLStream::readByte() method doesn't exist");
- }
- if (x1.readBytes == null) {
- DejaGnu.pass("URLStream::readBytes() method exists");
- } else {
- DejaGnu.fail("URLStream::readBytes() method doesn't exist");
- }
- if (x1.readDouble == 0) {
- DejaGnu.pass("URLStream::readDouble() method exists");
- } else {
- DejaGnu.fail("URLStream::readDouble() method doesn't exist");
- }
- if (x1.readFloat == 0) {
- DejaGnu.pass("URLStream::readFloat() method exists");
- } else {
- DejaGnu.fail("URLStream::readFloat() method doesn't exist");
- }
- if (x1.readInt == 0) {
- DejaGnu.pass("URLStream::readInt() method exists");
- } else {
- DejaGnu.fail("URLStream::readInt() method doesn't exist");
- }
- if (x1.readMultiByte == null) {
- DejaGnu.pass("URLStream::readMultiByte() method exists");
- } else {
- DejaGnu.fail("URLStream::readMultiByte() method doesn't exist");
- }
- if (x1.readObject == *) {
- DejaGnu.pass("URLStream::readObject() method exists");
- } else {
- DejaGnu.fail("URLStream::readObject() method doesn't exist");
- }
- if (x1.readShort == 0) {
- DejaGnu.pass("URLStream::readShort() method exists");
- } else {
- DejaGnu.fail("URLStream::readShort() method doesn't exist");
- }
- if (x1.readUnsignedByte == 0) {
- DejaGnu.pass("URLStream::readUnsignedByte() method exists");
- } else {
- DejaGnu.fail("URLStream::readUnsignedByte() method doesn't exist");
- }
- if (x1.readUnsignedInt == 0) {
- DejaGnu.pass("URLStream::readUnsignedInt() method exists");
- } else {
- DejaGnu.fail("URLStream::readUnsignedInt() method doesn't exist");
- }
- if (x1.readUnsignedShort == 0) {
- DejaGnu.pass("URLStream::readUnsignedShort() method exists");
- } else {
- DejaGnu.fail("URLStream::readUnsignedShort() method doesn't exist");
- }
+// FIXME: these all return void
+// if (x1.readBoolean == false) {
+// DejaGnu.pass("URLStream::readBoolean() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readBoolean() method doesn't exist");
+// }
+// if (x1.readByte == 0) {
+// DejaGnu.pass("URLStream::readByte() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readByte() method doesn't exist");
+// }
+// if (x1.readBytes == null) {
+// DejaGnu.pass("URLStream::readBytes() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readBytes() method doesn't exist");
+// }
+// if (x1.readDouble == 0) {
+// DejaGnu.pass("URLStream::readDouble() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readDouble() method doesn't exist");
+// }
+// if (x1.readFloat == 0) {
+// DejaGnu.pass("URLStream::readFloat() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readFloat() method doesn't exist");
+// }
+// if (x1.readInt == 0) {
+// DejaGnu.pass("URLStream::readInt() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readInt() method doesn't exist");
+// }
+// if (x1.readMultiByte == null) {
+// DejaGnu.pass("URLStream::readMultiByte() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readMultiByte() method doesn't exist");
+// }
+// if (x1.readObject == 0) {
+// DejaGnu.pass("URLStream::readObject() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readObject() method doesn't exist");
+// }
+// if (x1.readShort == 0) {
+// DejaGnu.pass("URLStream::readShort() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readShort() method doesn't exist");
+// }
+// if (x1.readUnsignedByte == 0) {
+// DejaGnu.pass("URLStream::readUnsignedByte() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readUnsignedByte() method doesn't exist");
+// }
+// if (x1.readUnsignedInt == 0) {
+// DejaGnu.pass("URLStream::readUnsignedInt() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readUnsignedInt() method doesn't exist");
+// }
+// if (x1.readUnsignedShort == 0) {
+// DejaGnu.pass("URLStream::readUnsignedShort() method exists");
+// } else {
+// DejaGnu.fail("URLStream::readUnsignedShort() method doesn't exist");
+// }
if (x1.readUTF == null) {
DejaGnu.pass("URLStream::readUTF() method exists");
} else {
@@ -154,3 +160,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/URLVariables_as3.hx'
--- a/testsuite/as3/classes.all/net/URLVariables_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/URLVariables_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// URLVariables_as3.hx: ActionScript 3 "URLVariables" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.URLVariables;
import flash.display.MovieClip;
+#else
+import flash.URLVariables;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_URLVariables {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class URLVariables_as3 {
static function main() {
var x1:URLVariables = new URLVariables();
@@ -40,7 +45,7 @@
if (x1 != null) {
DejaGnu.pass("URLVariables class exists");
} else {
- DejaGnu.fail("URLVariables lass doesn't exist");
+ DejaGnu.fail("URLVariables class doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
@@ -51,3 +56,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== modified file 'testsuite/as3/classes.all/net/XMLSocket_as3.hx'
--- a/testsuite/as3/classes.all/net/XMLSocket_as3.hx 2009-05-03 15:49:20
+0000
+++ b/testsuite/as3/classes.all/net/XMLSocket_as3.hx 2009-05-15 04:17:26
+0000
@@ -1,6 +1,6 @@
// XMLSocket_as3.hx: ActionScript 3 "XMLSocket" class, for Gnash.
//
-// Generated by gen-as3.sh on: 20090503 by "rob". Remove this
+// Generated by gen-as3.sh on: 20090514 by "rob". Remove this
// after any hand editing loosing changes.
//
// Copyright (C) 2009 Free Software Foundation, Inc.
@@ -23,16 +23,21 @@
// This test case must be processed by CPP before compiling to include the
// DejaGnu.hx header file for the testing framework support.
-#include "DejaGnu.hx"
-
+#if flash9
import flash.net.XMLSocket;
import flash.display.MovieClip;
+#else
+import flash.XMLSocket;
+import flash.MovieClip;
+#end
import flash.Lib;
import Type;
-// Class must be named with the PP prefix, as that's the name the
-// file passed to haxe will have after the preprocessing step
-class PP_XMLSocket {
+// import our testing API
+import DejaGnu;
+
+// Class must be named with the _as3 suffix, as that's the same name as the
file.
+class XMLSocket_as3 {
static function main() {
var x1:XMLSocket = new XMLSocket();
@@ -40,25 +45,20 @@
if (x1 != null) {
DejaGnu.pass("XMLSocket class exists");
} else {
- DejaGnu.fail("XMLSocket lass doesn't exist");
+ DejaGnu.fail("XMLSocket 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
// is primarily useful only to test completeness of the API implementation.
if (x1.connected == false) {
- DejaGnu.pass("XMLSocket::connected property exists");
+ DejaGnu.pass("XMLSocket.connected property exists");
} else {
- DejaGnu.fail("XMLSocket::connected property doesn't exist");
+ DejaGnu.fail("XMLSocket.connected property doesn't exist");
}
// Tests to see if all the methods exist. All these do is test for
// existance of a method, and don't test the functionality at all. This
// is primarily useful only to test completeness of the API implementation.
- if (x1.XMLSocket == 0) {
- DejaGnu.pass("XMLSocket::XMLSocket() method exists");
- } else {
- DejaGnu.fail("XMLSocket::XMLSocket() method doesn't exist");
- }
if (x1.close == null) {
DejaGnu.pass("XMLSocket::close() method exists");
} else {
@@ -79,3 +79,9 @@
DejaGnu.done();
}
}
+
+// local Variables:
+// mode: C++
+// indent-tabs-mode: t
+// End:
+
=== added file 'testsuite/as3/classes.all/net/net.am'
--- a/testsuite/as3/classes.all/net/net.am 1970-01-01 00:00:00 +0000
+++ b/testsuite/as3/classes.all/net/net.am 2009-05-15 04:17:26 +0000
@@ -0,0 +1,114 @@
+## Process this file with automake to generate Makefile.in
+#
+# Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+NETdir = $(srcdir)/net
+
+#AM_CPPFLAGS += -I$(NETdir)
+
+NET_TESTS =
+
+if BUILD_FILEFILTER_AS3
+NET_TESTS += net/FileFilter_as3.swf
+endif
+
+if BUILD_FILEREFERENCELIST_AS3
+NET_TESTS += net/FileReferenceList_as3.swf
+endif
+
+if BUILD_FILEREFERENCE_AS3
+NET_TESTS += net/FileReference_as3.swf
+endif
+
+if BUILD_IDYNAMICPROPERTYOUTPUT_AS3
+NET_TESTS += net/IDynamicPropertyOutput_as3.swf
+endif
+
+if BUILD_IDYNAMICPROPERTYWRITER_AS3
+NET_TESTS += net/IDynamicPropertyWriter_as3.swf
+endif
+
+if BUILD_LOCALCONNECTION_AS3
+NET_TESTS += net/LocalConnection_as3.swf
+endif
+
+if BUILD_NETCONNECTION_AS3
+NET_TESTS += net/NetConnection_as3.swf
+endif
+
+if BUILD_NETSTREAM_AS3
+NET_TESTS += net/NetStream_as3.swf
+endif
+
+if BUILD_OBJECTENCODING_AS3
+NET_TESTS += net/ObjectEncoding_as3.swf
+endif
+
+if BUILD_RESPONDER_AS3
+NET_TESTS += net/Responder_as3.swf
+endif
+
+if BUILD_SHAREDOBJECTFLUSHSTATUS_AS3
+NET_TESTS += net/SharedObjectFlushStatus_as3.swf
+endif
+
+if BUILD_SHAREDOBJECT_AS3
+NET_TESTS += net/SharedObject_as3.swf
+endif
+
+if BUILD_SOCKET_AS3
+NET_TESTS += net/Socket_as3.swf
+endif
+
+if BUILD_URLLOADERDATAFORMAT_AS3
+NET_TESTS += net/URLLoaderDataFormat_as3.swf
+endif
+
+if BUILD_URLLOADER_AS3
+NET_TESTS += net/URLLoader_as3.swf
+endif
+
+# AIR only
+# if BUILD_URLREQUESTDEFAULTS_AS3
+# NET_TESTS += net/URLRequestDefaults_as3.swf
+# endif
+
+if BUILD_URLREQUESTHEADER_AS3
+NET_TESTS += net/URLRequestHeader_as3.swf
+endif
+
+if BUILD_URLREQUESTMETHOD_AS3
+NET_TESTS += net/URLRequestMethod_as3.swf
+endif
+
+if BUILD_URLREQUEST_AS3
+NET_TESTS += net/URLRequest_as3.swf
+endif
+
+if BUILD_URLSTREAM_AS3
+NET_TESTS += net/URLStream_as3.swf
+endif
+
+if BUILD_URLVARIABLES_AS3
+NET_TESTS += net/URLVariables_as3.swf
+endif
+
+if BUILD_XMLSOCKET_AS3
+NET_TESTS += net/XMLSocket_as3.swf
+endif
+
+check_SCRIPTS += $(NET_TESTS)
+HAXE_FLAGS += -cp $(NETdir)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/avm2 r9731: make flash.net testcases build.,
rob <=