add: case "--xml" : this.setPrinter( new XMLResultPrinter( this.mPrinter.getWriter())); continue;  
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(                             this.mPrinter.getWriter()));                    continue;                                    case "--html" :                    this.mPrinter.setWriter(                        new HTMLWriterFilter(                            this.mPrinter.getWriter()));                    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/978cbd9025eba39393b82abd27beeed1ff0bd4d2/JsUnit.js/clean/jsunit/lib/JsUnit.js