示例#1
0
  public void validateResourceResponse(
      RepositoryGroupResource expected, RepositoryGroupResource actual) throws IOException {
    Assert.assertEquals(actual.getId(), expected.getId());
    Assert.assertEquals(actual.getName(), expected.getName());
    Assert.assertEquals(actual.getFormat(), expected.getFormat());

    LOG.debug("group repos: " + expected.getRepositories());
    LOG.debug("other repos: " + actual.getRepositories());

    validateRepoLists(expected.getRepositories(), actual.getRepositories());

    // check nexus.xml
    this.validateRepoInNexusConfig(actual);
  }