Changeset 7892
- Timestamp:
- 04/01/07 14:21:30 (22 months ago)
- Files:
-
- 1 modified
-
dojo/trunk/tests/runner.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dojo/trunk/tests/runner.js
r7887 r7892 397 397 name: test.replace("/\s/g", "_") 398 398 }; 399 tObj.runTest = new Function( test);399 tObj.runTest = new Function("t", test); 400 400 } 401 401 }else if(typeof test == "function"){ … … 504 504 // 505 505 506 tests. assertTrue = function(/*Object*/ condition){506 tests.t = tests.assertTrue = function(/*Object*/ condition){ 507 507 // summary: 508 508 // is the passed item "truthy"? … … 512 512 } 513 513 514 tests. assertFalse = function(/*Object*/ condition){514 tests.f = tests.assertFalse = function(/*Object*/ condition){ 515 515 // summary: 516 516 // is the passed item "falsey"? … … 520 520 } 521 521 522 tests. assertEqual = function(/*Object*/ expected, /*Object*/ actual){522 tests.is = tests.assertEqual = function(/*Object*/ expected, /*Object*/ actual){ 523 523 // summary: 524 524 // are the passed expected and actual objects/values deeply