Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8574

Show
Ignore:
Timestamp:
01/06/08 07:38:02 (9 months ago)
Author:
tobie
Message:

prototype: unittest.js cleanup.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/prototype/trunk/test/lib/unittest.js

    r8573 r8574  
    158158    options.testLog = $(options.testLog); 
    159159     
    160     this.tests = this.getTests(testcases, options); 
     160    this.tests = this.getTests(testcases); 
    161161    this.currentTest = 0; 
    162162    this.logger = new Test.Unit.Logger(options.testLog); 
     
    168168  queryParams: window.location.search.parseQuery(), 
    169169   
    170   getTests: function(testcases, options) { 
    171     var tests
     170  getTests: function(testcases) { 
     171    var tests, options = this.options
    172172    if (this.queryParams.tests) tests = this.queryParams.tests.split(','); 
    173173    else if (options.tests) tests = options.tests;