Add jasmine.Reporter no-op base class for reporters.

This commit is contained in:
Christian Williams
2009-07-08 18:18:17 -07:00
parent 0c24c2df2e
commit e1408a9f58
8 changed files with 79 additions and 7 deletions

23
src/Reporter.js Normal file
View File

@@ -0,0 +1,23 @@
/** No-op base class for Jasmine reporters.
*
* @constructor
*/
jasmine.Reporter = function() {
};
//noinspection JSUnusedLocalSymbols
jasmine.Reporter.prototype.reportRunnerResults = function(runner) {
};
//noinspection JSUnusedLocalSymbols
jasmine.Reporter.prototype.reportSuiteResults = function(suite) {
};
//noinspection JSUnusedLocalSymbols
jasmine.Reporter.prototype.reportSpecResults = function(spec) {
};
//noinspection JSUnusedLocalSymbols
jasmine.Reporter.prototype.log = function (str) {
};