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

Package | org.flexunit.utils
Class | public class DescriptionUtil
Inheritance | DescriptionUtil Object

This is a temporary class to work around parsing name issues with the Description when using parameterized testing. It is my hope that it can be removed and replaced with a better solution for 4.2

Public Methods

| Method | Defined By
--- | --- | ---
|  | getMethodNameFromDescription(description:IDescription):String [static] Returns a method name based on the provided description. | DescriptionUtil

Method Detail

getMethodNameFromDescription | () | method

`public static function getMethodNameFromDescription(description:IDescription):String`

Returns a method name based on the provided description. In particular reverses the naming process of the parameterized runner. This class will be removed once description is modified for 4.2

Parameters

| `description:IDescription`

Returns

| `String` —

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