new-harness.js (443B)
1 // We override only the things we need to -- the rest we'll just inherit from 2 // original-harness.js. Polymorphism, kind of. 3 ReflectionHarness.conformanceTesting = true; 4 5 ReflectionHarness.test = function(fun, description) { 6 test(fun, this.getTypeDescription() + ": " + description); 7 } 8 9 ReflectionHarness.assertEquals = assert_equals; 10 11 ReflectionHarness.assertInArray = assert_in_array; 12 13 ReflectionHarness.assertThrows = assert_throws_dom;