Permalink
Browse files

TextFieldDriver updates and unit tests

  • Loading branch information...
1 parent e628c0f commit 6626ba98daffbb391f7a4f0022662c6d5482a149 Lindsey Fallow committed Jan 12, 2010
Showing with 3,562 additions and 0 deletions.
  1. BIN assets/skins/roboteyes/roboteyesDemoApp.fla
  2. BIN assets/skins/roboteyes/roboteyesDemoApp.swf
  3. +7 −0 assets/skins/roboteyesDemoAppSkin.as
  4. BIN bin/roboteyesDemoApp-debug.swf
  5. BIN bin/roboteyesDemoAppRunner.swf
  6. +64 −0 lib/asunit3/AsUnit.as
  7. +10 −0 lib/asunit3/asunit/errors/AbstractError.as
  8. +10 −0 lib/asunit3/asunit/errors/AssertionFailedError.as
  9. +10 −0 lib/asunit3/asunit/errors/ClassNotFoundError.as
  10. +10 −0 lib/asunit3/asunit/errors/InstanceNotFoundError.as
  11. +10 −0 lib/asunit3/asunit/errors/UnimplementedFeatureError.as
  12. +417 −0 lib/asunit3/asunit/framework/Assert.as
  13. +60 −0 lib/asunit3/asunit/framework/AsyncOperation.as
  14. +51 −0 lib/asunit3/asunit/framework/AsynchronousHTTPServiceTestCase.as
  15. +161 −0 lib/asunit3/asunit/framework/AsynchronousTestCase.as
  16. +82 −0 lib/asunit3/asunit/framework/AsynchronousTestCaseExample.as
  17. +186 −0 lib/asunit3/asunit/framework/RemotingTestCase.as
  18. +18 −0 lib/asunit3/asunit/framework/Test.as
  19. +487 −0 lib/asunit3/asunit/framework/TestCase.as
  20. +73 −0 lib/asunit3/asunit/framework/TestCaseExample.as
  21. +58 −0 lib/asunit3/asunit/framework/TestFailure.as
  22. +35 −0 lib/asunit3/asunit/framework/TestListener.as
  23. +38 −0 lib/asunit3/asunit/framework/TestMethod.as
  24. +174 −0 lib/asunit3/asunit/framework/TestResult.as
  25. +113 −0 lib/asunit3/asunit/framework/TestSuite.as
  26. +15 −0 lib/asunit3/asunit/runner/BaseTestRunner.as
  27. +9 −0 lib/asunit3/asunit/runner/TestSuiteLoader.as
  28. +11 −0 lib/asunit3/asunit/runner/Version.as
  29. +28 −0 lib/asunit3/asunit/textui/AirRunner.as
  30. +25 −0 lib/asunit3/asunit/textui/FlexRunner.as
  31. +58 −0 lib/asunit3/asunit/textui/FlexTestRunner.as
  32. +298 −0 lib/asunit3/asunit/textui/ResultPrinter.as
  33. +174 −0 lib/asunit3/asunit/textui/TestRunner.as
  34. +68 −0 lib/asunit3/asunit/textui/TestTime.as
  35. +204 −0 lib/asunit3/asunit/textui/XMLResultPrinter.as
  36. +26 −0 lib/asunit3/asunit/util/ArrayIterator.as
  37. +9 −0 lib/asunit3/asunit/util/Iterator.as
  38. +30 −0 lib/asunit3/asunit/util/Properties.as
  39. +142 −0 src/com/newloop/roboteyesdemoapp/TestTextView.as
  40. +68 −0 src/robotEyesDemoApp.as
  41. +15 −0 src/roboteyesDemoAppRunner.as
  42. +26 −0 test/AllTests.as
  43. +32 −0 test/com/newloop/roboteyes/core/RobotEyesTest.as
  44. +35 −0 test/com/newloop/roboteyes/drivers/DisplayObjectDriverListTest.as
  45. +37 −0 test/com/newloop/roboteyes/drivers/DisplayObjectDriverTest.as
  46. +36 −0 test/com/newloop/roboteyes/drivers/InteractiveObjectDriverTest.as
  47. +142 −0 test/com/newloop/roboteyes/drivers/TextFieldDriverTest.as
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
+
+package skins {
+ public class roboteyesDemoAppSkin {
+ [Embed(source="roboteyes/roboteyesDemoApp.swf", symbol="com.newloop.roboteyesdemoapp.TestViewA")]
+ public static var TextTestViewSkin:Class;
+ }
+}
Binary file not shown.
Binary file not shown.
View
@@ -0,0 +1,64 @@
+package {
+ import asunit.errors.AssertionFailedError;
+ import asunit.errors.ClassNotFoundError;
+ import asunit.errors.InstanceNotFoundError;
+ import asunit.errors.UnimplementedFeatureError;
+ import asunit.framework.Assert;
+ import asunit.framework.AsynchronousTestCase;
+ import asunit.framework.AsynchronousTestCaseExample;
+ import asunit.framework.AsyncOperation;
+ import asunit.framework.RemotingTestCase;
+ import asunit.framework.Test;
+ import asunit.framework.TestCase;
+ import asunit.framework.TestCaseExample;
+ import asunit.framework.TestFailure;
+ import asunit.framework.TestListener;
+ import asunit.framework.TestMethod;
+ import asunit.framework.TestResult;
+ import asunit.framework.TestSuite;
+ import asunit.runner.BaseTestRunner;
+ import asunit.runner.TestSuiteLoader;
+ import asunit.runner.Version;
+ import asunit.textui.AirRunner;
+ import asunit.textui.FlexRunner;
+ import asunit.textui.FlexTestRunner;
+ import asunit.textui.ResultPrinter;
+ import asunit.textui.TestRunner;
+ import asunit.textui.XMLResultPrinter;
+ import asunit.util.ArrayIterator;
+ import asunit.util.Iterator;
+ import asunit.util.Properties;
+
+ public class AsUnit {
+ private var assertionFailedError:AssertionFailedError;
+ private var classNotFoundError:ClassNotFoundError;
+ private var instanceNotFoundError:InstanceNotFoundError;
+ private var unimplementedFeatureError:UnimplementedFeatureError;
+ private var assert:Assert;
+ private var asynchronousTestCase:AsynchronousTestCase;
+ private var asynchronousTestCaseExample:AsynchronousTestCaseExample;
+ private var asyncOperation:AsyncOperation;
+ private var remotingTestCase:RemotingTestCase;
+ private var test:Test;
+ private var testCase:TestCase;
+ private var testCaseExample:TestCaseExample;
+ private var testFailure:TestFailure;
+ private var testListener:TestListener;
+ private var testMethod:TestMethod;
+ private var testResult:TestResult;
+ private var testSuite:TestSuite;
+ private var baseTestRunner:BaseTestRunner;
+ private var testSuiteLoader:TestSuiteLoader;
+ private var version:Version;
+ private var airRunner:AirRunner;
+ private var flexRunner:FlexRunner;
+ private var flexTestRunner:FlexTestRunner;
+ private var resultPrinter:ResultPrinter;
+ private var testRunner:TestRunner;
+ private var xMLResultPrinter:XMLResultPrinter;
+ private var arrayIterator:ArrayIterator;
+ private var iterator:Iterator;
+ private var properties:Properties;
+ private var asUnit:AsUnit;
+ }
+}
@@ -0,0 +1,10 @@
+package asunit.errors {
+
+ public class AbstractError extends Error {
+
+ public function AbstractError(message:String) {
+ super(message);
+ name = "AbstractError";
+ }
+ }
+}
@@ -0,0 +1,10 @@
+package asunit.errors {
+
+ public class AssertionFailedError extends Error {
+
+ public function AssertionFailedError(message:String) {
+ super(message);
+ name = "AssertionFailedError";
+ }
+ }
+}
@@ -0,0 +1,10 @@
+package asunit.errors {
+
+ public class ClassNotFoundError extends Error {
+
+ public function ClassNotFoundError(message:String) {
+ super(message);
+ name = "ClassNotFoundError";
+ }
+ }
+}
@@ -0,0 +1,10 @@
+package asunit.errors {
+
+ public class InstanceNotFoundError extends Error {
+
+ public function InstanceNotFoundError(message:String) {
+ super(message);
+ name = "InstanceNotFoundError";
+ }
+ }
+}
@@ -0,0 +1,10 @@
+package asunit.errors {
+
+ public class UnimplementedFeatureError extends Error {
+
+ public function UnimplementedFeatureError(message:String) {
+ super(message);
+ name = "UnimplementedFeatureError";
+ }
+ }
+}
Oops, something went wrong.

0 comments on commit 6626ba9

Please sign in to comment.