Packageflexunit.framework
Classpublic class WarningTestCase
InheritanceWarningTestCase Inheritance TestCase Inheritance Assert

A WarningTestCase is a framework generated test cased used to highlight to the test writer that there was a problem with their test.

See also

TestCase


Public Properties
 PropertyDefined by
 InheritedassertionsMade : Number
TestCase
 InheritedassetionsMade : Number
[static]
Assert
 InheritedclassName : String
Returns the the fully qualified class name
TestCase
 InheritedmaxAssertionsMade : Number
[static]
Assert
 InheritedmethodName : String
The method name of the individual test to be run
TestCase
 InheritedtotalAssertionsMade : Number
[static]
Assert
Protected Properties
 PropertyDefined by
 Inherited_assertionsMade : Number = 0
[static]
Assert
Public Methods
 MethodDefined by
  
WarningTestCase(message:String)
WarningTestCase
 Inherited
addAsync(func:Function, timeout:int, passThroughData:Object = null, failFunc:Function = null):Function
Add an asynchronous check point to the test.
TestCase
 Inherited
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
 Inherited
assertEquals(... rest):void
[static] Asserts that 2 values are equal.
Assert
 Inherited
assertFalse(... rest):void
[static] Asserts that a condition is false The first argument can be the message when the assertion fails
Assert
 Inherited
assertMatch(... rest):void
[static] Asserts that a string matches a regexp.
Assert
 Inherited
assertNoMatch(... rest):void
[static] Asserts that a string doesn't match a regexp.
Assert
 Inherited
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
 Inherited
assertNotNull(... rest):void
[static] Asserts that an object is not null The first argument can be the message when the assertion fails
Assert
 Inherited
assertNotUndefined(... rest):void
[static] Asserts that an object is not undefined The first argument can be the message when the assertion fails
Assert
 Inherited
assertNull(... rest):void
[static] Asserts that an object is null The first argument can be the message when the assertion fails
Assert
 Inherited
assertStrictlyEquals(... rest):void
[static] Asserts that two objects are strickly identical The first argument can be the message when the assertion fails
Assert
 Inherited
assertTrue(... rest):void
[static] Asserts that a condition is true The first argument can be the message when the assertion fails
Assert
 Inherited
assertUndefined(... rest):void
[static] Asserts that an object is undefined The first argument can be the message when the assertion fails
Assert
 Inherited
countTestCases():Number
The number of test cases in this test class.
TestCase
 Inherited
fail(failMessage:String = ""):void
[static] Fails with the given message
Assert
 Inherited
getNextAsync():Object
The AsyncTestHelper will call this when it's ready for to start the next async.
TestCase
 Inherited
TestCase
 Inherited
hasAsync():Boolean
Returns true if there are any asynchronous methods remaining to be called
TestCase
 Inherited
[static]
Assert
 Inherited
[static]
Assert
 Inherited
[static]
Assert
 Inherited
Creates a new TestResult and runs the tests, populating that TestResult with the results.
TestCase
 Inherited
runFinish():void
Runs tearDown()
TestCase
 Inherited
runMiddle():void
Runs the normal test method or the next asynchronous method
TestCase
 Inherited
runStart():void
Runs setUp()
TestCase
 Inherited
Runs the tests, populating the result parameter.
TestCase
 Inherited
Called by the TestResult to pass along so that it can be passed for async
TestCase
 Inherited
setUp():void
Empty implementation of setUp().
TestCase
 Inherited
startAsync():void
Called by the TestResult to kick off wait for the next asynchronous method
TestCase
 Inherited
tearDown():void
Empty implementation of tearDown().
TestCase
  
toString():String
WarningTestCase
Constructor detail
WarningTestCase()constructor
public function WarningTestCase(message:String)Parameters
message:String
Method detail
toString()method
public override function toString():String

Returns
String