added another configRoundtrip method

This commit is contained in:
Kohsuke Kawaguchi committed 2011-03-18 21:15:56 -07:00
1 parent 36ddba6bfb
commit 08b7541d76
1 file changed
+5
@@ -788,6 +788,11 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
return (C)computerConnectorTester.connector;
}
protected User configRoundtrip(User u) throws Exception {
submit(createWebClient().goTo(u.getUrl()+"/configure").getFormByName("config"));
return u;
}
/**
* Asserts that the outcome of the build is a specific outcome.