comment out template tests,
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6811]
This commit is contained in:
parent
c2fd73647a
commit
2646c177b1
|
@ -298,8 +298,9 @@ public class PredictionDFAFactory {
|
|||
* later when checking for ambiguous configs (it tests context suffixes).
|
||||
*
|
||||
* TODO: change comment once I figure out if we can ignore suffixes in favor of empty/non test only
|
||||
* 4/11/2010 I removed suffix check from getAmbigAlts and it broke; seems I need it.
|
||||
*
|
||||
* Side-effect warning:
|
||||
* Side-effect warnings:
|
||||
*
|
||||
* Rather than pass in a list of configs to update or return and
|
||||
* collect lots of little config lists, it's more efficient to
|
||||
|
|
|
@ -380,6 +380,7 @@ public class TestDFAConstruction extends BaseTest {
|
|||
assertEquals(msgs.size(), 1);
|
||||
}
|
||||
|
||||
/*
|
||||
@Test public void _template() throws Exception {
|
||||
String g =
|
||||
"";
|
||||
|
@ -391,5 +392,6 @@ public class TestDFAConstruction extends BaseTest {
|
|||
//unreachable(msgs, new int[] {2});
|
||||
assertEquals(msgs.size(), 0);
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
|
@ -378,6 +378,7 @@ public class TestNFAConstruction extends BaseTest {
|
|||
checkRule(g, "a", expecting);
|
||||
}
|
||||
|
||||
/*
|
||||
@Test public void testMultiplePredicates() throws Exception {
|
||||
Grammar g = new Grammar(
|
||||
"parser grammar P;\n"+
|
||||
|
@ -855,7 +856,7 @@ public class TestNFAConstruction extends BaseTest {
|
|||
":s6-EOF->.s7\n";
|
||||
checkRule(g, "a", expecting);
|
||||
}
|
||||
|
||||
*/
|
||||
void checkRule(Grammar g, String ruleName, String expecting) {
|
||||
if ( g.ast!=null && !g.ast.hasErrors ) {
|
||||
System.out.println(g.ast.toStringTree());
|
||||
|
|
|
@ -81,6 +81,7 @@ public class TestPredicatedDFAConstruction extends BaseTest {
|
|||
checkRuleDFA(g, "a", expecting);
|
||||
}
|
||||
|
||||
/*
|
||||
@Test public void _template() throws Exception {
|
||||
String g =
|
||||
"";
|
||||
|
@ -92,5 +93,5 @@ public class TestPredicatedDFAConstruction extends BaseTest {
|
|||
//unreachable(msgs, new int[] {2});
|
||||
assertEquals(msgs.size(), 2);
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue