@Test public void should_create_good_project_url() { String testUrl = hudsonUrlBuilder.getJobUrl("struts"); assertEquals("http: }
public String getJobUrl(String jobName) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + API_XML; }
HudsonUrlBuilder { public String getJobUrl(String jobName) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + API_XML; } }
HudsonUrlBuilder { public String getJobUrl(String jobName) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + API_XML; } HudsonUrlBuilder(String hudsonUrl); }
HudsonUrlBuilder { public String getJobUrl(String jobName) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + 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 getJobUrl(String jobName) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + 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);  }