import tool.model.grammar.ForSelectParser;
public class ResultObj extends ForTest{
public int testClassFile(File cex, boolean failOnError) throws RecognitionException, IOException {
ForSelectParser parser = getParser(cex);
printTree(parser.forStatement().getTree());
int errors = parser.getNumberOfSyntaxErrors();
if (errors > 0) Assert.fail() ;
return errors;
}