Packageflexunit.flexui.patterns
Classpublic class AbstractPattern
SubclassesAssertContainedPattern, AssertEqualsPattern, AssertEventOcurredPattern, AssertMatchPattern, AssertNoMatchPattern, AssertNotContainedPattern, AssertNotNullPattern, AssertNotUndefinedPattern, AssertNullPattern, AssertUndefinedPattern, FailAsyncCallPattern



Public Methods
 MethodDefined by
  
AbstractPattern(pattern:String)
AbstractPattern
  
AbstractPattern
  
match(errorMessage:String):Boolean
AbstractPattern
Protected Methods
 MethodDefined by
  
getActualResult(results:Array):String
AbstractPattern
  
getExpectedResult(results:Array):String
AbstractPattern
Public Constants
 ConstantDefined by
  CALL_BEFORE : String = "Call before {0}"
[static]
AbstractPattern
  NOT_NULL : String = "not null"
[static]
AbstractPattern
  NOT_UNDEFINED : String = "not undefined"
[static]
AbstractPattern
  NULL : String = "null"
[static]
AbstractPattern
  STRING_IN : String = "String in {0}"
[static]
AbstractPattern
  STRING_MATCHING : String = "String matching {0}"
[static]
AbstractPattern
  STRING_NOT_MATCHING : String = "String not matching {0}"
[static]
AbstractPattern
  SUBSTRING_OF : String = "Substring of {0}"
[static]
AbstractPattern
  UNDEFINED : String = "undefined"
[static]
AbstractPattern
Constructor detail
AbstractPattern()constructor
public function AbstractPattern(pattern:String)Parameters
pattern:String
Method detail
apply()method
public function apply(newRow:TestFunctionRowData):voidParameters
newRow:TestFunctionRowData
getActualResult()method 
protected function getActualResult(results:Array):StringParameters
results:Array

Returns
String
getExpectedResult()method 
protected function getExpectedResult(results:Array):StringParameters
results:Array

Returns
String
match()method 
public function match(errorMessage:String):BooleanParameters
errorMessage:String

Returns
Boolean
Constant detail
CALL_BEFOREconstant
public static const CALL_BEFORE:String = "Call before {0}"
NOT_NULLconstant 
public static const NOT_NULL:String = "not null"
NOT_UNDEFINEDconstant 
public static const NOT_UNDEFINED:String = "not undefined"
NULLconstant 
public static const NULL:String = "null"
STRING_INconstant 
public static const STRING_IN:String = "String in {0}"
STRING_MATCHINGconstant 
public static const STRING_MATCHING:String = "String matching {0}"
STRING_NOT_MATCHINGconstant 
public static const STRING_NOT_MATCHING:String = "String not matching {0}"
SUBSTRING_OFconstant 
public static const SUBSTRING_OF:String = "Substring of {0}"
UNDEFINEDconstant 
public static const UNDEFINED:String = "undefined"