Mozilla/mozilla/webtools/litmus/js/ViewTestcase.js
ccooper%deadsquid.com 65f9d98907 b=314938,321116,321388,322949,350251,370211,370212
* test runs:
** update coverage stats dynamically when returning to run more tests
** replace index page with test run summary statistics
** provide more guidance to users after they submit test results
** considerable page load speed increases at entry points to testing by pushing stats calculations into AJAX which will load after the page loads
** basic test run reporting


git-svn-id: svn://10.0.0.236/trunk@224673 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 01:57:45 +00:00

17 lines
382 B
JavaScript

function checkCategoryForm(f) {
return verifySelected(f.product, 'Product');
}
function checkIDForm(f) {
return checkString(f.id, 'Testcase ID #');
}
function checkFulltextForm(f) {
return checkString(f.text_snippet, 'String to match');
}
function checkRecentForm(f) {
return checkRadio(f.recently, 'Added or Changed') &&
checkString(f.num_days, '# of days');
}