Packageorg.flexunit.runner.manipulation
Interfacepublic interface ISorter
Implementors OrderArgumentPlusAlphaSorter, OrderArgumentPlusInheritanceSorter, OrderArgumentSorter, Sorter

Sorters should implement this interface.



Public Methods
 MethodDefined By
  
apply(object:Object):void
Sorts the test in runner using compare function.
ISorter
  
Compares its two arguments for order.
ISorter
Method Detail
apply()method
public function apply(object:Object):void

Sorts the test in runner using compare function.

Parameters

object:Object

compare()method 
public function compare(o1:IDescription, o2:IDescription):int

Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

Parameters

o1:IDescriptionIDescription the first object to be compared.
 
o2:IDescriptionIDescription the second object to be compared.

Returns
int — a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.