Changeset 7919

Show
Ignore:
Timestamp:
04/03/07 16:45:02 (22 months ago)
Author:
alex
Message:

ensure that object comparison tests can end successfully. Refs #2550

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/tests/runner.js

    r7915 r7919  
    559559                } 
    560560        } 
     561        return true; 
    561562} 
    562563 
     
    604605        // run it, catching exceptions and reporting them 
    605606        try{ 
     607                // let tests reference "this.group.thinger..." which can be set by 
     608                // another test or group-level setUp function 
     609                fixture.group = tg;  
     610                // only execute the parts of the fixture we've got 
    606611                if(fixture["setUp"]){ fixture.setUp(this); } 
    607                 if(fixture["runTest"]){  
     612                if(fixture["runTest"]){  // should we error out of a fixture doesn't have a runTest? 
    608613                        var ret = fixture.runTest(this);  
    609614                        // if we get a deferred back from the test runner, we know we're 
     
    628633                                        tests._testFinished(groupName, fixture, ret.results[0]); 
    629634                                        if(tests._paused){ 
    630                                                 // console.debug("finished deferred test group:", groupName, tests); 
    631635                                                tests.run(); 
    632636                                        } 
     
    748752                        if(!found){ 
    749753                                found = true; 
    750                                 // console.debug("starting from:", x, ct); 
    751754                                this.runGroup(x, ct); 
    752755                        }else{