use of org.sonarqube.ws.client.projectlinks.SearchWsRequest in project sonarqube by SonarSource.
the class LinksTest method verifyLinks.
private void verifyLinks() {
WsClient wsClient = ItUtils.newWsClient(orchestrator);
List<WsProjectLinks.Link> links = wsClient.projectLinks().search(new SearchWsRequest().setProjectKey(PROJECT_KEY)).getLinksList();
verifyLink(links, "homepage", "http://www.simplesample.org_OVERRIDDEN");
verifyLink(links, "ci", "http://bamboo.ci.codehaus.org/browse/SIMPLESAMPLE");
verifyLink(links, "issue", "http://jira.codehaus.org/browse/SIMPLESAMPLE");
verifyLink(links, "scm", "https://github.com/SonarSource/simplesample");
verifyLink(links, "scm_dev", "scm:git:git@github.com:SonarSource/simplesample.git");
}
Aggregations