blob: 567112e9696225cf80440d044518545dcf010b57 [file] [log] [blame]
CONSOLE MESSAGE: Should always fail.
CONSOLE MESSAGE: ASSERT message
Test that a failing console.assert will pause in the debugger with an optional message.
Should not pause on passing assert.
inside assertOkay
Should pause on failing assert.
inside assertFalse
PASS: Paused!
Should not pause on passing assert.
inside assertCondition, and condition is true
Should pause on failing assert.
inside assertCondition, and condition is false
PASS: Paused!
Should not pause on passing assert.
inside assertConditionWithMessage, and condition is true
Should pause on failing assert and include a message.
inside assertConditionWithMessage, and condition is false
PASS: Paused!