Examples of TrivialLineMarkup


Examples of net.sf.collabreview.core.markup.TrivialLineMarkup

    assertEquals(me, loaded.getMarkup().get(0));
  }

  public void testLoadArtifactInNewSession() {
    Artifact a = new HibernateArtifact(createIdentifier(1), null, new Date(), "bula bula");
    MarkupElement me = new TrivialLineMarkup(0, 5);
    a.getMarkup().add(me);
    HibernateUtil.save(a);
    HibernateUtil.closeSession();
    Artifact loaded = (Artifact) HibernateUtil.getCurrentSession().get(HibernateArtifact.class, a.getId().getPk());
    assertNotNull(loaded);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.