carl/bosh - merge pockets pudge changes in and update bootstrap to include some missing src files

This commit is contained in:
pivotal
2009-07-28 17:27:52 -07:00
parent 5ae68b8c3b
commit 4cfb7ddd42
6 changed files with 20 additions and 8 deletions

View File

@@ -9,7 +9,8 @@
*/
jasmine.Suite = function(env, description, specDefinitions, parentSuite) {
jasmine.ActionCollection.call(this, env);
this.id = env.nextSuiteId_++;
this.description = description;
this.specs = this.actions;
this.parentSuite = parentSuite;
@@ -43,6 +44,9 @@ jasmine.Suite.prototype.afterEach = function(afterEachFunction) {
jasmine.Suite.prototype.getResults = function() {
var results = new jasmine.NestedResults();
results.description = this.description;
results.id = this.id;
for (var i = 0; i < this.specs.length; i++) {
results.rollupCounts(this.specs[i].getResults());
}