         /**
          * @see asunit.framework.TestListener#addError(Test, Throwable)
          */
-        public function addError(test:Test, t:Error):void {
+        public function addError(test:Object, t:Error):void {
             print("E");
         }
 
         /**
          * @see asunit.framework.TestListener#addFailure(Test, AssertionFailedError)
          */
-        public function addFailure(test:Test, t:AssertionFailedError):void {
+        public function addFailure(test:Object, t:AssertionFailedError):void {
             print("F");
         }
 
         /**
          * @see asunit.framework.TestListener#endTestMethod(test, testMethod);
          */
-        public function startTestMethod(test:Test, methodName:String):void {
+        public function startTestMethod(test:Object, methodName:String):void {
         }
 
         /**
          * @see asunit.framework.TestListener#endTestMethod(test, testMethod);
          */
-        public function endTestMethod(test:Test, methodName:String):void {
+        public function endTestMethod(test:Object, methodName:String):void {
         }
 
         /**
          * @see asunit.framework.TestListener#startTest(Test)
          */
-        public function startTest(test:Test):void {
+        public function startTest(test:Object):void {
             startTime = getTimer();
-            var count:uint = test.countTestCases();
+            var count:uint = FreeRunner.countTestMethods(test);
+			
             for(var i:uint; i < count; i++) {
                 print(".");
                 if (fColumn++ >= 80) {

        /**
         * @see asunit.framework.TestListener#endTest(Test)
         */
        public function endTest(test:Test):void {
            var duration:Number = getTimer() - startTime;
            testTimes.push(TestTime.create(test, duration));
        }

         * API for use by textui.TestRunner
         */

        public function run(test:Object):void {
        }

        public function printResult(result:ITestResult, runTime:Number):void {
