API Documentation | All Packages | All Classes | Index | Frames No Frames |
ClassInheritanceOrderCache

Package | org.flexunit.runner.manipulation.sortingInheritance
Class | public class ClassInheritanceOrderCache
Inheritance | ClassInheritanceOrderCache Object
Implements | ISortingInheritanceCache

ISortingInheritanceCache implementation that will allow querying of the inheritance order of a given method relative to its definition super and subclasses

Public Methods

| Method | Defined By
--- | --- | ---
|  | ClassInheritanceOrderCache(testClass:TestClass) Builds a map of the class inheritance for a given testclass | ClassInheritanceOrderCache
|  | getInheritedOrder(description:IDescription, superFirst:Boolean = true):int Returns the order of this method description relative to others in the super/subclasses | ClassInheritanceOrderCache

Constructor Detail

ClassInheritanceOrderCache | () | Constructor

`public function ClassInheritanceOrderCache(testClass:TestClass)`

Builds a map of the class inheritance for a given testclass

Parameters

| `testClass:TestClass`

Method Detail

getInheritedOrder | () | method

`public function getInheritedOrder(description:IDescription, superFirst:Boolean = true):int`

Returns the order of this method description relative to others in the super/subclasses

Parameters

| `description:IDescription`
| `superFirst:Boolean` (default = `true`)``

Returns

| `int` —

Thu Apr 10 2014, 08:07 AM +10:00