};
String [] allArgs = ObjectArrays.concat(baseArgs, extraArgs, String.class);
// Run the COMPC client with the specified command line.
COMPC compc = new COMPC();
compc.mainNoExit(allArgs);
// Check that the SWC compiled cleanly.
List<ICompilerProblem> problems = new ArrayList<ICompilerProblem>();
for (ICompilerProblem problem : compc.getProblems().getFilteredProblems())
{
problems.add(problem);
}
assertThat(problems.size(), is(0));
}