提交 ef61325f 编写于 作者: K kohsuke

added a sanity checking test

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31439 71c3de6d-444a-0410-be80-ed276b4c234a
上级 fc9634e2
...@@ -50,6 +50,13 @@ import java.util.List; ...@@ -50,6 +50,13 @@ import java.util.List;
* @author Kohsuke Kawaguchi * @author Kohsuke Kawaguchi
*/ */
public class HudsonTest extends HudsonTestCase { public class HudsonTest extends HudsonTestCase {
/**
* Tests the basic UI sanity and HtmlUnit set up.
*/
public void testGlobalConfigRoundtrip() throws Exception {
submit(createWebClient().goTo("configure").getFormByName("config"));
}
/** /**
* Performs a very basic round-trip of a non-empty system configuration screen. * Performs a very basic round-trip of a non-empty system configuration screen.
* This makes sure that the structured form submission is working (to some limited extent.) * This makes sure that the structured form submission is working (to some limited extent.)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册