Sha256: d947a05409ab4f20d147087c1dc07f4b888b9bc01ab812820ea6d16b655d2738
Contents?: true
Size: 743 Bytes
Versions: 3
Compression:
Stored size: 743 Bytes
Contents
package asunit.support { import asunit.asserts.*; import flash.display.Sprite; public class OrderedTestMethod { public var methodsCalled:Array = []; public function OrderedTestMethod() { } // Method names are chosen to avoid coinciding with alphabetical order. [Test(order=2)] public function two():void { methodsCalled.push(arguments.callee); } [Test(order=3)] public function three():void { methodsCalled.push(arguments.callee); } [Test] public function zeroIsDefaultOrder():void { methodsCalled.push(arguments.callee); } [Test(order=-1)] public function negativeOrderIsAllowed():void { methodsCalled.push(arguments.callee); } } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
asunit4-4.2.3.pre | test/asunit/support/OrderedTestMethod.as |
asunit4-4.2.2.pre | test/asunit/support/OrderedTestMethod.as |
asunit4-4.2.1.pre | test/asunit/support/OrderedTestMethod.as |