Packageorg.swizframework.utils.test
Classpublic class AutowiredTestCase
InheritanceAutowiredTestCase Inheritance flash.events.EventDispatcher

AutowiredTestCase provides a base class for unit testing that provides autowiring. A child test case should set the beanProvider and swizConfig properties in it's constructor. A new Swiz Context will be created in the test's [Before] method.



Public Properties
 PropertyDefined By
  beanProviders : Array
Getter for beanProvider property.
AutowiredTestCase
  swiz : Swiz
[read-only] Getter for local Swiz instance.
AutowiredTestCase
  swizConfig : SwizConfig
Getter for swizConfig property.
AutowiredTestCase
Public Methods
 MethodDefined By
  
AutowiredTestCase(target:IEventDispatcher = null)
AutowiredTestCase
  
AutowiredTestCase
Property Detail
beanProvidersproperty
beanProviders:Array

Getter for beanProvider property.


Implementation
    public function get beanProviders():Array
    public function set beanProviders(value:Array):void
swizproperty 
swiz:Swiz  [read-only]

Getter for local Swiz instance.


Implementation
    public function get swiz():Swiz
swizConfigproperty 
swizConfig:SwizConfig

Getter for swizConfig property.


Implementation
    public function get swizConfig():SwizConfig
    public function set swizConfig(value:SwizConfig):void
Constructor Detail
AutowiredTestCase()Constructor
public function AutowiredTestCase(target:IEventDispatcher = null)



Parameters
target:IEventDispatcher (default = null)
Method Detail
constructSwizContext()method
public function constructSwizContext():void