Class assertions.Assert
Base class for fatal assertions
Defined in: assertions.js.
Constructor Summary
new assertions.Assert
(aStartFrame)
The Assert class implements fatal assertions, and can be used in cases when a failing test has to directly abort the current test function.
Constructor Detail
new assertions.Assert(aStartFrame)
The Assert class implements fatal assertions, and can be used in cases
when a failing test has to directly abort the current test function. All
remaining tasks will not be performed.
- Parameters:
- {object} aStartFrame Optional, Default: Components.stack
- Frame of the stack to start from for the logging. Per default Components.stack should be used when creating an instance of that class.
- Requires:
- errors.AssertionError