@@ -28,12 +28,6 @@ jasmineRequire.html = function(j$) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
jasmineRequire.HtmlReporter = function(j$) {
|
jasmineRequire.HtmlReporter = function(j$) {
|
||||||
|
|
||||||
var noopTimer = {
|
|
||||||
start: function() {},
|
|
||||||
elapsed: function() { return 0; }
|
|
||||||
};
|
|
||||||
|
|
||||||
function ResultsStateBuilder() {
|
function ResultsStateBuilder() {
|
||||||
this.topResults = new j$.ResultsNode({}, '', null);
|
this.topResults = new j$.ResultsNode({}, '', null);
|
||||||
this.currentParent = this.topResults;
|
this.currentParent = this.topResults;
|
||||||
@@ -87,7 +81,7 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
navigateWithNewParam = options.navigateWithNewParam || function() {},
|
navigateWithNewParam = options.navigateWithNewParam || function() {},
|
||||||
addToExistingQueryString = options.addToExistingQueryString || defaultQueryString,
|
addToExistingQueryString = options.addToExistingQueryString || defaultQueryString,
|
||||||
filterSpecs = options.filterSpecs,
|
filterSpecs = options.filterSpecs,
|
||||||
timer = options.timer || noopTimer,
|
timer = options.timer || j$.noopTimer,
|
||||||
htmlReporterMain,
|
htmlReporterMain,
|
||||||
symbols,
|
symbols,
|
||||||
deprecationWarnings = [];
|
deprecationWarnings = [];
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ var getJasmineRequireObj = (function (jasmineGlobal) {
|
|||||||
j$.Expector = jRequire.Expector(j$);
|
j$.Expector = jRequire.Expector(j$);
|
||||||
j$.Expectation = jRequire.Expectation(j$);
|
j$.Expectation = jRequire.Expectation(j$);
|
||||||
j$.buildExpectationResult = jRequire.buildExpectationResult();
|
j$.buildExpectationResult = jRequire.buildExpectationResult();
|
||||||
j$.JsApiReporter = jRequire.JsApiReporter();
|
j$.noopTimer = jRequire.noopTimer();
|
||||||
|
j$.JsApiReporter = jRequire.JsApiReporter(j$);
|
||||||
j$.matchersUtil = jRequire.matchersUtil(j$);
|
j$.matchersUtil = jRequire.matchersUtil(j$);
|
||||||
j$.ObjectContaining = jRequire.ObjectContaining(j$);
|
j$.ObjectContaining = jRequire.ObjectContaining(j$);
|
||||||
j$.ArrayContaining = jRequire.ArrayContaining(j$);
|
j$.ArrayContaining = jRequire.ArrayContaining(j$);
|
||||||
@@ -1738,13 +1739,7 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
return Env;
|
return Env;
|
||||||
};
|
};
|
||||||
|
|
||||||
getJasmineRequireObj().JsApiReporter = function() {
|
getJasmineRequireObj().JsApiReporter = function(j$) {
|
||||||
|
|
||||||
var noopTimer = {
|
|
||||||
start: function(){},
|
|
||||||
elapsed: function(){ return 0; }
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name jsApiReporter
|
* @name jsApiReporter
|
||||||
* @classdesc {@link Reporter} added by default in `boot.js` to record results for retrieval in javascript code. An instance is made available as `jsApiReporter` on the global object.
|
* @classdesc {@link Reporter} added by default in `boot.js` to record results for retrieval in javascript code. An instance is made available as `jsApiReporter` on the global object.
|
||||||
@@ -1752,7 +1747,7 @@ getJasmineRequireObj().JsApiReporter = function() {
|
|||||||
* @hideconstructor
|
* @hideconstructor
|
||||||
*/
|
*/
|
||||||
function JsApiReporter(options) {
|
function JsApiReporter(options) {
|
||||||
var timer = options.timer || noopTimer,
|
var timer = options.timer || j$.noopTimer,
|
||||||
status = 'loaded';
|
status = 'loaded';
|
||||||
|
|
||||||
this.started = false;
|
this.started = false;
|
||||||
@@ -6768,6 +6763,12 @@ getJasmineRequireObj().Timer = function() {
|
|||||||
return Timer;
|
return Timer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
getJasmineRequireObj().noopTimer = function() {
|
||||||
|
return {
|
||||||
|
start: function() {},
|
||||||
|
elapsed: function() { return 0; }
|
||||||
|
};
|
||||||
|
};
|
||||||
getJasmineRequireObj().TreeProcessor = function() {
|
getJasmineRequireObj().TreeProcessor = function() {
|
||||||
function TreeProcessor(attrs) {
|
function TreeProcessor(attrs) {
|
||||||
var tree = attrs.tree,
|
var tree = attrs.tree,
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
getJasmineRequireObj().JsApiReporter = function() {
|
getJasmineRequireObj().JsApiReporter = function(j$) {
|
||||||
|
|
||||||
var noopTimer = {
|
|
||||||
start: function(){},
|
|
||||||
elapsed: function(){ return 0; }
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name jsApiReporter
|
* @name jsApiReporter
|
||||||
* @classdesc {@link Reporter} added by default in `boot.js` to record results for retrieval in javascript code. An instance is made available as `jsApiReporter` on the global object.
|
* @classdesc {@link Reporter} added by default in `boot.js` to record results for retrieval in javascript code. An instance is made available as `jsApiReporter` on the global object.
|
||||||
@@ -12,7 +6,7 @@ getJasmineRequireObj().JsApiReporter = function() {
|
|||||||
* @hideconstructor
|
* @hideconstructor
|
||||||
*/
|
*/
|
||||||
function JsApiReporter(options) {
|
function JsApiReporter(options) {
|
||||||
var timer = options.timer || noopTimer,
|
var timer = options.timer || j$.noopTimer,
|
||||||
status = 'loaded';
|
status = 'loaded';
|
||||||
|
|
||||||
this.started = false;
|
this.started = false;
|
||||||
|
|||||||
@@ -20,3 +20,10 @@ getJasmineRequireObj().Timer = function() {
|
|||||||
|
|
||||||
return Timer;
|
return Timer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
getJasmineRequireObj().noopTimer = function() {
|
||||||
|
return {
|
||||||
|
start: function() {},
|
||||||
|
elapsed: function() { return 0; }
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -41,7 +41,8 @@ var getJasmineRequireObj = (function (jasmineGlobal) {
|
|||||||
j$.Expector = jRequire.Expector(j$);
|
j$.Expector = jRequire.Expector(j$);
|
||||||
j$.Expectation = jRequire.Expectation(j$);
|
j$.Expectation = jRequire.Expectation(j$);
|
||||||
j$.buildExpectationResult = jRequire.buildExpectationResult();
|
j$.buildExpectationResult = jRequire.buildExpectationResult();
|
||||||
j$.JsApiReporter = jRequire.JsApiReporter();
|
j$.noopTimer = jRequire.noopTimer();
|
||||||
|
j$.JsApiReporter = jRequire.JsApiReporter(j$);
|
||||||
j$.matchersUtil = jRequire.matchersUtil(j$);
|
j$.matchersUtil = jRequire.matchersUtil(j$);
|
||||||
j$.ObjectContaining = jRequire.ObjectContaining(j$);
|
j$.ObjectContaining = jRequire.ObjectContaining(j$);
|
||||||
j$.ArrayContaining = jRequire.ArrayContaining(j$);
|
j$.ArrayContaining = jRequire.ArrayContaining(j$);
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
jasmineRequire.HtmlReporter = function(j$) {
|
jasmineRequire.HtmlReporter = function(j$) {
|
||||||
|
|
||||||
var noopTimer = {
|
|
||||||
start: function() {},
|
|
||||||
elapsed: function() { return 0; }
|
|
||||||
};
|
|
||||||
|
|
||||||
function ResultsStateBuilder() {
|
function ResultsStateBuilder() {
|
||||||
this.topResults = new j$.ResultsNode({}, '', null);
|
this.topResults = new j$.ResultsNode({}, '', null);
|
||||||
this.currentParent = this.topResults;
|
this.currentParent = this.topResults;
|
||||||
@@ -58,7 +52,7 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
navigateWithNewParam = options.navigateWithNewParam || function() {},
|
navigateWithNewParam = options.navigateWithNewParam || function() {},
|
||||||
addToExistingQueryString = options.addToExistingQueryString || defaultQueryString,
|
addToExistingQueryString = options.addToExistingQueryString || defaultQueryString,
|
||||||
filterSpecs = options.filterSpecs,
|
filterSpecs = options.filterSpecs,
|
||||||
timer = options.timer || noopTimer,
|
timer = options.timer || j$.noopTimer,
|
||||||
htmlReporterMain,
|
htmlReporterMain,
|
||||||
symbols,
|
symbols,
|
||||||
deprecationWarnings = [];
|
deprecationWarnings = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user