mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
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:
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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user