Removed test case triggering new validation rule

The validation rule was introduced in
73fd155426

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
This commit is contained in:
Moritz Eysholdt 2016-10-07 15:17:03 +02:00 committed by Moritz Eysholdt
parent 88b34d57c8
commit 127b2af797
2 changed files with 1 additions and 16 deletions

View file

@ -18,8 +18,7 @@ Model: ('1'? value = ('mykeyword1' | STRING | NestedDatatype | Datatype | ID
| ('4' value = NestedDatatype)
| ('4+' multiValue += NestedDatatype)
|
('content' children = Child)
('ref' ref = ([Child1|STRING] | [Child2|ID]))?;
('content' children = Child);
Datatype: ID '-' ID;

View file

@ -388,18 +388,4 @@ public class Bug250313Test extends AbstractXtextTests {
// if this is a bug, all assertions 'assertEquals(1, convertCallCount)' have to be increased
assertEquals(lexerRule, 0, convertCallCount);
}
@Test public void testChild1_01() throws Exception {
// tests only, if crossrefs in alternatives work
Model model = (Model) getModel("content str ref 'str'");
assertEquals("str", model.getRef().getName());
assertEquals(lexerRule, 2, convertCallCount);
}
@Test public void testChild2_01() throws Exception {
// tests only, if crossrefs in alternatives work
Model model = (Model) getModel("content 'str' ref str");
assertEquals("str", model.getRef().getName());
assertEquals(lexerRule, 2, convertCallCount);
}
}