rem: this.setPrinter( new ClassicResultPrinter()); 
add: this.setPrinter( new ClassicResultPrinter( this.mPrinter.getWriter())); 
context: function TextTestRunner_start( args ){	function Usage( msg )	{		JsUnitError.call( this, 			"[JavaScript engine] [TestScript] TestName [TestName2]" + msg );	}	Usage.prototype = new JsUnitError();	Usage.prototype.name = "Usage";	var testCases = new Array();		if( typeof( args ) == "undefined" )		args = new Array();	else if( typeof( args ) == "string" )		args = args.split( /[ ,;]/ );	var optionsPossible = true;	var msg = "";	for( var i = 0; i < args.length; ++i )	{		args[i] = args[i].trim();		if( optionsPossible && args[i].match( /^-/ ))		{			if( args[i] == "--" )			{				optionsPossible = false;				continue;			}			switch( args[i] )			{				case "--classic" :					this.setPrinter( new ClassicResultPrinter());					continue;									default:					msg = "\nUnknown option \"" + args[i] + "\"";				case "-?" :					throw new Usage( msg );			}		}		testCases.push( args[i] );	}	var suite;	if( testCases.length == 0 )		suite = this.getTest( "AllTests" );	else if( testCases.length > 1 )	{		suite = new TestSuite( "Start" );		for( i = 0; i < testCases.length; ++i )			suite.addTestSuite( testCases[i] );	}	else		suite = this.getTest( testCases[0] );	if( suite )		return this.doRun( suite );	else		return new TestResult();}
meta: 1373	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1373/e4d6432b51c6efc40c9cb356b4a7146dc3fa5ce2/JsUnit.js/clean/jsunit/lib/JsUnit.js