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 asunit.framework.TestCase; | |
import com.newtriks.restricted.modules.streamingservicemodule.api.signals.NetConnectionSuccessful; | |
import com.newtriks.restricted.shell.api.signals.RecorderError; | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.events.IEventDispatcher; |
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
require "/Users/newtriks/Development/libs/gator-as3/lib/gator/as3/generators/" | |
require "/Users/newtriks/Development/libs/gator-as3/lib/gator/mxml/generators/" | |
require "/Users/newtriks/Development/libs/gator-as3/lib/gator/as3/generators/test/asunit4" | |
require "gator/as3/robotlegs/generators" | |
require "gator/mxml/robotlegs/generators" | |
require "gator/as3/robotlegs/generators/test/asunit4" |
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
require "gator/as3/generators" | |
require "gator/as3/generators/test/asunit4" | |
require "gator/as3/robotlegs/generators" | |
require "gator/as3/robotlegs/generators/test/asunit4" | |
project Gator::Project::ProjectBase.new | |
project.name = "MyProject" | |
project.options[:authors] = ["newtriks"] | |
project.layout[:source,:main,:as3] = "src" | |
project.layout[:source,:test,:as3] = "test" |
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
[Inject] | |
public var async:IAsync; | |
[Before] | |
public function prepareMockolates():void | |
{ | |
var mockolateMaker:IEventDispatcher=prepare(IModuleStore); | |
async.proceedOnEvent(mockolateMaker, Event.COMPLETE, 5000); | |
} |
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
<media:MediaContainer id="mediaContainer" | |
aspectRatio="{VideoBase.WIDE_SCREEN}" | |
verticalCenter="0" | |
horizontalCenter="0" | |
bandwidth="32768" | |
logHandler="{log}" | |
layoutHandler="{resize}"/> |
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
<?xml version="1.0"?> | |
<s:Group xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:fx="http://ns.adobe.com/mxml/2009"> | |
<fx:Metadata> | |
[Event(name='submitSearchEvent',type='flash.events.Event')] | |
</fx:Metadata> | |
<s:layout> | |
<s:HorizontalLayout paddingLeft="10" | |
paddingRight="10" | |
paddingBottom="10" |
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
/** @author: Simon Bailey <simon@newtriks.com> */ | |
package | |
{ | |
import asunit.asserts.assertNotNull; | |
import asunit.asserts.assertSame; | |
import asunit.asserts.assertTrue; | |
import asunit.framework.IAsync; | |
import flash.display.Sprite; | |
import flash.events.Event; |
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 | |
{ | |
[Suite] | |
public class AllTests | |
{ | |
} | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
minWidth="800" | |
minHeight="600" | |
creationComplete="creationCompleteHandler(event)"> | |
<fx:Script> | |
<![CDATA[ | |
import asunit.core.TextCore; |
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
task :default => :list do | |
%x{touch readme.txt} | |
end | |
task :list do | |
@dump=%x{ls} | |
puts "Directory contents: #{@dump}" | |
end |