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
1cb9b2644d
commit
b3a47fc3cd
1 file changed
+5
@@ -846,6 +846,11 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
|
||||
return (C)computerConnectorTester.connector;
|
||||
}
|
||||
|
||||
protected <V extends View> V configRoundtrip(V view) throws Exception {
|
||||
submit(createWebClient().getPage(view, "configure").getFormByName("viewConfig"));
|
||||
return view;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Asserts that the outcome of the build is a specific outcome.
|
||||
|
||||
Reference in new issue
Block a user