Class assertions.Assert
Extends
assertions.Expect.
Base class for fatal assertions
Defined in: assertions.js.
Constructor Attributes | Constructor Name and Description |
---|---|
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.
|
Class Detail
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