assertException(e, D.D30128);
}
}
public void test_create_schema4_based_on_schema1a_and_override_attribute() {
UpdatableSchema schema1 = null;
try {
UpdatableSchema schema4 = db.createSchema("schema4", "schema1a");
Schema s = schema4.resolve();
assertEquals("prop1", s.getAttributeDefinition(1, true).getName());
schema4.addAttribute(1);
schema4.eraseAttribute(1);
assertEquals(true, schema4.getAttributeDefinition(1, true).isErasing());
assertEquals("fou", s.getSeriesDefinition(1, true).getName());
schema4.setAttributeProperty(1, db.getProperty("prop1", true));
schema4.setAttributeDefault(1, "t1v1");
schema4.applyUpdates();
schema1 = db.getSchemas("schema1a").iterator().next().edit();
schema1.setBase(schema4);
schema1.applyUpdates();
expectException();
} catch (Exception e) {