Function | Defined By | ||
---|---|---|---|
assertEquals(... rest):void
Alias for org.flexunit.Assert assertEquals method
| org.flexunit.asserts | ||
assertFalse(... rest):void
Alias for org.flexunit.Assert assertFalse method
| org.flexunit.asserts | ||
assertNotNull(... rest):void
Alias for org.flexunit.Assert assertNotNull method
| org.flexunit.asserts | ||
assertNull(... rest):void
Alias for org.flexunit.Assert assertNull method
| org.flexunit.asserts | ||
assertStrictlyEquals(... rest):void
Alias for org.flexunit.Assert assertStrictlyEquals method
| org.flexunit.asserts | ||
assertTrue(... rest):void
Alias for org.flexunit.Assert assertTrue method
| org.flexunit.asserts | ||
fail(failMessage:String):void
Fails a test with the given message. | org.flexunit.asserts |
assertEquals | () | function |
public function assertEquals(... rest):void
Alias for org.flexunit.Assert assertEquals method
Parameters
... rest — Must be passed at least 2 arguments of type Object to compare for equality.
If three arguments are passed, the first argument must be a String
and will be used as the error message.
assertEquals( String, Object, Object );
assertEquals( Object, Object );
|
See also
assertFalse | () | function |
public function assertFalse(... rest):void
Alias for org.flexunit.Assert assertFalse method
Parameters
... rest — Accepts an argument of type Boolean.
If two arguments are passed the first argument must be a String
and will be used as the error message.
assertFalse( String, Boolean );
assertFalse( Boolean );
|
See also
assertNotNull | () | function |
public function assertNotNull(... rest):void
Alias for org.flexunit.Assert assertNotNull method
Parameters
... rest — Accepts an argument of type Object.
If two arguments are passed the first argument must be a String
and will be used as the error message.
assertNotNull( String, Object );
assertNotNull( Object );
|
See also
assertNull | () | function |
public function assertNull(... rest):void
Alias for org.flexunit.Assert assertNull method
Parameters
... rest — Accepts an argument of type Object.
If two arguments are passed the first argument must be a String
and will be used as the error message.
assertNull( String, Object );
assertNull( Object );
|
See also
assertStrictlyEquals | () | function |
public function assertStrictlyEquals(... rest):void
Alias for org.flexunit.Assert assertStrictlyEquals method
Parameters
... rest — Must be passed at least 2 arguments of type Object to compare for strict equality.
If three arguments are passed, the first argument must be a String
and will be used as the error message.
assertStrictlyEquals( String, Object, Object );
assertStrictlyEquals( Object, Object );
|
See also
assertTrue | () | function |
public function assertTrue(... rest):void
Alias for org.flexunit.Assert assertTrue method
Parameters
... rest — Accepts an argument of type Boolean.
If two arguments are passed the first argument must be a String
and will be used as the error message.
assertTrue( String, Boolean );
assertTrue( Boolean );
|
See also
fail | () | function |
public function fail(failMessage:String):void
Fails a test with the given message.
Parameters
failMessage:String — the identifying message for the AssertionFailedError
|
See also