Package com.atlassian.jira.rest.client

Examples of com.atlassian.jira.rest.client.BasicComponentNameExtractionFunction


    assertNotNull(issue.getDueDate());
    assertEquals(toDateTimeFromIsoDate("2010-07-05"), issue.getDueDate());
    assertEquals(4, Iterables.size(issue.getAttachments()));
    assertEquals(1, Iterables.size(issue.getIssueLinks()));
    assertEquals(1.457, issue.getField("customfield_10000").getValue());
    assertThat(Iterables.transform(issue.getComponents(), new BasicComponentNameExtractionFunction()), containsInAnyOrder("Component A", "Component B"));
    assertEquals(2, Iterables.size(issue.getWorklogs()));
    assertEquals(1, issue.getWatchers().getNumWatchers());
    assertFalse(issue.getWatchers().isWatching());
    assertEquals(new TimeTracking(2700, 2220, 180), issue.getTimeTracking());
View Full Code Here


  }


  private void assertProjectHasComponents(String ...names) {
    assertThat(Iterables.transform(client.getProjectClient().getProject("TST", pm).getComponents(),
        new BasicComponentNameExtractionFunction()), containsInAnyOrder(names));
  }
View Full Code Here

  }


  private void assertProjectHasComponents(String... names) {
    assertThat(Iterables.transform(client.getProjectClient().getProject("TST").claim().getComponents(),
        new BasicComponentNameExtractionFunction()), containsInAnyOrder(names));
  }
View Full Code Here

  }


  private void assertProjectHasComponents(String... names) {
    assertThat(Iterables.transform(client.getProjectClient().getProject("TST").claim().getComponents(),
        new BasicComponentNameExtractionFunction()), containsInAnyOrder(names));
  }
View Full Code Here

    assertEquals(toDateTimeFromIsoDate("2010-07-05"), issue.getDueDate());
    assertEquals(4, Iterables.size(issue.getAttachments()));
    assertEquals(1, Iterables.size(issue.getIssueLinks()));
    assertEquals(1.457, issue.getField("customfield_10000").getValue());
    assertThat(Iterables.transform(issue
        .getComponents(), new BasicComponentNameExtractionFunction()), containsInAnyOrder("Component A", "Component B"));
    assertEquals(2, Iterables.size(issue.getWorklogs()));
    assertEquals(1, issue.getWatchers().getNumWatchers());
    assertFalse(issue.getWatchers().isWatching());
    assertEquals(new TimeTracking(2700, 2220, 180), issue.getTimeTracking());
View Full Code Here

    assertNotNull(issue.getDueDate());
    assertEquals(toDateTimeFromIsoDate("2010-07-05"), issue.getDueDate());
    assertEquals(4, Iterables.size(issue.getAttachments()));
    assertEquals(1, Iterables.size(issue.getIssueLinks()));
    assertEquals(1.457, issue.getField("customfield_10000").getValue());
    assertThat(Iterables.transform(issue.getComponents(), new BasicComponentNameExtractionFunction()), containsInAnyOrder("Component A", "Component B"));
    assertEquals(2, Iterables.size(issue.getWorklogs()));
    assertEquals(1, issue.getWatchers().getNumWatchers());
    assertFalse(issue.getWatchers().isWatching());
    assertEquals(new TimeTracking(2700, 2220, 180), issue.getTimeTracking());
View Full Code Here

TOP

Related Classes of com.atlassian.jira.rest.client.BasicComponentNameExtractionFunction

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.