mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
added a convenience method
This commit is contained in:
1 parent
9daa2288ee
commit
b4e0c797a9
1 file changed
+7
@@ -671,6 +671,13 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
|
||||
return new WebClient().search(q);
|
||||
}
|
||||
|
||||
/**
|
||||
* Hits the Hudson system configuration and submits without any modification.
|
||||
*/
|
||||
protected void configRoundtrip() throws Exception {
|
||||
submit(createWebClient().goTo("configure").getFormByName("config"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads a configuration page and submits it without any modifications, to
|
||||
* perform a round-trip configuration test.
|
||||
|
||||
Reference in new issue
Block a user