提交 6d06f38e 编写于 作者: K kohsuke

adding one more convenience method

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11567 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e1d95855
......@@ -190,7 +190,11 @@ public abstract class HudsonTestCase extends TestCase {
}
public HtmlPage getPage(Item item) throws IOException, SAXException {
return (HtmlPage)getPage("http://localhost:"+localPort+contextPath+item.getUrl());
return getPage(item,"");
}
public HtmlPage getPage(Item item, String relative) throws IOException, SAXException {
return (HtmlPage)getPage("http://localhost:"+localPort+contextPath+item.getUrl()+relative);
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册