Packagesrc.test
Classpublic class ObjectMock
InheritanceObjectMock Inheritance mx.core.UIComponent

Mocks a UIComponent.



Public Properties
 PropertyDefined by
  automationValue : Array
[read-only] Returns the automationValue of the object
ObjectMock
  numAutomationChildren : int
[read-only] Sets the numAutomationChildren to 1
ObjectMock
Public Methods
 MethodDefined by
  
getAutomationChildAt(index:int):IAutomationObject
Returns a ObjectMock object.
ObjectMock
Property detail
automationValueproperty
automationValue:Array  [read-only]

Returns the automationValue of the object

Implementation
    public function get automationValue():Array
numAutomationChildrenproperty 
numAutomationChildren:int  [read-only]

Sets the numAutomationChildren to 1

Implementation
    public function get numAutomationChildren():int
Method detail
getAutomationChildAt()method
public override function getAutomationChildAt(index:int):IAutomationObject

Returns a ObjectMock object.

Parameters
index:int — The position of the child

Returns
IAutomationObject — The child object