use of org.eclipse.xtext.parser.parameters.parametersTestLanguage.ParserRuleParameters in project xtext-core by eclipse.
the class AbstractParametersParsingTest method testScenario4_id.
@Test
public void testScenario4_id() {
try {
final ParserRuleParameters instance = this.getModel("#4 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 testScenario3_keyword.
@Test
public void testScenario3_keyword() {
try {
final ParserRuleParameters instance = this.getModel("#3 keyword");
Assert.assertEquals("keyword", 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 testScenario7_id.
@Test
public void testScenario7_id() {
try {
final ParserRuleParameters instance = this.getModel("#7 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 testScenario10_id.
@Test
public void testScenario10_id() {
try {
final ParserRuleParameters instance = this.getModel("#10 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_keyword.
@Test
public void testScenario9_id_keyword() {
try {
final ParserRuleParameters instance = this.getModel("#9 id keyword");
Assert.assertEquals("id", instance.getScenario().getSecond());
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
Aggregations