Packageorg.flexunit.runner.manipulation
Interfacepublic interface IFixtureSorter extends ISorter
Implementors OrderArgumentPlusInheritanceSorter

Implemented by sorters that also wish to customize the sorting experience for fixture elements such as Before and After



Public Methods
 MethodDefined By
 Inherited
apply(object:Object):void
Sorts the test in runner using compare function.
ISorter
 Inherited
Compares its two arguments for order.
ISorter
  
compareFixtureElements(o1:IDescription, o2:IDescription, cache:ISortingInheritanceCache, superFirst:Boolean = true):int
Compares its two arguments for order.
IFixtureSorter
Method Detail
compareFixtureElements()method
public function compareFixtureElements(o1:IDescription, o2:IDescription, cache:ISortingInheritanceCache, superFirst:Boolean = true):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.
 
cache:ISortingInheritanceCache
 
superFirst:Boolean (default = true)

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