}
/**
* Tests command line switches for warning = 5
*/
public void testWarningLevel5() {
ForteCCCompiler compiler = ForteCCCompiler.getInstance();
Vector args = new Vector();
compiler.addWarningSwitch(args, 5);
assertEquals(2, args.size());
assertEquals("+w2", args.elementAt(0));
assertEquals("-xwe", args.elementAt(1));
}