rem: _config.Test = []; try { callback(); } catch(e) { if( typeof console != "undefined" && console.error && console.warn ) { console.error("Test " + name + " died, exception and test follows"); console.error(e); console.warn(callback.toString()); } _config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e ] ); } 
add: time = new Date() - time; $("<div>").html(['<p class="result">Tests completed in ', time, ' milliseconds.<br/>', _config.stats.bad, ' tests of ', _config.stats.all, ' failed.</p>'] .join('')) .appendTo("body"); $("#banner").addClass(_config.stats.bad ? "fail" : "pass"); 
context: 	synchronize(function() {		_config.Test = [];		try {			callback();		} catch(e) {			if( typeof console != "undefined" && console.error && console.warn ) {				console.error("Test " + name + " died, exception and test follows");				console.error(e);				console.warn(callback.toString());			}			_config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e ] );		}	});
meta: 1307	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1307/2ef4093cf7f52383dd43bd361864edcda27e5c3c/testrunner.js/buggy/build/test/data/testrunner.js