@Test @Ignore public void testCleanFloating() { Vme vme = new Vme(); MultiLingualString mls = new MultiLingualString(); vme.setName(mls); dao.persist(vme); assertEquals(1, dao.loadObjects(MultiLingualString.class).size()); MultiLingualString mls2 = u.english("car"); dao.persist(mls2); assertEquals(2, dao.loadObjects(MultiLingualString.class).size()); c.cleanFloating(); assertEquals(1, dao.loadObjects(MultiLingualString.class).size()); }
/** Devel Total size is 6995 Total deleted is 5395 */ @Test public void cleanFloating() { c.cleanFloating(); }