rem: test("val(String)", function() { expect(3); document.getElementById('text1').value = "bla"; ok( $("#text1").val() == "bla", "Check for modified value of input element" ); $("#text1").val('test'); ok ( document.getElementById('text1').value == "test", "Check for modified (via val(String)) value of input element" );  $("#select1").val("3"); ok( $("#select1").val() == "3", "Check for modified (via val(String)) value of select element" ); 
add: test("val()", function() { expect(2); ok( $("#text1").val() == "Test", "Check for value of input element" ); ok( !$("#text1").val() == "", "Check for value of input element" ); 
context: test("val(String)", function() {	expect(3);	document.getElementById('text1').value = "bla";	ok( $("#text1").val() == "bla", "Check for modified value of input element" );	$("#text1").val('test');	ok ( document.getElementById('text1').value == "test", "Check for modified (via val(String)) value of input element" );		$("#select1").val("3");	ok( $("#select1").val() == "3", "Check for modified (via val(String)) value of select element" );});
meta: 1307	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1307/1ac9d6fbeed214d59ea5c31a87ff2c19bb08dbc8/core.js/clean/test/unit/core.js