From: <no...@us...> - 2003-09-03 19:48:29
|
Log Message: ----------- Added some javadoc Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host: WindowTest.java Revision Data ------------- Index: WindowTest.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/WindowTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- WindowTest.java 3 Sep 2003 19:15:56 -0000 1.6 +++ WindowTest.java 3 Sep 2003 19:47:58 -0000 1.7 @@ -64,11 +64,18 @@ * @author <a href="mailto:che...@us...">Chen Jun</a> */ public class WindowTest extends WebTestCase { + /** + * Create an instance + * @param name The name of the test + */ public WindowTest( final String name ) { super(name); } + /** + * @throws Exception If the test fails + */ public void testSetLocation() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = new FakeWebConnection( webClient ); @@ -102,6 +109,9 @@ } + /** + * @throws Exception If the test fails + */ public void testOpenWindow() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = new FakeWebConnection( webClient ); @@ -234,6 +244,9 @@ } + /** + * @throws Exception If the test fails + */ public void testParentAndTop() throws Exception { final String firstContent @@ -285,6 +298,9 @@ } + /** + * @throws Exception If the test fails + */ public void testConfirm() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = new FakeWebConnection( webClient ); @@ -316,6 +332,9 @@ } + /** + * @throws Exception If the test fails + */ public void testConfirm_noConfirmHandler() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = new FakeWebConnection( webClient ); @@ -341,6 +360,9 @@ } + /** + * @throws Exception If the test fails + */ public void testPrompt() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = new FakeWebConnection( webClient ); @@ -372,6 +394,9 @@ } + /** + * @throws Exception If the test fails + */ public void testPrompt_noPromptHandler() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = new FakeWebConnection( webClient ); @@ -397,6 +422,9 @@ } + /** + * @throws Exception If the test fails + */ public void testOpener() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = new FakeWebConnection( webClient ); @@ -449,6 +477,9 @@ } + /** + * @throws Exception If the test fails + */ public void testSetTimeout() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = new FakeWebConnection( webClient ); @@ -480,6 +511,9 @@ } + /** + * @throws Exception If the test fails + */ public void testAboutURL() throws Exception { final WebClient webClient = new WebClient(); final FakeWebConnection webConnection = |