Fixed a test broken by rev.14457.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14487 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-01-14 21:19:50 +00:00
1 parent 316496aaa4
commit 211ca895ec
2 files changed
+12 -2

No files matched your search

@@ -415,6 +415,14 @@ public abstract class HudsonTestCase extends TestCase {
fail("Console output of "+run+" didn't contain "+substring);
}
/**
* Asserts that the XPath matches.
*/
public void assertXPath(HtmlPage page, String xpath) {
assertNotNull("There should be an object that matches XPath:"+xpath,
page.getDocumentElement().selectSingleNode(xpath));
}
/**
* Submits the form.
*/