Net

From Gnash Project Wiki

Jump to: navigation, search

net namespace

ActionScript Class Test Case Status Notes
FileFilter Completed (Basic) Tests for existence of all methods and properties
FileReferenceList Partially Completed. (NOTE: exists in Flash player v.9 and higher) We need to figure out how to populate the local file array, but close the dialog box so that the tests can be automated.
FileReference Incomplete All tests fail; unable to populate FileReference fields
IDynamicPropertyOutput Incomplete. This is an interface and we don't currently know how to create test cases for these.
IDynamicPropertyWriter Incomplete. This is an interface and we don't currently know how to create test cases for these.
LocalConnection Completed (Basic and ming test) More tests for event handlers; the string staff fixed!

The ming tests have been transferred into haXe. They work for flash v678. In flash9, the return type of connect and send is void. 'rec.connect(undefined)' and 'result = snd.send("lc_test", funcname)' have not been checked. The implementation tests have not been implemented yet.

NetConnection Incomplete (only works for flash v7 & 8) Haxe does not have the following flash media server components implemented: farID, farNonce, maxPeerConnections, nearID, nearNonce, protocol, unconnectedPeerStreams This is a strange one. Flash 9 has new security features that do not allow local tests from localhost. Therefore, this tests basic components from flash7 and 8, but has no support for flash v.9. We will have to figure this one out later (limmer).
NetStream Completed (Basic) Tests for existence of all methods and properties
ObjectEncoding Completed. (NOTE: this is only valid for AS3 -- it converts serialization settings to work with prior versions of flash) This test currently makes sure the three defined constants are correct.
Responder Completed (Basic) Tests for existence of class
SharedObjectFlushStatus Completed Tests for correctness of all constants
SharedObject Complete (Basic) Tests for existence of all methods and properties
Socket Completed (Basic) Tests for existence of all methods and properties (except .bytesAvailable, need valid Socket)
URLLoaderDataFormat Completed. (NOTE: this is new with AS3). This test checks that these values are strings and have the proper constant values.
URLLoader Partially Completed. (NOTE: this is new with AS3) Currently tests that defined methods and properties exist, need to implement a mechanism to check the data field retrieved by the URLLoader (limmer).
URLRequestDefaults Air only Low priority.
URLRequestHeader Completed. (NOTE: this is new with AS3) Currently creates a test case and checks that the type and values don't change.
URLRequestMethod Completed. (NOTE: this is new with AS3) Currently tests that defined constants are correct, except those that apply to AIR only, which is currently unimplemented in haxe.
URLRequest Completed. Completed flash components, AIR components of this class are not implemented in haxe.
URLStream Partially Completed. We cannot implement this fully until we have a server up and running to check this with. The problem is similar to the one we are running into with NetConnect. See that page on the wiki.
URLVariables Completed (Basic) Test for existence of all methods and properties
XMLSocket Completed (Basic) Need to test for dynamic methods supported in early versions of Flash (<9). Migrated all ming tests to haXe,