use of org.eclipse.xtext.parser.parameters.parametersTestLanguage.ParserRuleParameters in project xtext-core by eclipse.
the class AbstractParametersParsingTest method testScenario9_keyword_keyword.
@Test
public void testScenario9_keyword_keyword() {
try {
final ParserRuleParameters instance = this.getModel("#9 keyword keyword");
Assert.assertEquals("keyword", instance.getScenario().getSecond());
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
use of org.eclipse.xtext.parser.parameters.parametersTestLanguage.ParserRuleParameters in project xtext-core by eclipse.
the class AbstractParametersParsingTest method testScenario10_keyword_keyword.
@Test
public void testScenario10_keyword_keyword() {
try {
final ParserRuleParameters instance = this.getModel("#10 keyword keyword");
Assert.assertEquals("keyword", instance.getScenario().getSecond());
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
use of org.eclipse.xtext.parser.parameters.parametersTestLanguage.ParserRuleParameters in project xtext-core by eclipse.
the class AbstractParametersParsingTest method testScenario3_id.
@Test
public void testScenario3_id() {
try {
final ParserRuleParameters instance = this.getModel("#3 id");
Assert.assertEquals("id", instance.getScenario().getFirst());
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
use of org.eclipse.xtext.parser.parameters.parametersTestLanguage.ParserRuleParameters in project xtext-core by eclipse.
the class AbstractParametersParsingTest method testScenario9_id.
@Test
public void testScenario9_id() {
try {
final ParserRuleParameters instance = this.getModel("#9 id");
Assert.assertEquals("id", instance.getScenario().getFirst());
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
use of org.eclipse.xtext.parser.parameters.parametersTestLanguage.ParserRuleParameters in project xtext-core by eclipse.
the class AbstractParametersParsingTest method testScenario1_first.
@Test
public void testScenario1_first() {
try {
final ParserRuleParameters instance = this.getModel("#1 first");
Assert.assertEquals("first", instance.getScenario().getFirst());
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
Aggregations