Informationholder for all Informations related to the execution of a Method within a Testcase.
public function TestCaseMethodInfo(methodInfo:MethodInfo)
Constructs a new Informations for a TestCase method.
methodInfo | Reflection based information of the method. |
public function getStopWatch(Void):StopWatch
Getter for the Stopwatch that is held by this class.
StopWatch related to this class.
public function hasErrors(Void):Boolean
Information if the method contains errors.
true if the method contains errors.
public function getOperationTime(Void):Number
Getter for the available operation time.
Operation time in milliseconds.
public function getMethodInfo(Void):MethodInfo
Getter for the Reflection based method information.
Original MethodInfo to the executed method.
public function addInfo(info:ExecutionInfo):Void
Adds a Information about the execution of the method.
info | Information that should be added. |
public function getInfos(Void):TypedArray
Getter for all infos occured during the execution. Returns a copy of all infos!
List of all infos occured during execution.
public function getErrors(Void):TypedArray
Getter for all errors occured during the execution.
List of all errors occured during execution of the method.
public function isExecuted(Void):Boolean
True if the method was executed by @see #executeTo
public function setExecuted(executed:Boolean):Void
Sets the current state of execution.
executed | True if the method has been executed, else false. |
public function toString():String
Extended .toString implementation.
TestCaseMethodInfo as well formated String.
toString() in org.as2lib.core.BasicInterface