PlayScriptRedux / playscript

PlayScript is an ActionScript compatible compiler and Flash compatible runtime that runs in the Mono/.NET environment
Other
17 stars 9 forks source link

NUnit Tests for tracking Starling Support #105

Open sushihangover opened 8 years ago

sushihangover commented 8 years ago

Starling v2.0 is in the works:

While Starling v1.3 is currently working, but to upgrade to the current production version (v1.7) and than to support v2.0 upon its release we need Flash framework and compiler compilance tests to avoid customizing the Starling source to match PlayScript's any areas of non-compliance.

So unit tests are needed for the following framework classes:

flash.display.Bitmap;
flash.display.BitmapData;
flash.display.BitmapDataChannel;
flash.display.Loader;
flash.display.LoaderInfo;
flash.display.Shape;
flash.display.Sprite;
flash.display.Stage3D;
flash.display.StageAlign;
flash.display.StageScaleMode;
flash.display3D.Context3D;
flash.display3D.Context3DBlendFactor;
flash.display3D.Context3DCompareMode;
flash.display3D.Context3DMipFilter;
flash.display3D.Context3DProgramType;
flash.display3D.Context3DRenderMode;
flash.display3D.Context3DStencilAction;
flash.display3D.Context3DTextureFilter;
flash.display3D.Context3DTextureFormat;
flash.display3D.Context3DTriangleFace;
flash.display3D.Context3DWrapMode;
flash.display3D.IndexBuffer3D;
flash.display3D.Program3D;
flash.display3D.VertexBuffer3D;
flash.display3D.textures.RectangleTexture;
flash.display3D.textures.TextureBase;
flash.display3D.textures.VideoTexture;
flash.errors.EOFError;
flash.errors.IllegalOperationError;
flash.events.ErrorEvent;
flash.events.Event;
flash.events.EventDispatcher;
flash.events.HTTPStatusEvent;
flash.events.IOErrorEvent;
flash.events.KeyboardEvent;
flash.events.MouseEvent;
flash.events.ProgressEvent;
flash.events.SecurityErrorEvent;
flash.events.TouchEvent;
flash.geom.Matrix3D;
flash.geom.Matrix;
flash.geom.Point;
flash.geom.Rectangle;
flash.geom.Vector3D;
flash.media.Camera;
flash.media.Sound;
flash.media.SoundChannel;
flash.media.SoundTransform;
flash.net.FileReference;
flash.net.NetStream;
flash.net.URLLoader;
flash.net.URLLoaderDataFormat;
flash.net.URLRequest;
flash.system.Capabilities;
flash.system.ImageDecodingPolicy;
flash.system.LoaderContext;
flash.system.System;
flash.text.AntiAliasType;
flash.text.TextField;
flash.text.TextFieldAutoSize;
flash.text.TextFormat;
flash.text.TextFormatAlign;
flash.ui.Mouse;
flash.ui.MouseCursor;
flash.ui.Multitouch;
flash.ui.MultitouchInputMode;
flash.utils.ByteArray;
flash.utils.Dictionary;
flash.utils.Endian;
flash.utils.describeType;
flash.utils.getDefinitionByName;
flash.utils.getQualifiedClassName;
flash.utils.getTimer;
flash.utils.setTimeout;

/Users/sushi/code/github/Starling-Framework/starling/src/starling grep -R "import flash." * | tr -s ' ' | cut -d' ' -f3 | sort -u

sushihangover commented 8 years ago

Added NUnit template to Addin to help test creation

PlayScriptRedux/PlayScript.Addin#12