Packageasunit.framework
Classpublic class TestMethod

A TestFailure collects a failed test together with the caught exception.

See also

TestResult


Protected Properties
 PropertyDefined by
  method : String
TestMethod
  test : Test
TestMethod
Public Methods
 MethodDefined by
  
TestMethod(test:Test, method:String)
Constructs a TestMethod with a given Test and method name.
TestMethod
  
duration():Number
TestMethod
  
endTest(test:Test):void
TestMethod
  
getName():String
TestMethod
Property detail
methodproperty
protected var method:String
testproperty 
protected var test:Test
Constructor detail
TestMethod()constructor
public function TestMethod(test:Test, method:String)

Constructs a TestMethod with a given Test and method name.

Parameters
test:Test
 
method:String
Method detail
duration()method
public function duration():Number

Returns
Number
endTest()method 
public function endTest(test:Test):voidParameters
test:Test
getName()method 
public function getName():String

Returns
String