Ember.Test.QUnitAdapter Class
This class implements the methods defined by Ember.Test.Adapter for the QUnit testing framework.
Item Index
Methods
Methods
asyncEnd
()
public
This callback will be called whenever an async operation has completed.
asyncStart
()
public
This callback will be called whenever an async operation is about to start.
Override this to call your framework's methods that handle async operations.
exception
(
public
-
error
Override this method with your testing framework's false assertion. This function is called whenever an exception occurs causing the testing promise to fail.
QUnit example:
exception: function(error) {
ok(false, error);
};
Parameters:
-
error
StringThe exception to be raised.