final StGUnitLexer lexer = new StGUnitLexer(new ANTLRReaderStream(reader));
final CommonTokenStream tokens = new CommonTokenStream(lexer);
final StGUnitParser parser = new StGUnitParser(tokens);
final TestSuiteAdapter adapter = new TestSuiteAdapter(result);
parser.adapter = adapter;
parser.gUnitDef();
result.setTokens(tokens);
reader.close();
} catch (Exception ex) {
throw new RuntimeException("Error reading test suite file.\n" + ex.getMessage());
}