![]() | ![]() |
Definition at line 13 of file Assertion.as.
Static Public Member Functions | |
| static function | fail (aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfTrue (aVar:Boolean, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfFalse (aVar:Boolean, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfNotNull (aVar:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfNull (aVar:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfEmpty (aVar:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfNotEqual (aVar1:Object, aVar2:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfNotSame (aVar1:Object, aVar2:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfNotInstanceOf (aVar:Object, aType:Function, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfReturns (aScope:Object, aMethod:Function, aArguments:Array, aReturnValue:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfReturnsTrue (aScope:Object, aMethod:Function, aArguments:Array, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfReturnsFalse (aScope:Object, aMethod:Function, aArguments:Array, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfReturnsNull (aScope:Object, aMethod:Function, aArguments:Array, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfReturnsNotNull (aScope:Object, aMethod:Function, aArguments:Array, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfContainsValue (aCollection:Object, aValue:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfContainsKey (aCollection:Object, aKey:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfNotContainsValue (aCollection:Object, aValue:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | failIfNotContainsKey (aCollection:Object, aKey:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warning (aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfTrue (aVar:Boolean, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfFalse (aVar:Boolean, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfNotNull (aVar:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfNull (aVar:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfEmpty (aVar:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfNotEqual (aVar1:Object, aVar2:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfNotSame (aVar1:Object, aVar2:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfNotInstanceOf (aVar:Object, aType:Function, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfReturns (aScope:Object, aMethod:Function, aArguments:Array, aReturnValue:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfReturnsTrue (aScope:Object, aMethod:Function, aArguments:Array, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfReturnsFalse (aScope:Object, aMethod:Function, aArguments:Array, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfReturnsNull (aScope:Object, aMethod:Function, aArguments:Array, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfReturnsNotNull (aScope:Object, aMethod:Function, aArguments:Array, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfContainsValue (aCollection:Object, aValue:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfContainsKey (aCollection:Object, aKey:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfNotContainsValue (aCollection:Object, aValue:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | warningIfNotContainsKey (aCollection:Object, aKey:Object, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | disableLogging () |
Static Private Member Functions | |
| static function | logAssertion (aLogLevel:Level, aMessage:String, aContextObject:Object, aContextMethodArguments:Array) |
| static function | evaluateMethod (aScope:Object, aMethod:Function, aArguments:Array) |
| static function | containsValue (aCollection:Object, aValue:Object) |
| static function | containsKey (aCollection:Object, aKey:Object) |
| static function gugga.debug.Assertion.logAssertion | ( | aLogLevel:Level | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static, private] |
Definition at line 15 of file Assertion.as.
| static function gugga.debug.Assertion.evaluateMethod | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | ||||
| ) | [static, private] |
Definition at line 25 of file Assertion.as.
| static function gugga.debug.Assertion.containsValue | ( | aCollection:Object | , | |
| aValue:Object | ||||
| ) | [static, private] |
Definition at line 35 of file Assertion.as.
| static function gugga.debug.Assertion.containsKey | ( | aCollection:Object | , | |
| aKey:Object | ||||
| ) | [static, private] |
Definition at line 71 of file Assertion.as.
| static function gugga.debug.Assertion.fail | ( | aMessage:String | , | |
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 97 of file Assertion.as.
| static function gugga.debug.Assertion.failIfTrue | ( | aVar:Boolean | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 103 of file Assertion.as.
| static function gugga.debug.Assertion.failIfFalse | ( | aVar:Boolean | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 111 of file Assertion.as.
| static function gugga.debug.Assertion.failIfNotNull | ( | aVar:Object | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 119 of file Assertion.as.
| static function gugga.debug.Assertion.failIfNull | ( | aVar:Object | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 127 of file Assertion.as.
| static function gugga.debug.Assertion.failIfEmpty | ( | aVar:Object | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 135 of file Assertion.as.
| static function gugga.debug.Assertion.failIfNotEqual | ( | aVar1:Object | , | |
| aVar2:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 143 of file Assertion.as.
| static function gugga.debug.Assertion.failIfNotSame | ( | aVar1:Object | , | |
| aVar2:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 151 of file Assertion.as.
| static function gugga.debug.Assertion.failIfNotInstanceOf | ( | aVar:Object | , | |
| aType:Function | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 159 of file Assertion.as.
| static function gugga.debug.Assertion.failIfReturns | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aReturnValue:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 167 of file Assertion.as.
| static function gugga.debug.Assertion.failIfReturnsTrue | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 175 of file Assertion.as.
| static function gugga.debug.Assertion.failIfReturnsFalse | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 180 of file Assertion.as.
| static function gugga.debug.Assertion.failIfReturnsNull | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 185 of file Assertion.as.
| static function gugga.debug.Assertion.failIfReturnsNotNull | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 194 of file Assertion.as.
| static function gugga.debug.Assertion.failIfContainsValue | ( | aCollection:Object | , | |
| aValue:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 203 of file Assertion.as.
| static function gugga.debug.Assertion.failIfContainsKey | ( | aCollection:Object | , | |
| aKey:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 211 of file Assertion.as.
| static function gugga.debug.Assertion.failIfNotContainsValue | ( | aCollection:Object | , | |
| aValue:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 219 of file Assertion.as.
| static function gugga.debug.Assertion.failIfNotContainsKey | ( | aCollection:Object | , | |
| aKey:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 227 of file Assertion.as.
| static function gugga.debug.Assertion.warning | ( | aMessage:String | , | |
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 237 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfTrue | ( | aVar:Boolean | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 242 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfFalse | ( | aVar:Boolean | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 250 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfNotNull | ( | aVar:Object | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 258 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfNull | ( | aVar:Object | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 266 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfEmpty | ( | aVar:Object | , | |
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 274 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfNotEqual | ( | aVar1:Object | , | |
| aVar2:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 282 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfNotSame | ( | aVar1:Object | , | |
| aVar2:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 290 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfNotInstanceOf | ( | aVar:Object | , | |
| aType:Function | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 298 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfReturns | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aReturnValue:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 306 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfReturnsTrue | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 314 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfReturnsFalse | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 319 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfReturnsNull | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 324 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfReturnsNotNull | ( | aScope:Object | , | |
| aMethod:Function | , | |||
| aArguments:Array | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 333 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfContainsValue | ( | aCollection:Object | , | |
| aValue:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 342 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfContainsKey | ( | aCollection:Object | , | |
| aKey:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 350 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfNotContainsValue | ( | aCollection:Object | , | |
| aValue:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 358 of file Assertion.as.
| static function gugga.debug.Assertion.warningIfNotContainsKey | ( | aCollection:Object | , | |
| aKey:Object | , | |||
| aMessage:String | , | |||
| aContextObject:Object | , | |||
| aContextMethodArguments:Array | ||||
| ) | [static] |
Definition at line 366 of file Assertion.as.
| static function gugga.debug.Assertion.disableLogging | ( | ) | [static] |
Definition at line 376 of file Assertion.as.
1.5.2