use of org.abs_models.frontend.ast.InterfaceDecl in project abstools by abstools.
the class DeltaSamplesTest method test_ticket322_P.
@Test
public void test_ticket322_P() throws Exception {
Model m = assertTypeCheckFileOk("abssamples/deltas/bug322.abs");
m.flattenForProduct("P");
m.flushCache();
assertFalse(m.hasErrors());
assertFalse(m.hasTypeErrors());
InterfaceDecl i = (InterfaceDecl) DeltaTest.findDecl(m, "M", "I");
assertNotNull(i);
InterfaceDecl j = (InterfaceDecl) DeltaTest.findDecl(m, "M", "J");
assertNotNull(j);
}
use of org.abs_models.frontend.ast.InterfaceDecl in project abstools by abstools.
the class DeltaSamplesTest method test_ticket322_Q.
@Test
public void test_ticket322_Q() throws Exception {
Model m = assertTypeCheckFileOk("abssamples/deltas/bug322.abs");
m.flattenForProduct("Q");
m.flushCache();
assertFalse(m.hasErrors());
assertFalse(m.hasTypeErrors());
InterfaceDecl i = (InterfaceDecl) DeltaTest.findDecl(m, "M", "I");
assertNull(i);
InterfaceDecl j = (InterfaceDecl) DeltaTest.findDecl(m, "M", "J");
assertNull(j);
}
Aggregations