minor runner test cleanup

This commit is contained in:
ragaskar
2009-08-08 08:53:15 -07:00
parent 56c26c5b55
commit 0061054aaa
4 changed files with 9 additions and 7 deletions

View File

@@ -1337,7 +1337,7 @@ jasmine.NestedResults.prototype.addResult = function(result) {
*/
jasmine.NestedResults.prototype.passed = function() {
return this.passedCount === this.totalCount;
}
};
/**
* Base class for pretty printing for expectation results.
*/
@@ -1582,7 +1582,6 @@ jasmine.Runner.prototype.finishCallback = function() {
jasmine.Runner.prototype.getResults = function() {
var results = new jasmine.NestedResults();
for (var i = 0; i < this.suites.length; i++) {
//TODO: FIX
results.rollupCounts(this.suites[i].getResults()[0]);
}
return results;