This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rake file sugar for project sprouts | |
# to specify a package to be tested: rake testpackage['packagename'] | |
# you can also use a package name that recurs as a filter: rake testpackage['api'] | |
# if you like, you can be more specific: rake testpackage['somepackage.model'] | |
# to restore all tests: rake testall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.client.application.xendtoendtests { | |
import asunit.framework.TestCase; | |
import applicationShell; | |
import shell.applicationShellSkin; | |
import com.newloop.roboteyes.inViewOf; | |
import com.newloop.roboteyes.core.RobotEyes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.restricted.services { | |
import asunit.framework.TestCase; | |
import org.robotlegs.mvcs.Actor; | |
import mockolate.prepare; | |
import mockolate.nice; | |
import mockolate.stub; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.restricted.controller.commands { | |
import asunit.framework.TestCase; | |
import org.robotlegs.mvcs.Command; | |
import flash.events.Event; | |
import flash.events.IEventDispatcher; | |
import mockolate.prepare; | |
import mockolate.nice; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.restricted.view.overlays { | |
import asunit.framework.TestCase; | |
import org.robotlegs.mvcs.Mediator; | |
import mockolate.prepare; | |
import mockolate.nice; | |
import mockolate.stub; | |
import mockolate.verify; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.display.MovieClip; | |
public class FrameScriptManager extends Object | |
{ | |
private var _targetMC:MovieClip; | |
private var _frameNumbersToFunctionsArray:Array; | |
public function FrameScriptManager(targetMC:MovieClip) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I started to notice that my test count was increasing exponentially. | |
// So I placed a trace in the 'startTest' func of asunit.framework.TestResult (line 120) | |
public function startTest(test:Test):void { | |
var count:int = test.countTestCases(); | |
fRunTests += count; | |
trace("startTest: " + test + " => " + count + " : " + fRunTests); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This causes repeated test running: | |
override public function run():void{ | |
var mockolateMaker:IEventDispatcher = prepare(Sprite); | |
mockolateMaker.addEventListener(Event.COMPLETE, prepareCompleteHandler, false, 0, true); | |
} | |
private function prepareCompleteHandler(e:Event):void{ | |
super.run(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.newloop.experiments.isnot { | |
public class SomeClassA extends SomeClassB { | |
public function SomeClassA() { | |
} | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AccountDataLoadingService extends AdminDataLoadingService { | |
public function AccountDataLoadingService() | |
{ | |
_loadingDataVOType = AccountDataVO; | |
super(); | |
} | |
override protected function processLoadedData(urlVars:URLVariables):void |
OlderNewer