Packagesrc.test
Classpublic class FunFXTest
InheritanceFunFXTest Inheritance flexunit.framework.TestCase

FunFXTest is the suite containing the unit tests for FunFX



Public Methods
 MethodDefined by
  
FunFXTest(methodName:String)
FunFXTest
  
suite():TestSuite
[static]
FunFXTest
  
Tests the catchEvent method.
FunFXTest
  
Tests the catchProperty method.
FunFXTest
  
Test the method checkComponent.
FunFXTest
  
Tests the checkName method.
FunFXTest
  
testCreate():void
Tests the creation of the adapter
FunFXTest
  
Tests the findObject method, locating objects
FunFXTest
  
Tests that the findObject method return null if nothing is found
FunFXTest
  
Tests the setProperties method, merging the properties of an event.
FunFXTest
  
Tests the setProperties method, merging the properties of an event.
FunFXTest
  
Tests the setProperties method, merging the properties of an event.
FunFXTest
Constructor detail
FunFXTest()constructor
public function FunFXTest(methodName:String)Parameters
methodName:String
Method detail
suite()method
public static function suite():TestSuite

Returns
TestSuite
testCatchEventError()method 
public function testCatchEventError():void

Tests the catchEvent method. Ensuring that the correct error messages appears.

testCatchProperty()method 
public function testCatchProperty():void

Tests the catchProperty method. Extracting the property of a display object.

testCheckComponent()method 
public function testCheckComponent():void

Test the method checkComponent. Checking whether the objects exists

testCheckName()method 
public function testCheckName():void

Tests the checkName method.

testCreate()method 
public function testCreate():void

Tests the creation of the adapter

testFindObject()method 
public function testFindObject():void

Tests the findObject method, locating objects

testFindObjectNull()method 
public function testFindObjectNull():void

Tests that the findObject method return null if nothing is found

testSetPropertiesDragStart()method 
public function testSetPropertiesDragStart():void

Tests the setProperties method, merging the properties of an event. Test drag and drop with the DraggedItem.

testSetPropertiesMouseScroll()method 
public function testSetPropertiesMouseScroll():void

Tests the setProperties method, merging the properties of an event. Tests with mousescroll.

testSetPropertiesTextInput()method 
public function testSetPropertiesTextInput():void

Tests the setProperties method, merging the properties of an event. Tests with text input.