Hi public-html-testsuite, In the Web Performance WG, we would like to integrate some additional common functionality into the common testharness.js that is being developed in the HTML WG [1]. This functionality currently resides under the resources folder under WebPerf[2]. These helper functions abstract the testing of Booleans, Equality and Greater than. We'd like to add the following helpers to testharness.js: // // Common helper functions // function test_true(value, msg) { test(function () { assert_true(value, msg); }, msg); } function test_equals(value, equals, msg) { test(function () { assert_equals(value, equals, msg); }, msg); } function test_greater_than(value, greater_than, msg) { test(function () { assert_true(value >= greater_than, msg); }, msg); } I welcome your feedback on this matter. I'd like to get this integrated into the testharness.js file by the end of day Wednesday 1/26/2011. Thanks, Anderson Quach IE Program Manager [1] http://test.w3.org/html/tests/resources/testharness.js [2] http://test.w3.org/webperf/tests/resources/webperftestharness.jsReceived on Monday, 24 January 2011 23:51:51 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 24 January 2011 23:51:52 GMT