Package net.sf.redmine_mylyn.api.model.container

Examples of net.sf.redmine_mylyn.api.model.container.Journals


      lst.add(buildCustomValue(11, 6, "2.05"));
      lst.add(buildCustomValue(12, 1, "Oracle"));
      lst.add(buildCustomValue(13, 9, "2009-12-01"));
     
      /* Journals */
      issue.setJournals(new Journals());
      lst = getList(issue.getJournals());
      lst.add(buildJournal(3, 2, 1273356000000l, "A comment with inline image: !picture.jpg!"));
     
      /* Attachments */
      issue.setAttachments(new Attachments());
View Full Code Here


    assertEquals(3, cfs.getAll().size());
    assertEquals(10, cfs.get(10).getId());
    assertEquals(6, cfs.get(10).getCustomFieldId());
    assertEquals("2.1", cfs.get(10).getValue());

    Journals comments = obj.getJournals();
    assertEquals(2, comments.getAll().size());
    assertEquals(2, comments.get(2).getId());
    assertEquals(2, comments.get(2).getUserId());
    assertEquals(1273356000000l, comments.get(2).getCreatedOn().getTime());
    assertEquals("Some notes with Redmine links: #2, r2.", comments.get(2).getNotes());
   
    Attachments attachments = obj.getAttachments();
    assertEquals(0, attachments.getAll().size());
   
    //IssueRelations
View Full Code Here

TOP

Related Classes of net.sf.redmine_mylyn.api.model.container.Journals

Copyright © 2018 www.massapicom. 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.