Package com.taskadapter.redmineapi.bean

Examples of com.taskadapter.redmineapi.bean.Changeset


        return result;
  }
 
  public static Changeset parseChangeset(JSONObject content)
      throws JSONException {
    final Changeset result = new Changeset();
    result.setRevision(JsonInput.getStringOrNull(content, "revision"));
    result.setUser(JsonInput.getObjectOrNull(content, "user", USER_PARSER));
    result.setComments(JsonInput.getStringOrNull(content, "comments"));
    result.setCommittedOn(getDateOrNull(content, "committed_on"));
    return result;
  }
View Full Code Here


    @Ignore
    @Test
    public void testChangesets() throws RedmineException {
        final Issue issue = issueManager.getIssueById(89, Include.changesets);
        assertThat(issue.getChangesets().size()).isEqualTo(2);
        final Changeset firstChange = issue.getChangesets().iterator().next();
        assertNotNull(firstChange.getComments());
    }
View Full Code Here

TOP

Related Classes of com.taskadapter.redmineapi.bean.Changeset

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.