use of org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr.Bug303200TestLanguageParser in project xtext-eclipse by eclipse.
the class Bug303200Test method testBug303200_02.
@Test
public void testBug303200_02() throws Exception {
Bug303200TestLanguageParser parser = get(Bug303200TestLanguageParser.class);
Collection<FollowElement> elements = parser.getFollowElements("function f() {", false);
for (FollowElement element : elements) {
recursiveTestFollowElements(parser, element);
}
}
use of org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr.Bug303200TestLanguageParser in project xtext-eclipse by eclipse.
the class Bug303200Test method testBug303200_01.
@Test
public void testBug303200_01() throws Exception {
Bug303200TestLanguageParser parser = get(Bug303200TestLanguageParser.class);
Collection<FollowElement> followElements = parser.getFollowElements("function f() {", false);
assertEquals(4, followElements.size());
}
use of org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr.Bug303200TestLanguageParser in project xtext-eclipse by eclipse.
the class Bug303200Test method testBug303200_03.
@Test
public void testBug303200_03() throws Exception {
Bug303200TestLanguageParser parser = get(Bug303200TestLanguageParser.class);
Collection<FollowElement> followElements = Lists.newArrayList(parser.getFollowElements("function f() {} function f() {", false));
assertEquals(4, followElements.size());
}
Aggregations