Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added this modifier to access member method.

  • Loading branch information...
commit 921d2ee92e97b89b0bd4753027d37f4461336610 1 parent 1486833
Matthew Smith authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/jasmine.teamcity_reporter.js
View
10 src/jasmine.teamcity_reporter.js
@@ -34,24 +34,24 @@
}
var description = path.join(' ');
- this.log("##teamcity[testSuiteStarted name='" + escapeTeamcityString(description) + "']");
+ this.log("##teamcity[testSuiteStarted name='" + this.escapeTeamcityString(description) + "']");
outerThis = this;
results.items_.forEach(function(spec){
if (spec.description) {
- outerThis.log("##teamcity[testStarted name='" + escapeTeamcityString(spec.description) + "' captureStandardOutput='true']");
+ outerThis.log("##teamcity[testStarted name='" + this.escapeTeamcityString(spec.description) + "' captureStandardOutput='true']");
spec.items_.forEach(function(result){
if (!result.passed_) {
- outerThis.log("##teamcity[testFailed name='" + escapeTeamcityString(spec.description) + "' message='[FAILED]' details='" + escapeTeamcityString(result.trace.stack) + "']");
+ outerThis.log("##teamcity[testFailed name='" + this.escapeTeamcityString(spec.description) + "' message='[FAILED]' details='" + this.escapeTeamcityString(result.trace.stack) + "']");
}
});
- outerThis.log("##teamcity[testFinished name='" + escapeTeamcityString(spec.description) + "']");
+ outerThis.log("##teamcity[testFinished name='" + this.escapeTeamcityString(spec.description) + "']");
}
});
- this.log("##teamcity[testSuiteFinished name='" + escapeTeamcityString(description) + "]");
+ this.log("##teamcity[testSuiteFinished name='" + this.escapeTeamcityString(description) + "]");
},
log: function(str) {
Please sign in to comment.
Something went wrong with that request. Please try again.