Ejemplo n.º 1
0
  @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());
  }
Ejemplo n.º 2
0
 /** Devel Total size is 6995 Total deleted is 5395 */
 @Test
 public void cleanFloating() {
   c.cleanFloating();
 }