From 61b872377c5a5d9b76ce715aa94f300d96cf3e17 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Wed, 2 Jan 2013 08:32:52 -0600 Subject: [PATCH] Add timeout to unit test due to highlight non-termination of prediction algorithm without resorting to @Ignore --- tool/test/org/antlr/v4/test/TestFullContextParsing.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/test/org/antlr/v4/test/TestFullContextParsing.java b/tool/test/org/antlr/v4/test/TestFullContextParsing.java index 275ccd4b5..2a1ec19b2 100644 --- a/tool/test/org/antlr/v4/test/TestFullContextParsing.java +++ b/tool/test/org/antlr/v4/test/TestFullContextParsing.java @@ -121,7 +121,8 @@ public class TestFullContextParsing extends BaseTest { this.stderrDuringParse); } - @Test public void testSLLSeesEOFInLLGrammar() { + @Test(timeout = 5000) + public void testSLLSeesEOFInLLGrammar() { String grammar = "grammar T;\n"+ "s @after {dumpDFA();}\n" +