@Disabled("Performance impact of passing this test may not be worthwhile")
	// TODO: port to test framework (not ported because test currently fails)
	@Test public void testStartRuleWithoutEOF() {
		String grammar =
			"grammar T;\n"+
			"s @after {dumpDFA();}\n" +
			"  : ID | ID INT ID ;\n" +
			"ID : 'a'..'z'+ ;\n"+
			"INT : '0'..'9'+ ;\n"+
			"WS : (' '|'\\t'|'\\n')+ -> skip ;\n";
		ExecutedState executedState = execParser("T.g4", grammar, "TParser", "TLexer",
				"s", "abc 34", true);
		String expecting =
			"Decision 0:\n" +
			"s0-ID->s1\n" +
			"s1-INT->s2\n" +
			"s2-EOF->:s3=>1\n"; // Must point at accept state
		assertEquals(expecting, executedState.output);
		assertEquals("", executedState.errors);
	}
This is a regression test for antlr/antlr4#118.
https://github.com/antlr/antlr4/issues/118
tool-testsuite/test/org/antlr/v4/test/tool/TestParserExec.java