org.as2lib.core.BasicClass +--org.as2lib.test.unit.TestCaseMethodInfo
Informationholder for all Informations related to the execution of a Method within a Testcase.
public function TestCaseMethodInfo(methodInfo:MethodInfo, testRunner:TestRunner)
Constructs a new Informations for a TestCase method.
methodInfo | Reflection based information of the method. |
testRunner | TestRunner that executed the test. |
public function getTestRunner(Void):TestRunner
Getter for the TestRunner that executed this method.
TestRunner that executed this method.
public function getStopWatch(Void):StopWatch
Getter for the Stopwatch that is held by this class.
StopWatch related to this class.
public function hasFinished(Void):Boolean
Information if the method has been executed.
true if the method has been executed.
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 toString():String
Extended .toString implementation.
TestCaseMethodInfo as well formated String.
toString() in org.as2lib.core.BasicInterface