Archive for 'flexunit'

Documenting functions and named parameters

Sometime ago someone asked me how I’d pass custom paramaters to event listeners. I don’t remember the exact use case neither who asked me but basically he was asking for something like:
mc.addEventListener(MouseEvent.CLICK, myListener, "myCustomParam", 2);
functoin myListener(event: MouseEvent, custom :String, custom2 : int) : void;
While the exact syntax above would not be possible, closures are in [...]

Assert( Gumbo )

Here are the slides I used during my presentation around testing, FlexUnit4 and RIATest.
This movie requires Flash Player 9

swfobject.embedSWF(“https://share.acrobat.com/adc/flex/mpt.swf”, “swfe5151″, “525″, “400″, “9.0.0″, “”, {ext: “pdf”, docId: “fefe9a1b-c7c1-4c62-9563-7fc215adefd3″, lang: “en_US”}, {wmode: “window”, menu: “false”, quality: “high”, bgcolor: “#FFFFFF”, allowFullScreen: “true”}, {});