Packageorg.flexunit.runner.manipulation
Classpublic class OrderArgumentPlusAlphaSorter
InheritanceOrderArgumentPlusAlphaSorter Inheritance Object
Implements ISorter

A MetadataSorter compares two values to determine which value is greater.



Protected Properties
 PropertyDefined By
  orderArgumentSorter : ISorter
An instance of a sorter which does sorting on the order argument
OrderArgumentPlusAlphaSorter
Public Methods
 MethodDefined By
  
Constructor
OrderArgumentPlusAlphaSorter
  
apply(object:Object):void
Sorts the test in runner using compare function.
OrderArgumentPlusAlphaSorter
  
Compares its two arguments for order.
OrderArgumentPlusAlphaSorter
Property Detail
orderArgumentSorterproperty
protected var orderArgumentSorter:ISorter

An instance of a sorter which does sorting on the order argument

Constructor Detail
OrderArgumentPlusAlphaSorter()Constructor
public function OrderArgumentPlusAlphaSorter()

Constructor

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. If the two objects are of equal order number, then we are simply going to return them in alphabetical order..

Parameters

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

Returns
int