PropertyTestCase
| Kind of class: | class |
|---|---|
| Inherits from: | AbstractTest < BasicClass |
| Implements: | |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.test.speed.PropertyTestCase |
| File last modified: | Friday, 01 July 2005, 19:57:40 |
PropertyTestCase profiles a property.Summary
Constructor
Class properties
Class properties inherited from AbstractTest
Instance methods
Instance methods inherited from AbstractTest
Instance methods inherited from BasicClass
Constructor
PropertyTestCase
function PropertyTestCase (
)
Instance methods
getProperty
function getProperty (
Void) : PropertyInfo
Returns the profiled property.
Returns:
the profiled property
PropertyTestCaseByObjectAndName
function PropertyTestCaseByObjectAndName (
object,
propertyName:String) : Void
Constructs a new
PropertyTestCase by object and property name.Parameters:
object :
the object that declares the property to profile
propertyName:
the name of the property to profile
Throws:
org.as2lib.env.except.IllegalArgumentException if there is no property with the given
propertyName on the given objectPropertyTestCaseByProperty
function PropertyTestCaseByProperty (
property:PropertyInfo,
referenceScope,
referenceName:String) : Void
Constructs a new
PropertyTestCase by property.If you want to profile a method, referenced from a different scope and with a
different name you can specify thse with the last two arguments. Note that if
specified the method declared on the class will not be profiled but its
reference.
Parameters:
property :
the property to profile
referenceScope:
(optional) the scope of the property reference to profile
referenceName :
(optional) the name of the property reference to profile
Throws:
run
function run (
Void) : Void
Runs this property test case.
Specified by: