@Test public void should_create_good_build_url() { String testUrl = hudsonUrlBuilder.getBuildUrl("struts", 7); assertEquals("http: }
public String getBuildUrl(String jobName, int buildNumber) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + "/" + buildNumber + API_XML; }
HudsonUrlBuilder { public String getBuildUrl(String jobName, int buildNumber) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + "/" + buildNumber + API_XML; } }
HudsonUrlBuilder { public String getBuildUrl(String jobName, int buildNumber) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + "/" + buildNumber + API_XML; } HudsonUrlBuilder(String hudsonUrl); }
HudsonUrlBuilder { public String getBuildUrl(String jobName, int buildNumber) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + "/" + buildNumber + API_XML; } HudsonUrlBuilder(String hudsonUrl); String getTestResultUrl(String jobName, int buildNumber); String getPomUrl(String jobName); String getAllProjectsUrl(); String getJobUrl(String jobName); String getBuildUrl(String jobName, int buildNumber); String getUserUrl(String userName); String getViewUrl(String viewName); }
HudsonUrlBuilder { public String getBuildUrl(String jobName, int buildNumber) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + "/" + buildNumber + API_XML; } HudsonUrlBuilder(String hudsonUrl); String getTestResultUrl(String jobName, int buildNumber); String getPomUrl(String jobName); String getAllProjectsUrl(); String getJobUrl(String jobName); String getBuildUrl(String jobName, int buildNumber); String getUserUrl(String userName); String getViewUrl(String viewName);  }