Package | flexunit.framework |
Class | public class WarningTestCase |
Inheritance | WarningTestCase ![]() ![]() |
WarningTestCase
is a framework generated
test cased used to highlight to the test writer that
there was a problem with their test.
See also
Method | Defined by | ||
---|---|---|---|
WarningTestCase(message:String)
| WarningTestCase | ||
![]() |
addAsync(func:Function, timeout:int, passThroughData:Object = null, failFunc:Function = null):Function
Add an asynchronous check point to the test.
| TestCase | |
![]() |
assertContained(... rest):void
[static]
Asserts that the first string is contained in the second one
The first argument can be the message when the assertion fails
| Assert | |
![]() |
assertEquals(... rest):void
[static]
Asserts that 2 values are equal.
| Assert | |
![]() |
assertFalse(... rest):void
[static]
Asserts that a condition is false
The first argument can be the message when the assertion fails
| Assert | |
![]() |
assertMatch(... rest):void
[static]
Asserts that a string matches a regexp.
| Assert | |
![]() |
assertNoMatch(... rest):void
[static]
Asserts that a string doesn't match a regexp.
| Assert | |
![]() |
assertNotContained(... rest):void
[static]
Asserts that the first string is not contained in the second one
The first argument can be the message when the assertion fails
| Assert | |
![]() |
assertNotNull(... rest):void
[static]
Asserts that an object is not null
The first argument can be the message when the assertion fails
| Assert | |
![]() |
assertNotUndefined(... rest):void
[static]
Asserts that an object is not undefined
The first argument can be the message when the assertion fails
| Assert | |
![]() |
assertNull(... rest):void
[static]
Asserts that an object is null
The first argument can be the message when the assertion fails
| Assert | |
![]() |
assertStrictlyEquals(... rest):void
[static]
Asserts that two objects are strickly identical
The first argument can be the message when the assertion fails
| Assert | |
![]() |
assertTrue(... rest):void
[static]
Asserts that a condition is true
The first argument can be the message when the assertion fails
| Assert | |
![]() |
assertUndefined(... rest):void
[static]
Asserts that an object is undefined
The first argument can be the message when the assertion fails
| Assert | |
![]() |
countTestCases():Number
The number of test cases in this test class.
| TestCase | |
![]() |
fail(failMessage:String = ""):void
[static]
Fails with the given message
| Assert | |
![]() |
getNextAsync():Object
The AsyncTestHelper will call this when it's ready for to start the next async.
| TestCase | |
![]() |
getTestMethodNames():Array
| TestCase | |
![]() |
hasAsync():Boolean
Returns true if there are any asynchronous methods remaining to be called
| TestCase | |
![]() |
oneAssertionHasBeenMade():void
[static]
| Assert | |
![]() |
resetAssertionsMade():void
[static]
| Assert | |
![]() |
resetEveryAsserionsFields():void
[static]
| Assert | |
![]() |
Creates a new
TestResult and runs the tests, populating that TestResult
with the results. | TestCase | |
![]() |
runFinish():void
Runs
tearDown()
| TestCase | |
![]() |
runMiddle():void
Runs the normal test method or the next asynchronous method
| TestCase | |
![]() |
runStart():void
Runs
setUp()
| TestCase | |
![]() |
runWithResult(result:TestResult):void
Runs the tests, populating the
result parameter. | TestCase | |
![]() |
setTestResult(result:TestResult):void
Called by the TestResult to pass along so that it can be passed for async
| TestCase | |
![]() |
setUp():void
Empty implementation of
setUp() . | TestCase | |
![]() |
startAsync():void
Called by the TestResult to kick off wait for the next asynchronous method
| TestCase | |
![]() |
tearDown():void
Empty implementation of
tearDown() . | TestCase | |
toString():String
| WarningTestCase |