From 28e7132c6d327cf596f1447b4ffc5543f819972a Mon Sep 17 00:00:00 2001
From: "(no author)" <(no author)@18797224-902f-48f8-a5cc-f745e15eee43>
Date: Mon, 8 Jan 2001 23:24:12 +0000
Subject: [PATCH] This commit was manufactured by cvs2svn to create branch
'JAVADEV_RTM_20001102'.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@84613 18797224-902f-48f8-a5cc-f745e15eee43
---
mozilla/java/webclient/test/automated/README | 7 +
.../java/webclient/test/automated/README.html | 7 +
.../java/webclient/test/automated/all_files | 95 +
.../test/automated/build/Killer/Makefile.win | 33 +
.../webclient/test/automated/build/Makefile | 45 +
.../test/automated/build/Makefile.win | 48 +
.../test/automated/build/classes/Makefile | 49 +
.../test/automated/build/classes/Makefile.win | 53 +
.../test/automated/build/test/basic/Makefile | 129 +
.../automated/build/test/basic/Makefile.win | 122 +
.../test/automated/config/CommonProperties | 143 +
.../automated/doc/BWTest_with_comments.txt | 19 +
.../test/automated/doc/BookmarkEntry.html | 166 +
.../test/automated/doc/Bookmarks.html | 72 +
.../automated/doc/BrowserControlCanvas.html | 68 +
.../test/automated/doc/CurrentPage.html | 118 +
.../test/automated/doc/EventRegistration.html | 71 +
.../webclient/test/automated/doc/History.html | 157 +
.../test/automated/doc/Navigation.html | 61 +
.../test/automated/doc/StressTests.html | 41 +
.../doc/queried_interfaces_tests.txt | 197 +
.../webclient/test/automated/doc/spec.txt | 82 +
.../webclient/test/automated/doc/spec1.txt | 33 +
.../test/automated/doc/testdoc_template.html | 14 +
.../test/automated/doc/tests_counts.txt | 147 +
.../webclient/test/automated/log/dummy.txt | 0
.../test/automated/src/Killer/Killer.cpp | 127 +
.../test/automated/src/Killer/README | 12 +
.../webclient/test/basic/CheckingThread.java | 55 +
.../mozilla/webclient/test/basic/Test.java | 35 +
.../webclient/test/basic/TestContext.java | 295 +
.../test/basic/TestDocLoadListener.java | 48 +
.../webclient/test/basic/TestLoader.java | 150 +
.../webclient/test/basic/TestRunner.java | 215 +
.../webclient/test/basic/TestWindow.java | 104 +
.../basic/api/BookmarkEntry_children.java | 168 +
.../api/BookmarkEntry_getAllowsChildren.java | 156 +
.../basic/api/BookmarkEntry_getChildAt.java | 183 +
.../api/BookmarkEntry_getChildCount.java | 139 +
.../basic/api/BookmarkEntry_getIndex.java | 158 +
.../basic/api/BookmarkEntry_getParent.java | 139 +
.../api/BookmarkEntry_getProperties.java | 121 +
.../test/basic/api/BookmarkEntry_insert.java | 118 +
.../basic/api/BookmarkEntry_isFolder.java | 145 +
.../test/basic/api/BookmarkEntry_isLeaf.java | 115 +
.../api/BookmarkEntry_removeFromParent.java | 89 +
.../basic/api/BookmarkEntry_remove_1.java | 94 +
.../basic/api/BookmarkEntry_remove_2.java | 93 +
.../basic/api/BookmarkEntry_setParent.java | 102 +
.../api/BookmarkEntry_setUserObject.java | 89 +
.../test/basic/api/Bookmarks_addBookmark.java | 161 +
.../basic/api/Bookmarks_getBookmarks.java | 98 +
.../basic/api/Bookmarks_newBookmarkEntry.java | 105 +
.../api/Bookmarks_newBookmarkFolder.java | 98 +
.../basic/api/Bookmarks_removeBookmark.java | 164 +
.../api/BrowserControlCanvas_addNotify.java | 75 +
.../api/BrowserControlCanvas_getWebShell.java | 82 +
.../api/BrowserControlCanvas_setBounds.java | 135 +
.../BrowserControlCanvas_setBounds_rect.java | 139 +
.../basic/api/CurrentPage_copyCurSel.java | 178 +
.../basic/api/CurrentPage_findInPage_1.java | 209 +
.../test/basic/api/CurrentPage_getCurURL.java | 153 +
.../test/basic/api/CurrentPage_getDOM.java | 140 +
.../basic/api/CurrentPage_getPageInfo.java | 114 +
.../test/basic/api/CurrentPage_getSource.java | 126 +
.../basic/api/CurrentPage_getSourceBytes.java | 130 +
.../test/basic/api/CurrentPage_resetFind.java | 162 +
.../test/basic/api/CurrentPage_selectAll.java | 149 +
...ventRegistration_addDocLoadListener_1.java | 147 +
...ventRegistration_addDocLoadListener_2.java | 198 +
...entRegistration_removeDocLoadListener.java | 140 +
...entRegistration_removeMouseListener_1.java | 160 +
.../test/basic/api/History_back.java | 134 +
.../test/basic/api/History_canBack.java | 114 +
.../test/basic/api/History_canForward.java | 114 +
.../test/basic/api/History_clearHistory.java | 97 +
.../test/basic/api/History_forward.java | 124 +
.../test/basic/api/History_getBackList.java | 146 +
.../api/History_getCurrentHistoryIndex.java | 113 +
.../basic/api/History_getForwardList.java | 144 +
.../test/basic/api/History_getHistory.java | 153 +
.../basic/api/History_getHistoryEntry.java | 100 +
.../basic/api/History_getHistoryLength.java | 79 +
.../basic/api/History_getURLForIndex.java | 106 +
.../api/History_setCurrentHistoryIndex.java | 144 +
.../basic/api/Navigation_loadFromStream.java | 177 +
.../test/basic/api/Navigation_loadURL_1.java | 115 +
.../test/basic/api/Navigation_loadURL_2.java | 129 +
.../test/basic/api/Navigation_loadURL_3.java | 100 +
.../test/basic/api/Navigation_refresh_1.java | 127 +
.../test/basic/api/Navigation_refresh_2.java | 109 +
.../test/basic/api/Navigation_stop.java | 132 +
.../basic/api/WindowControl_createWindow.java | 98 +
.../api/WindowControl_getNativeWebShell.java | 84 +
.../basic/api/WindowControl_moveWindowTo.java | 108 +
.../basic/api/WindowControl_setBounds.java | 104 +
.../basic/mixed/CurrentPage_findInPage_2.java | 128 +
.../mixed/CurrentPage_findNextInPage.java | 160 +
.../EventRegistration_addMouseListener_1.java | 148 +
.../EventRegistration_addMouseListener_2.java | 233 +
...entRegistration_removeMouseListener_2.java | 135 +
.../mixed/WindowControl_moveWindowTo.java | 93 +
.../mixed/WindowControl_removeFocus.java | 99 +
.../basic/mixed/WindowControl_setBounds.java | 106 +
.../basic/mixed/WindowControl_setFocus.java | 100 +
.../basic/mixed/WindowControl_setVisible.java | 91 +
.../webclient/test/basic/stress/LongBack.java | 88 +
.../webclient/test/basic/stress/LongLoad.java | 86 +
.../webclient/test/basic/stress/Refresh.java | 128 +
.../test/automated/src/run/BWMixedTest.lst | 20 +
.../test/automated/src/run/BWTest.lst | 208 +
.../test/automated/src/run/autorun.pl | 636 ++
.../test/automated/src/run/forceful.pl | 101 +
.../test/automated/src/test/basic/Waiting.cgi | 7 +
.../basic/api/BookmarkEntry_children/Test.lst | 3 +
.../api/BookmarkEntry_children/TestProperties | 2 +
.../BookmarkEntry_getAllowsChildren/Test.lst | 4 +
.../TestProperties | 2 +
.../api/BookmarkEntry_getChildAt/Test.lst | 5 +
.../BookmarkEntry_getChildAt/TestProperties | 2 +
.../api/BookmarkEntry_getChildCount/Test.lst | 3 +
.../TestProperties | 2 +
.../basic/api/BookmarkEntry_getIndex/Test.lst | 5 +
.../api/BookmarkEntry_getIndex/TestProperties | 2 +
.../api/BookmarkEntry_getParent/Test.lst | 4 +
.../BookmarkEntry_getParent/TestProperties | 2 +
.../api/BookmarkEntry_getProperties/Test.lst | 3 +
.../TestProperties | 2 +
.../basic/api/BookmarkEntry_insert/Test.lst | 5 +
.../api/BookmarkEntry_insert/TestProperties | 2 +
.../basic/api/BookmarkEntry_isFolder/Test.lst | 4 +
.../api/BookmarkEntry_isFolder/TestProperties | 2 +
.../basic/api/BookmarkEntry_isLeaf/Test.lst | 2 +
.../api/BookmarkEntry_isLeaf/TestProperties | 2 +
.../BookmarkEntry_removeFromParent/Test.lst | 2 +
.../TestProperties | 2 +
.../basic/api/BookmarkEntry_remove_1/Test.lst | 4 +
.../api/BookmarkEntry_remove_1/TestProperties | 2 +
.../basic/api/BookmarkEntry_remove_2/Test.lst | 2 +
.../api/BookmarkEntry_remove_2/TestProperties | 2 +
.../api/BookmarkEntry_setParent/Test.lst | 2 +
.../BookmarkEntry_setParent/TestProperties | 2 +
.../api/BookmarkEntry_setUserObject/Test.lst | 2 +
.../TestProperties | 2 +
.../basic/api/Bookmarks_addBookmark/Test.lst | 6 +
.../api/Bookmarks_addBookmark/TestProperties | 3 +
.../basic/api/Bookmarks_getBookmarks/Test.lst | 1 +
.../api/Bookmarks_getBookmarks/TestProperties | 3 +
.../api/Bookmarks_newBookmarkEntry/Test.lst | 3 +
.../Bookmarks_newBookmarkEntry/TestProperties | 3 +
.../api/Bookmarks_newBookmarkFolder/Test.lst | 3 +
.../TestProperties | 3 +
.../api/Bookmarks_removeBookmark/Test.lst | 3 +
.../Bookmarks_removeBookmark/TestProperties | 3 +
.../BrowserControlCanvas_addNotify/Test.lst | 1 +
.../TestProperties | 3 +
.../BrowserControlCanvas_getWebShell/Test.lst | 1 +
.../TestProperties | 3 +
.../BrowserControlCanvas_setBounds/Test.lst | 15 +
.../TestProperties | 3 +
.../Test.lst | 2 +
.../TestProperties | 3 +
.../basic/api/CurrentPage_copyCurSel/Test.lst | 3 +
.../api/CurrentPage_copyCurSel/TestProperties | 2 +
.../api/CurrentPage_findInPage_1/Test.lst | 5 +
.../CurrentPage_findInPage_1/TestProperties | 2 +
.../basic/api/CurrentPage_getCurURL/Test.lst | 3 +
.../api/CurrentPage_getCurURL/TestProperties | 2 +
.../basic/api/CurrentPage_getDOM/Test.lst | 2 +
.../api/CurrentPage_getDOM/TestProperties | 2 +
.../api/CurrentPage_getPageInfo/Test.lst | 3 +
.../CurrentPage_getPageInfo/TestProperties | 2 +
.../basic/api/CurrentPage_getSource/Test.lst | 2 +
.../api/CurrentPage_getSource/TestProperties | 2 +
.../api/CurrentPage_getSourceBytes/Test.lst | 4 +
.../CurrentPage_getSourceBytes/TestProperties | 2 +
.../basic/api/CurrentPage_resetFind/Test.lst | 3 +
.../api/CurrentPage_resetFind/TestProperties | 2 +
.../basic/api/CurrentPage_selectAll/Test.lst | 2 +
.../api/CurrentPage_selectAll/TestProperties | 2 +
.../Test.lst | 8 +
.../TestProperties | 2 +
.../Test.lst | 3 +
.../TestProperties | 2 +
.../Test.lst | 3 +
.../TestProperties | 2 +
.../Test.lst | 3 +
.../TestProperties | 2 +
.../test/basic/api/History_back_1/Test.lst | 2 +
.../basic/api/History_back_1/TestProperties | 4 +
.../test/basic/api/History_back_2/Test.lst | 1 +
.../basic/api/History_back_2/TestProperties | 3 +
.../test/basic/api/History_canBack_1/Test.lst | 2 +
.../api/History_canBack_1/TestProperties | 3 +
.../test/basic/api/History_canBack_2/Test.lst | 1 +
.../api/History_canBack_2/TestProperties | 3 +
.../basic/api/History_canForward_1/Test.lst | 2 +
.../api/History_canForward_1/TestProperties | 3 +
.../basic/api/History_canForward_2/Test.lst | 1 +
.../api/History_canForward_2/TestProperties | 3 +
.../basic/api/History_clearHistory_1/Test.lst | 1 +
.../api/History_clearHistory_1/TestProperties | 3 +
.../basic/api/History_clearHistory_2/Test.lst | 1 +
.../api/History_clearHistory_2/TestProperties | 3 +
.../test/basic/api/History_forward_1/Test.lst | 2 +
.../api/History_forward_1/TestProperties | 3 +
.../test/basic/api/History_forward_2/Test.lst | 1 +
.../api/History_forward_2/TestProperties | 3 +
.../basic/api/History_getBackList/Test.lst | 4 +
.../api/History_getBackList/TestProperties | 3 +
.../History_getCurrentHistoryIndex/Test.lst | 5 +
.../TestProperties | 4 +
.../basic/api/History_getForwardList/Test.lst | 4 +
.../api/History_getForwardList/TestProperties | 3 +
.../api/History_getHistoryEntry/Test.lst | 4 +
.../History_getHistoryEntry/TestProperties | 3 +
.../api/History_getHistoryLength_1/Test.lst | 1 +
.../History_getHistoryLength_1/TestProperties | 3 +
.../api/History_getHistoryLength_2/Test.lst | 1 +
.../History_getHistoryLength_2/TestProperties | 3 +
.../basic/api/History_getHistory_1/Test.lst | 1 +
.../api/History_getHistory_1/TestProperties | 3 +
.../basic/api/History_getHistory_2/Test.lst | 3 +
.../api/History_getHistory_2/TestProperties | 3 +
.../History_getURLForIndex.lst | 4 +
.../basic/api/History_getURLForIndex/Test.lst | 4 +
.../api/History_getURLForIndex/TestProperties | 4 +
.../History_setCurrentHistoryIndex_1/Test.lst | 5 +
.../TestProperties | 3 +
.../History_setCurrentHistoryIndex_2/Test.lst | 1 +
.../TestProperties | 3 +
.../api/Navigation_loadFromStream/Test.lst | 5 +
.../Navigation_loadFromStream/TestProperties | 2 +
.../basic/api/Navigation_loadURL_1/Test.lst | 3 +
.../api/Navigation_loadURL_1/TestProperties | 2 +
.../basic/api/Navigation_loadURL_2/Test.lst | 3 +
.../api/Navigation_loadURL_2/TestProperties | 2 +
.../basic/api/Navigation_loadURL_3/Test.lst | 4 +
.../api/Navigation_loadURL_3/TestProperties | 2 +
.../basic/api/Navigation_refresh_1/Test.lst | 4 +
.../api/Navigation_refresh_1/TestProperties | 2 +
.../basic/api/Navigation_refresh_2/Test.lst | 4 +
.../api/Navigation_refresh_2/TestProperties | 2 +
.../test/basic/api/Navigation_stop/Test.lst | 3 +
.../basic/api/Navigation_stop/TestProperties | 2 +
.../api/WindowControl_createWindow/Test.lst | 5 +
.../WindowControl_createWindow/TestProperties | 3 +
.../TestProperties | 3 +
.../api/WindowControl_moveWindowTo/Test.lst | 9 +
.../WindowControl_moveWindowTo/TestProperties | 4 +
.../api/WindowControl_setBounds/Test.lst | 4 +
.../WindowControl_setBounds/TestProperties | 3 +
.../automated/src/test/basic/bastest1.html | 30 +
.../automated/src/test/basic/bastest11.html | 25 +
.../automated/src/test/basic/bastest2.html | 30 +
.../automated/src/test/basic/bastest3.html | 29 +
.../automated/src/test/basic/bastest4.html | 29 +
.../automated/src/test/basic/bastest5.html | 29 +
.../automated/src/test/basic/bastest6.html | 29 +
.../automated/src/test/basic/bastest7.html | 29 +
.../automated/src/test/basic/bastest8.html | 29 +
.../automated/src/test/basic/bastest9.html | 29 +
.../mixed/CurrentPage_findInPage_2/Test.lst | 4 +
.../CurrentPage_findInPage_2/TestProperties | 2 +
.../CurrentPage_findInPage_2/findInPage.html | 31 +
.../mixed/CurrentPage_findNextInPage/Test.lst | 4 +
.../CurrentPage_findNextInPage/TestProperties | 2 +
.../findNextInPage.html | 28 +
.../Test.lst | 6 +
.../TestProperties | 2 +
.../Test.lst | 3 +
.../TestProperties | 2 +
.../Test.lst | 3 +
.../TestProperties | 2 +
.../mixed/WindowControl_moveWindowTo/Test.lst | 2 +
.../WindowControl_moveWindowTo/TestProperties | 4 +
.../WindowControl_removeFocus/TestProperties | 3 +
.../mixed/WindowControl_setBounds/Test.lst | 2 +
.../WindowControl_setBounds/TestProperties | 3 +
.../WindowControl_setFocus/TestProperties | 3 +
.../mixed/WindowControl_setVisible/Test.lst | 2 +
.../WindowControl_setVisible/TestProperties | 5 +
.../automated/src/test/basic/remfocus.html | 46 +
.../automated/src/test/basic/setfocus.html | 46 +
.../automated/src/test/basic/stress/0.html | 22 +
.../automated/src/test/basic/stress/1.html | 22 +
.../automated/src/test/basic/stress/10.html | 22 +
.../automated/src/test/basic/stress/100.html | 22 +
.../automated/src/test/basic/stress/101.html | 22 +
.../automated/src/test/basic/stress/102.html | 22 +
.../automated/src/test/basic/stress/103.html | 22 +
.../automated/src/test/basic/stress/104.html | 22 +
.../automated/src/test/basic/stress/105.html | 22 +
.../automated/src/test/basic/stress/106.html | 22 +
.../automated/src/test/basic/stress/107.html | 22 +
.../automated/src/test/basic/stress/108.html | 22 +
.../automated/src/test/basic/stress/109.html | 22 +
.../automated/src/test/basic/stress/11.html | 22 +
.../automated/src/test/basic/stress/110.html | 22 +
.../automated/src/test/basic/stress/111.html | 22 +
.../automated/src/test/basic/stress/112.html | 22 +
.../automated/src/test/basic/stress/113.html | 22 +
.../automated/src/test/basic/stress/114.html | 22 +
.../automated/src/test/basic/stress/115.html | 22 +
.../automated/src/test/basic/stress/116.html | 22 +
.../automated/src/test/basic/stress/117.html | 22 +
.../automated/src/test/basic/stress/118.html | 22 +
.../automated/src/test/basic/stress/119.html | 22 +
.../automated/src/test/basic/stress/12.html | 22 +
.../automated/src/test/basic/stress/120.html | 22 +
.../automated/src/test/basic/stress/121.html | 22 +
.../automated/src/test/basic/stress/122.html | 22 +
.../automated/src/test/basic/stress/123.html | 22 +
.../automated/src/test/basic/stress/124.html | 22 +
.../automated/src/test/basic/stress/125.html | 22 +
.../automated/src/test/basic/stress/126.html | 22 +
.../automated/src/test/basic/stress/127.html | 22 +
.../automated/src/test/basic/stress/128.html | 22 +
.../automated/src/test/basic/stress/129.html | 22 +
.../automated/src/test/basic/stress/13.html | 22 +
.../automated/src/test/basic/stress/130.html | 22 +
.../automated/src/test/basic/stress/131.html | 22 +
.../automated/src/test/basic/stress/132.html | 22 +
.../automated/src/test/basic/stress/133.html | 22 +
.../automated/src/test/basic/stress/134.html | 22 +
.../automated/src/test/basic/stress/135.html | 22 +
.../automated/src/test/basic/stress/136.html | 22 +
.../automated/src/test/basic/stress/137.html | 22 +
.../automated/src/test/basic/stress/138.html | 22 +
.../automated/src/test/basic/stress/139.html | 22 +
.../automated/src/test/basic/stress/14.html | 22 +
.../automated/src/test/basic/stress/140.html | 22 +
.../automated/src/test/basic/stress/141.html | 22 +
.../automated/src/test/basic/stress/142.html | 22 +
.../automated/src/test/basic/stress/143.html | 22 +
.../automated/src/test/basic/stress/144.html | 22 +
.../automated/src/test/basic/stress/145.html | 22 +
.../automated/src/test/basic/stress/146.html | 22 +
.../automated/src/test/basic/stress/147.html | 22 +
.../automated/src/test/basic/stress/148.html | 22 +
.../automated/src/test/basic/stress/149.html | 22 +
.../automated/src/test/basic/stress/15.html | 22 +
.../automated/src/test/basic/stress/150.html | 22 +
.../automated/src/test/basic/stress/151.html | 22 +
.../automated/src/test/basic/stress/152.html | 22 +
.../automated/src/test/basic/stress/153.html | 22 +
.../automated/src/test/basic/stress/154.html | 22 +
.../automated/src/test/basic/stress/155.html | 22 +
.../automated/src/test/basic/stress/156.html | 22 +
.../automated/src/test/basic/stress/157.html | 22 +
.../automated/src/test/basic/stress/158.html | 22 +
.../automated/src/test/basic/stress/159.html | 22 +
.../automated/src/test/basic/stress/16.html | 22 +
.../automated/src/test/basic/stress/160.html | 22 +
.../automated/src/test/basic/stress/161.html | 22 +
.../automated/src/test/basic/stress/162.html | 22 +
.../automated/src/test/basic/stress/163.html | 22 +
.../automated/src/test/basic/stress/164.html | 22 +
.../automated/src/test/basic/stress/165.html | 22 +
.../automated/src/test/basic/stress/166.html | 22 +
.../automated/src/test/basic/stress/167.html | 22 +
.../automated/src/test/basic/stress/168.html | 22 +
.../automated/src/test/basic/stress/169.html | 22 +
.../automated/src/test/basic/stress/17.html | 22 +
.../automated/src/test/basic/stress/170.html | 22 +
.../automated/src/test/basic/stress/171.html | 22 +
.../automated/src/test/basic/stress/172.html | 22 +
.../automated/src/test/basic/stress/173.html | 22 +
.../automated/src/test/basic/stress/174.html | 22 +
.../automated/src/test/basic/stress/175.html | 22 +
.../automated/src/test/basic/stress/176.html | 22 +
.../automated/src/test/basic/stress/177.html | 22 +
.../automated/src/test/basic/stress/178.html | 22 +
.../automated/src/test/basic/stress/179.html | 22 +
.../automated/src/test/basic/stress/18.html | 22 +
.../automated/src/test/basic/stress/180.html | 22 +
.../automated/src/test/basic/stress/181.html | 22 +
.../automated/src/test/basic/stress/182.html | 22 +
.../automated/src/test/basic/stress/183.html | 22 +
.../automated/src/test/basic/stress/184.html | 22 +
.../automated/src/test/basic/stress/185.html | 22 +
.../automated/src/test/basic/stress/186.html | 22 +
.../automated/src/test/basic/stress/187.html | 22 +
.../automated/src/test/basic/stress/188.html | 22 +
.../automated/src/test/basic/stress/189.html | 22 +
.../automated/src/test/basic/stress/19.html | 22 +
.../automated/src/test/basic/stress/190.html | 22 +
.../automated/src/test/basic/stress/191.html | 22 +
.../automated/src/test/basic/stress/192.html | 22 +
.../automated/src/test/basic/stress/193.html | 22 +
.../automated/src/test/basic/stress/194.html | 22 +
.../automated/src/test/basic/stress/195.html | 22 +
.../automated/src/test/basic/stress/196.html | 22 +
.../automated/src/test/basic/stress/197.html | 22 +
.../automated/src/test/basic/stress/198.html | 22 +
.../automated/src/test/basic/stress/199.html | 22 +
.../automated/src/test/basic/stress/2.html | 22 +
.../automated/src/test/basic/stress/20.html | 22 +
.../automated/src/test/basic/stress/200.html | 22 +
.../automated/src/test/basic/stress/201.html | 22 +
.../automated/src/test/basic/stress/202.html | 22 +
.../automated/src/test/basic/stress/203.html | 22 +
.../automated/src/test/basic/stress/204.html | 22 +
.../automated/src/test/basic/stress/205.html | 22 +
.../automated/src/test/basic/stress/206.html | 22 +
.../automated/src/test/basic/stress/207.html | 22 +
.../automated/src/test/basic/stress/208.html | 22 +
.../automated/src/test/basic/stress/209.html | 22 +
.../automated/src/test/basic/stress/21.html | 22 +
.../automated/src/test/basic/stress/210.html | 22 +
.../automated/src/test/basic/stress/211.html | 22 +
.../automated/src/test/basic/stress/212.html | 22 +
.../automated/src/test/basic/stress/213.html | 22 +
.../automated/src/test/basic/stress/214.html | 22 +
.../automated/src/test/basic/stress/215.html | 22 +
.../automated/src/test/basic/stress/216.html | 22 +
.../automated/src/test/basic/stress/217.html | 22 +
.../automated/src/test/basic/stress/218.html | 22 +
.../automated/src/test/basic/stress/219.html | 22 +
.../automated/src/test/basic/stress/22.html | 22 +
.../automated/src/test/basic/stress/220.html | 22 +
.../automated/src/test/basic/stress/221.html | 22 +
.../automated/src/test/basic/stress/222.html | 22 +
.../automated/src/test/basic/stress/223.html | 22 +
.../automated/src/test/basic/stress/224.html | 22 +
.../automated/src/test/basic/stress/225.html | 22 +
.../automated/src/test/basic/stress/226.html | 22 +
.../automated/src/test/basic/stress/227.html | 22 +
.../automated/src/test/basic/stress/228.html | 22 +
.../automated/src/test/basic/stress/229.html | 22 +
.../automated/src/test/basic/stress/23.html | 22 +
.../automated/src/test/basic/stress/230.html | 22 +
.../automated/src/test/basic/stress/231.html | 22 +
.../automated/src/test/basic/stress/232.html | 22 +
.../automated/src/test/basic/stress/233.html | 22 +
.../automated/src/test/basic/stress/234.html | 22 +
.../automated/src/test/basic/stress/235.html | 22 +
.../automated/src/test/basic/stress/236.html | 22 +
.../automated/src/test/basic/stress/237.html | 22 +
.../automated/src/test/basic/stress/238.html | 22 +
.../automated/src/test/basic/stress/239.html | 22 +
.../automated/src/test/basic/stress/24.html | 22 +
.../automated/src/test/basic/stress/240.html | 22 +
.../automated/src/test/basic/stress/241.html | 22 +
.../automated/src/test/basic/stress/242.html | 22 +
.../automated/src/test/basic/stress/243.html | 22 +
.../automated/src/test/basic/stress/244.html | 22 +
.../automated/src/test/basic/stress/245.html | 22 +
.../automated/src/test/basic/stress/246.html | 22 +
.../automated/src/test/basic/stress/247.html | 22 +
.../automated/src/test/basic/stress/248.html | 22 +
.../automated/src/test/basic/stress/249.html | 22 +
.../automated/src/test/basic/stress/25.html | 22 +
.../automated/src/test/basic/stress/250.html | 22 +
.../automated/src/test/basic/stress/251.html | 22 +
.../automated/src/test/basic/stress/252.html | 22 +
.../automated/src/test/basic/stress/253.html | 22 +
.../automated/src/test/basic/stress/254.html | 22 +
.../automated/src/test/basic/stress/255.html | 22 +
.../automated/src/test/basic/stress/256.html | 22 +
.../automated/src/test/basic/stress/257.html | 22 +
.../automated/src/test/basic/stress/258.html | 22 +
.../automated/src/test/basic/stress/259.html | 22 +
.../automated/src/test/basic/stress/26.html | 22 +
.../automated/src/test/basic/stress/260.html | 22 +
.../automated/src/test/basic/stress/261.html | 22 +
.../automated/src/test/basic/stress/262.html | 22 +
.../automated/src/test/basic/stress/263.html | 22 +
.../automated/src/test/basic/stress/264.html | 22 +
.../automated/src/test/basic/stress/265.html | 22 +
.../automated/src/test/basic/stress/266.html | 22 +
.../automated/src/test/basic/stress/267.html | 22 +
.../automated/src/test/basic/stress/268.html | 22 +
.../automated/src/test/basic/stress/269.html | 22 +
.../automated/src/test/basic/stress/27.html | 22 +
.../automated/src/test/basic/stress/270.html | 22 +
.../automated/src/test/basic/stress/271.html | 22 +
.../automated/src/test/basic/stress/272.html | 22 +
.../automated/src/test/basic/stress/273.html | 22 +
.../automated/src/test/basic/stress/274.html | 22 +
.../automated/src/test/basic/stress/275.html | 22 +
.../automated/src/test/basic/stress/276.html | 22 +
.../automated/src/test/basic/stress/277.html | 22 +
.../automated/src/test/basic/stress/278.html | 22 +
.../automated/src/test/basic/stress/279.html | 22 +
.../automated/src/test/basic/stress/28.html | 22 +
.../automated/src/test/basic/stress/280.html | 22 +
.../automated/src/test/basic/stress/281.html | 22 +
.../automated/src/test/basic/stress/282.html | 22 +
.../automated/src/test/basic/stress/283.html | 22 +
.../automated/src/test/basic/stress/284.html | 22 +
.../automated/src/test/basic/stress/285.html | 22 +
.../automated/src/test/basic/stress/286.html | 22 +
.../automated/src/test/basic/stress/287.html | 22 +
.../automated/src/test/basic/stress/288.html | 22 +
.../automated/src/test/basic/stress/289.html | 22 +
.../automated/src/test/basic/stress/29.html | 22 +
.../automated/src/test/basic/stress/290.html | 22 +
.../automated/src/test/basic/stress/291.html | 22 +
.../automated/src/test/basic/stress/292.html | 22 +
.../automated/src/test/basic/stress/293.html | 22 +
.../automated/src/test/basic/stress/294.html | 22 +
.../automated/src/test/basic/stress/295.html | 22 +
.../automated/src/test/basic/stress/296.html | 22 +
.../automated/src/test/basic/stress/297.html | 22 +
.../automated/src/test/basic/stress/298.html | 22 +
.../automated/src/test/basic/stress/299.html | 22 +
.../automated/src/test/basic/stress/3.html | 22 +
.../automated/src/test/basic/stress/30.html | 22 +
.../automated/src/test/basic/stress/300.html | 22 +
.../automated/src/test/basic/stress/301.html | 22 +
.../automated/src/test/basic/stress/302.html | 22 +
.../automated/src/test/basic/stress/303.html | 22 +
.../automated/src/test/basic/stress/304.html | 22 +
.../automated/src/test/basic/stress/305.html | 22 +
.../automated/src/test/basic/stress/306.html | 22 +
.../automated/src/test/basic/stress/307.html | 22 +
.../automated/src/test/basic/stress/308.html | 22 +
.../automated/src/test/basic/stress/309.html | 22 +
.../automated/src/test/basic/stress/31.html | 22 +
.../automated/src/test/basic/stress/310.html | 22 +
.../automated/src/test/basic/stress/311.html | 22 +
.../automated/src/test/basic/stress/312.html | 22 +
.../automated/src/test/basic/stress/313.html | 22 +
.../automated/src/test/basic/stress/314.html | 22 +
.../automated/src/test/basic/stress/315.html | 22 +
.../automated/src/test/basic/stress/316.html | 22 +
.../automated/src/test/basic/stress/317.html | 22 +
.../automated/src/test/basic/stress/318.html | 22 +
.../automated/src/test/basic/stress/319.html | 22 +
.../automated/src/test/basic/stress/32.html | 22 +
.../automated/src/test/basic/stress/320.html | 22 +
.../automated/src/test/basic/stress/321.html | 22 +
.../automated/src/test/basic/stress/322.html | 22 +
.../automated/src/test/basic/stress/323.html | 22 +
.../automated/src/test/basic/stress/324.html | 22 +
.../automated/src/test/basic/stress/325.html | 22 +
.../automated/src/test/basic/stress/326.html | 22 +
.../automated/src/test/basic/stress/327.html | 22 +
.../automated/src/test/basic/stress/328.html | 22 +
.../automated/src/test/basic/stress/329.html | 22 +
.../automated/src/test/basic/stress/33.html | 22 +
.../automated/src/test/basic/stress/330.html | 22 +
.../automated/src/test/basic/stress/331.html | 22 +
.../automated/src/test/basic/stress/332.html | 22 +
.../automated/src/test/basic/stress/333.html | 22 +
.../automated/src/test/basic/stress/334.html | 22 +
.../automated/src/test/basic/stress/335.html | 22 +
.../automated/src/test/basic/stress/336.html | 22 +
.../automated/src/test/basic/stress/337.html | 22 +
.../automated/src/test/basic/stress/338.html | 22 +
.../automated/src/test/basic/stress/339.html | 22 +
.../automated/src/test/basic/stress/34.html | 22 +
.../automated/src/test/basic/stress/340.html | 22 +
.../automated/src/test/basic/stress/341.html | 22 +
.../automated/src/test/basic/stress/342.html | 22 +
.../automated/src/test/basic/stress/343.html | 22 +
.../automated/src/test/basic/stress/344.html | 22 +
.../automated/src/test/basic/stress/345.html | 22 +
.../automated/src/test/basic/stress/346.html | 22 +
.../automated/src/test/basic/stress/347.html | 22 +
.../automated/src/test/basic/stress/348.html | 22 +
.../automated/src/test/basic/stress/349.html | 22 +
.../automated/src/test/basic/stress/35.html | 22 +
.../automated/src/test/basic/stress/350.html | 22 +
.../automated/src/test/basic/stress/351.html | 22 +
.../automated/src/test/basic/stress/352.html | 22 +
.../automated/src/test/basic/stress/353.html | 22 +
.../automated/src/test/basic/stress/354.html | 22 +
.../automated/src/test/basic/stress/355.html | 22 +
.../automated/src/test/basic/stress/356.html | 22 +
.../automated/src/test/basic/stress/357.html | 22 +
.../automated/src/test/basic/stress/358.html | 22 +
.../automated/src/test/basic/stress/359.html | 22 +
.../automated/src/test/basic/stress/36.html | 22 +
.../automated/src/test/basic/stress/360.html | 22 +
.../automated/src/test/basic/stress/361.html | 22 +
.../automated/src/test/basic/stress/362.html | 22 +
.../automated/src/test/basic/stress/363.html | 22 +
.../automated/src/test/basic/stress/364.html | 22 +
.../automated/src/test/basic/stress/365.html | 22 +
.../automated/src/test/basic/stress/366.html | 22 +
.../automated/src/test/basic/stress/367.html | 22 +
.../automated/src/test/basic/stress/368.html | 22 +
.../automated/src/test/basic/stress/369.html | 22 +
.../automated/src/test/basic/stress/37.html | 22 +
.../automated/src/test/basic/stress/370.html | 22 +
.../automated/src/test/basic/stress/371.html | 22 +
.../automated/src/test/basic/stress/372.html | 22 +
.../automated/src/test/basic/stress/373.html | 22 +
.../automated/src/test/basic/stress/374.html | 22 +
.../automated/src/test/basic/stress/375.html | 22 +
.../automated/src/test/basic/stress/376.html | 22 +
.../automated/src/test/basic/stress/377.html | 22 +
.../automated/src/test/basic/stress/378.html | 22 +
.../automated/src/test/basic/stress/379.html | 22 +
.../automated/src/test/basic/stress/38.html | 22 +
.../automated/src/test/basic/stress/380.html | 22 +
.../automated/src/test/basic/stress/381.html | 22 +
.../automated/src/test/basic/stress/382.html | 22 +
.../automated/src/test/basic/stress/383.html | 22 +
.../automated/src/test/basic/stress/384.html | 22 +
.../automated/src/test/basic/stress/385.html | 22 +
.../automated/src/test/basic/stress/386.html | 22 +
.../automated/src/test/basic/stress/387.html | 22 +
.../automated/src/test/basic/stress/388.html | 22 +
.../automated/src/test/basic/stress/389.html | 22 +
.../automated/src/test/basic/stress/39.html | 22 +
.../automated/src/test/basic/stress/390.html | 22 +
.../automated/src/test/basic/stress/391.html | 22 +
.../automated/src/test/basic/stress/392.html | 22 +
.../automated/src/test/basic/stress/393.html | 22 +
.../automated/src/test/basic/stress/394.html | 22 +
.../automated/src/test/basic/stress/395.html | 22 +
.../automated/src/test/basic/stress/396.html | 22 +
.../automated/src/test/basic/stress/397.html | 22 +
.../automated/src/test/basic/stress/398.html | 22 +
.../automated/src/test/basic/stress/399.html | 22 +
.../automated/src/test/basic/stress/4.html | 22 +
.../automated/src/test/basic/stress/40.html | 22 +
.../automated/src/test/basic/stress/400.html | 22 +
.../automated/src/test/basic/stress/401.html | 22 +
.../automated/src/test/basic/stress/402.html | 22 +
.../automated/src/test/basic/stress/403.html | 22 +
.../automated/src/test/basic/stress/404.html | 22 +
.../automated/src/test/basic/stress/405.html | 22 +
.../automated/src/test/basic/stress/406.html | 22 +
.../automated/src/test/basic/stress/407.html | 22 +
.../automated/src/test/basic/stress/408.html | 22 +
.../automated/src/test/basic/stress/409.html | 22 +
.../automated/src/test/basic/stress/41.html | 22 +
.../automated/src/test/basic/stress/410.html | 22 +
.../automated/src/test/basic/stress/411.html | 22 +
.../automated/src/test/basic/stress/412.html | 22 +
.../automated/src/test/basic/stress/413.html | 22 +
.../automated/src/test/basic/stress/414.html | 22 +
.../automated/src/test/basic/stress/415.html | 22 +
.../automated/src/test/basic/stress/416.html | 22 +
.../automated/src/test/basic/stress/417.html | 22 +
.../automated/src/test/basic/stress/418.html | 22 +
.../automated/src/test/basic/stress/419.html | 22 +
.../automated/src/test/basic/stress/42.html | 22 +
.../automated/src/test/basic/stress/420.html | 22 +
.../automated/src/test/basic/stress/421.html | 22 +
.../automated/src/test/basic/stress/422.html | 22 +
.../automated/src/test/basic/stress/423.html | 22 +
.../automated/src/test/basic/stress/424.html | 22 +
.../automated/src/test/basic/stress/425.html | 22 +
.../automated/src/test/basic/stress/426.html | 22 +
.../automated/src/test/basic/stress/427.html | 22 +
.../automated/src/test/basic/stress/428.html | 22 +
.../automated/src/test/basic/stress/429.html | 22 +
.../automated/src/test/basic/stress/43.html | 22 +
.../automated/src/test/basic/stress/430.html | 22 +
.../automated/src/test/basic/stress/431.html | 22 +
.../automated/src/test/basic/stress/432.html | 22 +
.../automated/src/test/basic/stress/433.html | 22 +
.../automated/src/test/basic/stress/434.html | 22 +
.../automated/src/test/basic/stress/435.html | 22 +
.../automated/src/test/basic/stress/436.html | 22 +
.../automated/src/test/basic/stress/437.html | 22 +
.../automated/src/test/basic/stress/438.html | 22 +
.../automated/src/test/basic/stress/439.html | 22 +
.../automated/src/test/basic/stress/44.html | 22 +
.../automated/src/test/basic/stress/440.html | 22 +
.../automated/src/test/basic/stress/441.html | 22 +
.../automated/src/test/basic/stress/442.html | 22 +
.../automated/src/test/basic/stress/443.html | 22 +
.../automated/src/test/basic/stress/444.html | 22 +
.../automated/src/test/basic/stress/445.html | 22 +
.../automated/src/test/basic/stress/446.html | 22 +
.../automated/src/test/basic/stress/447.html | 22 +
.../automated/src/test/basic/stress/448.html | 22 +
.../automated/src/test/basic/stress/449.html | 22 +
.../automated/src/test/basic/stress/45.html | 22 +
.../automated/src/test/basic/stress/450.html | 22 +
.../automated/src/test/basic/stress/451.html | 22 +
.../automated/src/test/basic/stress/452.html | 22 +
.../automated/src/test/basic/stress/453.html | 22 +
.../automated/src/test/basic/stress/454.html | 22 +
.../automated/src/test/basic/stress/455.html | 22 +
.../automated/src/test/basic/stress/456.html | 22 +
.../automated/src/test/basic/stress/457.html | 22 +
.../automated/src/test/basic/stress/458.html | 22 +
.../automated/src/test/basic/stress/459.html | 22 +
.../automated/src/test/basic/stress/46.html | 22 +
.../automated/src/test/basic/stress/460.html | 22 +
.../automated/src/test/basic/stress/461.html | 22 +
.../automated/src/test/basic/stress/462.html | 22 +
.../automated/src/test/basic/stress/463.html | 22 +
.../automated/src/test/basic/stress/464.html | 22 +
.../automated/src/test/basic/stress/465.html | 22 +
.../automated/src/test/basic/stress/466.html | 22 +
.../automated/src/test/basic/stress/467.html | 22 +
.../automated/src/test/basic/stress/468.html | 22 +
.../automated/src/test/basic/stress/469.html | 22 +
.../automated/src/test/basic/stress/47.html | 22 +
.../automated/src/test/basic/stress/470.html | 22 +
.../automated/src/test/basic/stress/471.html | 22 +
.../automated/src/test/basic/stress/472.html | 22 +
.../automated/src/test/basic/stress/473.html | 22 +
.../automated/src/test/basic/stress/474.html | 22 +
.../automated/src/test/basic/stress/475.html | 22 +
.../automated/src/test/basic/stress/476.html | 22 +
.../automated/src/test/basic/stress/477.html | 22 +
.../automated/src/test/basic/stress/478.html | 22 +
.../automated/src/test/basic/stress/479.html | 22 +
.../automated/src/test/basic/stress/48.html | 22 +
.../automated/src/test/basic/stress/480.html | 22 +
.../automated/src/test/basic/stress/481.html | 22 +
.../automated/src/test/basic/stress/482.html | 22 +
.../automated/src/test/basic/stress/483.html | 22 +
.../automated/src/test/basic/stress/484.html | 22 +
.../automated/src/test/basic/stress/485.html | 22 +
.../automated/src/test/basic/stress/486.html | 22 +
.../automated/src/test/basic/stress/487.html | 22 +
.../automated/src/test/basic/stress/488.html | 22 +
.../automated/src/test/basic/stress/489.html | 22 +
.../automated/src/test/basic/stress/49.html | 22 +
.../automated/src/test/basic/stress/490.html | 22 +
.../automated/src/test/basic/stress/491.html | 22 +
.../automated/src/test/basic/stress/492.html | 22 +
.../automated/src/test/basic/stress/493.html | 22 +
.../automated/src/test/basic/stress/494.html | 22 +
.../automated/src/test/basic/stress/495.html | 22 +
.../automated/src/test/basic/stress/496.html | 22 +
.../automated/src/test/basic/stress/497.html | 22 +
.../automated/src/test/basic/stress/498.html | 22 +
.../automated/src/test/basic/stress/499.html | 22 +
.../automated/src/test/basic/stress/5.html | 22 +
.../automated/src/test/basic/stress/50.html | 22 +
.../automated/src/test/basic/stress/51.html | 22 +
.../automated/src/test/basic/stress/52.html | 22 +
.../automated/src/test/basic/stress/53.html | 22 +
.../automated/src/test/basic/stress/54.html | 22 +
.../automated/src/test/basic/stress/55.html | 22 +
.../automated/src/test/basic/stress/56.html | 22 +
.../automated/src/test/basic/stress/57.html | 22 +
.../automated/src/test/basic/stress/58.html | 22 +
.../automated/src/test/basic/stress/59.html | 22 +
.../automated/src/test/basic/stress/6.html | 22 +
.../automated/src/test/basic/stress/60.html | 22 +
.../automated/src/test/basic/stress/61.html | 22 +
.../automated/src/test/basic/stress/62.html | 22 +
.../automated/src/test/basic/stress/63.html | 22 +
.../automated/src/test/basic/stress/64.html | 22 +
.../automated/src/test/basic/stress/65.html | 22 +
.../automated/src/test/basic/stress/66.html | 22 +
.../automated/src/test/basic/stress/67.html | 22 +
.../automated/src/test/basic/stress/68.html | 22 +
.../automated/src/test/basic/stress/69.html | 22 +
.../automated/src/test/basic/stress/7.html | 22 +
.../automated/src/test/basic/stress/70.html | 22 +
.../automated/src/test/basic/stress/71.html | 22 +
.../automated/src/test/basic/stress/72.html | 22 +
.../automated/src/test/basic/stress/73.html | 22 +
.../automated/src/test/basic/stress/74.html | 22 +
.../automated/src/test/basic/stress/75.html | 22 +
.../automated/src/test/basic/stress/76.html | 22 +
.../automated/src/test/basic/stress/77.html | 22 +
.../automated/src/test/basic/stress/78.html | 22 +
.../automated/src/test/basic/stress/79.html | 22 +
.../automated/src/test/basic/stress/8.html | 22 +
.../automated/src/test/basic/stress/80.html | 22 +
.../automated/src/test/basic/stress/81.html | 22 +
.../automated/src/test/basic/stress/82.html | 22 +
.../automated/src/test/basic/stress/83.html | 22 +
.../automated/src/test/basic/stress/84.html | 22 +
.../automated/src/test/basic/stress/85.html | 22 +
.../automated/src/test/basic/stress/86.html | 22 +
.../automated/src/test/basic/stress/87.html | 22 +
.../automated/src/test/basic/stress/88.html | 22 +
.../automated/src/test/basic/stress/89.html | 22 +
.../automated/src/test/basic/stress/9.html | 22 +
.../automated/src/test/basic/stress/90.html | 22 +
.../automated/src/test/basic/stress/91.html | 22 +
.../automated/src/test/basic/stress/92.html | 22 +
.../automated/src/test/basic/stress/93.html | 22 +
.../automated/src/test/basic/stress/94.html | 22 +
.../automated/src/test/basic/stress/95.html | 22 +
.../automated/src/test/basic/stress/96.html | 22 +
.../automated/src/test/basic/stress/97.html | 22 +
.../automated/src/test/basic/stress/98.html | 22 +
.../automated/src/test/basic/stress/99.html | 22 +
.../test/basic/stress/LongBack/TestProperties | 6 +
.../test/basic/stress/LongLoad/TestProperties | 6 +
.../src/test/basic/stress/Refresh/Test.lst | 1 +
.../test/basic/stress/Refresh/TestProperties | 6 +
.../webclient/test/automated/utils/compare.pl | 144 +
.../test/automated/utils/configurator.pl | 92 +
.../webclient/test/automated/utils/dirGen.pl | 64 +
.../webclient/test/automated/utils/lstGen.pl | 73 +
mozilla/java/webclient/test/manual/README | 30 +
.../java/webclient/test/manual/build/Makefile | 68 +
.../webclient/test/manual/build/Makefile.win | 86 +
.../test/manual/build/classes/Makefile | 46 +
.../test/manual/build/classes/Makefile.win | 53 +
.../test/manual/build/classes/java.list | 4 +
.../webclient/test/manual/build/html.list | 100 +
.../test/manual/config/CommonProperties | 85 +
.../test/manual/config/WebClientTests.lst | 51 +
.../java/webclient/test/manual/doc/index.html | 6 +
.../java/webclient/test/manual/doc/manual.txt | 48 +
.../test/manual/doc/preliminary_descr.html | 190 +
.../test/manual/doc/preliminary_descr.html.1 | 111 +
.../test/manual/doc/preliminary_spec.html | 53 +
.../test/manual/doc/preliminary_spec.html.1 | 53 +
.../webclient/test/manual/src/cgi/finish.cgi | 73 +
.../webclient/test/manual/src/cgi/results.cgi | 101 +
.../webclient/test/manual/src/cgi/start.cgi | 137 +
.../webclient/test/manual/src/cgi/stop.cgi | 50 +
.../manual/rendering/applets/MouseTest.java | 204 +
.../rendering/javascript/DemoApplet.java | 49 +
.../src/html/manual/features/bookmarks/1.html | 42 +
.../src/html/manual/features/dom/1.html | 40 +
.../src/html/manual/features/edit/1.html | 40 +
.../src/html/manual/features/edit/2.html | 46 +
.../html/manual/features/protocols/1.1.html | 40 +
.../html/manual/features/protocols/1.2.html | 32 +
.../src/html/manual/features/protocols/1.html | 35 +
.../html/manual/features/protocols/2.1.html | 40 +
.../html/manual/features/protocols/2.2.html | 32 +
.../src/html/manual/features/protocols/2.html | 35 +
.../html/manual/features/protocols/3.1.html | 40 +
.../html/manual/features/protocols/3.2.html | 32 +
.../src/html/manual/features/protocols/3.html | 35 +
.../html/manual/features/protocols/4.1.html | 40 +
.../html/manual/features/protocols/4.2.html | 32 +
.../src/html/manual/features/protocols/4.html | 35 +
.../html/manual/features/protocols/5.1.html | 40 +
.../html/manual/features/protocols/5.2.html | 32 +
.../src/html/manual/features/protocols/5.html | 35 +
.../src/html/manual/features/refresh/1.html | 40 +
.../src/html/manual/features/search/1.html | 45 +
.../src/html/manual/features/search/2.html | 45 +
.../src/html/manual/features/search/3.html | 45 +
.../src/html/manual/features/search/4.html | 47 +
.../src/html/manual/features/stop/1.html | 33 +
.../src/html/manual/features/view/1.html | 42 +
.../src/html/manual/features/window/1.html | 75 +
.../src/html/manual/features/window/2.html | 75 +
.../src/html/manual/features/window/3.html | 75 +
.../src/html/manual/features/window/4.html | 40 +
.../test/manual/src/html/manual/finish.html | 31 +
.../test/manual/src/html/manual/index.html | 40 +
.../src/html/manual/rendering/applets/1.html | 42 +
.../src/html/manual/rendering/frames/1.1.html | 29 +
.../src/html/manual/rendering/frames/1.2.html | 29 +
.../src/html/manual/rendering/frames/1.3.html | 36 +
.../src/html/manual/rendering/frames/1.html | 36 +
.../src/html/manual/rendering/frames/2.1.html | 60 +
.../src/html/manual/rendering/frames/2.2.html | 65 +
.../src/html/manual/rendering/frames/2.3.html | 38 +
.../src/html/manual/rendering/frames/2.html | 36 +
.../html/manual/rendering/frames/3.1.1.html | 29 +
.../html/manual/rendering/frames/3.1.2.html | 29 +
.../src/html/manual/rendering/frames/3.1.html | 35 +
.../html/manual/rendering/frames/3.2.1.html | 29 +
.../html/manual/rendering/frames/3.2.2.html | 29 +
.../src/html/manual/rendering/frames/3.2.html | 36 +
.../src/html/manual/rendering/frames/3.html | 35 +
.../html/manual/rendering/frames/4.1.1.html | 35 +
.../src/html/manual/rendering/frames/4.1.html | 35 +
.../src/html/manual/rendering/frames/4.2.html | 37 +
.../src/html/manual/rendering/frames/4.html | 35 +
.../src/html/manual/rendering/frames/5.1.html | 32 +
.../src/html/manual/rendering/frames/5.2.html | 36 +
.../src/html/manual/rendering/frames/5.html | 46 +
.../src/html/manual/rendering/frames/6.1.html | 30 +
.../src/html/manual/rendering/frames/6.2.html | 36 +
.../src/html/manual/rendering/frames/6.html | 42 +
.../src/html/manual/rendering/html/1.html | 36 +
.../src/html/manual/rendering/html/2.html | 36 +
.../src/html/manual/rendering/html/3.html | 33 +
.../src/html/manual/rendering/html/4.html | 31 +
.../src/html/manual/rendering/html/5.html | 32 +
.../src/html/manual/rendering/html/6.html | 38 +
.../src/html/manual/rendering/html/7.html | 40 +
.../html/manual/rendering/javascript/1.html | 89 +
.../html/manual/rendering/javascript/2.html | 49 +
.../html/manual/rendering/javascript/3.html | 50 +
.../html/manual/rendering/javascript/4.html | 67 +
.../rendering/javascript/DemoApplet.java | 49 +
.../src/html/manual/rendering/tables/1.html | 42 +
.../src/html/manual/rendering/tables/2.html | 58 +
.../src/html/manual/rendering/tables/3.html | 61 +
.../src/html/manual/rendering/tables/4.1.html | 38 +
.../src/html/manual/rendering/tables/4.2.html | 32 +
.../src/html/manual/rendering/tables/4.html | 31 +
.../src/html/manual/rendering/tables/5.html | 100 +
.../src/html/manual/rendering/tables/6.1.html | 30 +
.../src/html/manual/rendering/tables/6.2.html | 32 +
.../src/html/manual/rendering/tables/6.html | 31 +
.../src/html/manual/rendering/targets/1.html | 41 +
.../html/manual/rendering/targets/2.1.html | 30 +
.../html/manual/rendering/targets/2.2.1.html | 32 +
.../html/manual/rendering/targets/2.2.2.html | 32 +
.../html/manual/rendering/targets/2.2.html | 36 +
.../src/html/manual/rendering/targets/2.html | 35 +
.../html/manual/rendering/targets/3.1.html | 30 +
.../html/manual/rendering/targets/3.2.html | 34 +
.../src/html/manual/rendering/targets/3.html | 35 +
.../html/manual/rendering/targets/4.1.html | 31 +
.../html/manual/rendering/targets/4.2.html | 34 +
.../src/html/manual/rendering/targets/4.html | 35 +
.../html/manual/rendering/targets/5.1.1.html | 31 +
.../html/manual/rendering/targets/5.1.2.html | 29 +
.../html/manual/rendering/targets/5.1.html | 34 +
.../html/manual/rendering/targets/5.2.html | 34 +
.../src/html/manual/rendering/targets/5.html | 35 +
.../src/html/manual/rendering/targets/6.html | 41 +
.../src/html/manual/rendering/targets/7.html | 42 +
.../webclient/test/manual/src/images/0.gif | Bin 0 -> 878 bytes
.../webclient/test/manual/src/images/1.gif | Bin 0 -> 894 bytes
.../webclient/test/manual/src/images/2.gif | Bin 0 -> 899 bytes
.../webclient/test/manual/src/images/3.gif | Bin 0 -> 869 bytes
.../webclient/test/manual/src/images/4.gif | Bin 0 -> 910 bytes
.../webclient/test/manual/src/images/5.gif | Bin 0 -> 907 bytes
.../webclient/test/manual/src/images/6.gif | Bin 0 -> 908 bytes
.../webclient/test/manual/src/images/7.gif | Bin 0 -> 892 bytes
.../webclient/test/manual/src/images/8.gif | Bin 0 -> 921 bytes
.../webclient/test/manual/src/images/9.gif | Bin 0 -> 838 bytes
.../test/manual/src/images/background.gif | Bin 0 -> 141 bytes
.../test/manual/src/images/passed.gif | Bin 0 -> 91 bytes
.../test/manual/utils/configurator.pl | 92 +
.../webclient/test/manual/utils/lst_gen.pl | 78 +
.../java/webclient/test/responsiveness/README | 41 +
.../test/responsiveness/build/Makefile | 68 +
.../test/responsiveness/build/Makefile.win | 66 +
.../test/responsiveness/build/html.list | 26 +
.../responsiveness/config/CommonProperties | 90 +
.../responsiveness/config/WebClientTests.lst | 8 +
.../test/responsiveness/src/cgi/finish.cgi | 80 +
.../test/responsiveness/src/cgi/manager.cgi | 228 +
.../test/responsiveness/src/cgi/results.cgi | 102 +
.../test/responsiveness/src/cgi/start.cgi | 109 +
.../src/html/responsiveness/finish.html | 32 +
.../src/html/responsiveness/images/1.html | 40 +
.../html/responsiveness/images/large_1.html | 40 +
.../src/html/responsiveness/index.html | 36 +
.../src/html/responsiveness/large/1.html | 40 +
.../src/html/responsiveness/large/2.html | 41 +
.../html/responsiveness/large/large_1.html | 85 +
.../html/responsiveness/large/large_2.html | 85 +
.../src/html/responsiveness/resize/1.html | 40 +
.../src/html/responsiveness/resize/2.html | 41 +
.../src/html/responsiveness/resize/3.html | 41 +
.../html/responsiveness/resize/large_1.html | 84 +
.../html/responsiveness/resize/large_2.html | 85 +
.../html/responsiveness/resize/large_3.html | 40 +
.../src/html/responsiveness/search/1.html | 42 +
.../html/responsiveness/search/large_1.html | 84 +
.../src/html/responsiveness/start.html | 42 +
.../src/html/responsiveness/table/1.html | 38 +
.../html/responsiveness/table/large_1.html | 5817 +++++++++++++++++
.../responsiveness/src/images/Diagram1.gif | Bin 0 -> 351437 bytes
.../responsiveness/src/images/Diagram2.gif | Bin 0 -> 384053 bytes
.../test/responsiveness/utils/configurator.pl | 92 +
.../test/responsiveness/utils/lst_gen.pl | 78 +
959 files changed, 39151 insertions(+)
create mode 100644 mozilla/java/webclient/test/automated/README
create mode 100644 mozilla/java/webclient/test/automated/README.html
create mode 100644 mozilla/java/webclient/test/automated/all_files
create mode 100644 mozilla/java/webclient/test/automated/build/Killer/Makefile.win
create mode 100644 mozilla/java/webclient/test/automated/build/Makefile
create mode 100644 mozilla/java/webclient/test/automated/build/Makefile.win
create mode 100644 mozilla/java/webclient/test/automated/build/classes/Makefile
create mode 100644 mozilla/java/webclient/test/automated/build/classes/Makefile.win
create mode 100644 mozilla/java/webclient/test/automated/build/test/basic/Makefile
create mode 100644 mozilla/java/webclient/test/automated/build/test/basic/Makefile.win
create mode 100644 mozilla/java/webclient/test/automated/config/CommonProperties
create mode 100644 mozilla/java/webclient/test/automated/doc/BWTest_with_comments.txt
create mode 100644 mozilla/java/webclient/test/automated/doc/BookmarkEntry.html
create mode 100644 mozilla/java/webclient/test/automated/doc/Bookmarks.html
create mode 100644 mozilla/java/webclient/test/automated/doc/BrowserControlCanvas.html
create mode 100644 mozilla/java/webclient/test/automated/doc/CurrentPage.html
create mode 100644 mozilla/java/webclient/test/automated/doc/EventRegistration.html
create mode 100644 mozilla/java/webclient/test/automated/doc/History.html
create mode 100644 mozilla/java/webclient/test/automated/doc/Navigation.html
create mode 100644 mozilla/java/webclient/test/automated/doc/StressTests.html
create mode 100644 mozilla/java/webclient/test/automated/doc/queried_interfaces_tests.txt
create mode 100644 mozilla/java/webclient/test/automated/doc/spec.txt
create mode 100644 mozilla/java/webclient/test/automated/doc/spec1.txt
create mode 100644 mozilla/java/webclient/test/automated/doc/testdoc_template.html
create mode 100644 mozilla/java/webclient/test/automated/doc/tests_counts.txt
create mode 100644 mozilla/java/webclient/test/automated/log/dummy.txt
create mode 100644 mozilla/java/webclient/test/automated/src/Killer/Killer.cpp
create mode 100644 mozilla/java/webclient/test/automated/src/Killer/README
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/CheckingThread.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/Test.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestContext.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestDocLoadListener.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestLoader.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestRunner.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestWindow.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_children.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getAllowsChildren.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getChildAt.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getChildCount.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getIndex.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getParent.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getProperties.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_insert.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_isFolder.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_isLeaf.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_removeFromParent.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_remove_1.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_remove_2.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_setParent.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_setUserObject.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Bookmarks_addBookmark.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Bookmarks_getBookmarks.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Bookmarks_newBookmarkEntry.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Bookmarks_newBookmarkFolder.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Bookmarks_removeBookmark.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BrowserControlCanvas_addNotify.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BrowserControlCanvas_getWebShell.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BrowserControlCanvas_setBounds.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BrowserControlCanvas_setBounds_rect.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_copyCurSel.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_findInPage_1.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_getCurURL.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_getDOM.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_getPageInfo.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_getSource.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_getSourceBytes.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_resetFind.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/CurrentPage_selectAll.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/EventRegistration_addDocLoadListener_1.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/EventRegistration_addDocLoadListener_2.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/EventRegistration_removeDocLoadListener.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/EventRegistration_removeMouseListener_1.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_back.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_canBack.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_canForward.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_clearHistory.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_forward.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getBackList.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getCurrentHistoryIndex.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getForwardList.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getHistory.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getHistoryEntry.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getHistoryLength.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getURLForIndex.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_setCurrentHistoryIndex.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadFromStream.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_1.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_2.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_3.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_refresh_1.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_refresh_2.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_stop.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/WindowControl_createWindow.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/WindowControl_getNativeWebShell.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/WindowControl_moveWindowTo.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/WindowControl_setBounds.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/CurrentPage_findInPage_2.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/CurrentPage_findNextInPage.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_addMouseListener_1.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_addMouseListener_2.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_removeMouseListener_2.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_moveWindowTo.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_removeFocus.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setBounds.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setFocus.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setVisible.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/stress/LongBack.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/stress/LongLoad.java
create mode 100644 mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/stress/Refresh.java
create mode 100644 mozilla/java/webclient/test/automated/src/run/BWMixedTest.lst
create mode 100644 mozilla/java/webclient/test/automated/src/run/BWTest.lst
create mode 100644 mozilla/java/webclient/test/automated/src/run/autorun.pl
create mode 100644 mozilla/java/webclient/test/automated/src/run/forceful.pl
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/Waiting.cgi
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_children/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_children/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getAllowsChildren/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getAllowsChildren/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildAt/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildAt/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildCount/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildCount/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getIndex/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getIndex/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getParent/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getParent/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getProperties/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getProperties/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_insert/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_insert/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isFolder/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isFolder/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isLeaf/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isLeaf/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_removeFromParent/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_removeFromParent/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setParent/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setParent/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setUserObject/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setUserObject/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_addBookmark/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_addBookmark/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_getBookmarks/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_getBookmarks/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkEntry/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkEntry/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkFolder/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkFolder/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_removeBookmark/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_removeBookmark/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_addNotify/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_addNotify/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_getWebShell/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_getWebShell/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds_rect/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds_rect/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_copyCurSel/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_copyCurSel/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_findInPage_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_findInPage_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getCurURL/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getCurURL/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getDOM/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getDOM/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getPageInfo/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getPageInfo/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSource/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSource/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSourceBytes/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSourceBytes/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_resetFind/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_resetFind/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_selectAll/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_selectAll/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeDocLoadListener/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeDocLoadListener/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeMouseListener_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeMouseListener_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_back_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_back_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_back_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_back_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getBackList/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getBackList/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getCurrentHistoryIndex/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getCurrentHistoryIndex/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getForwardList/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getForwardList/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryEntry/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryEntry/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/History_getURLForIndex.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadFromStream/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadFromStream/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_3/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_3/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_stop/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_stop/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_createWindow/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_createWindow/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_getNativeWebShell/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_moveWindowTo/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_moveWindowTo/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_setBounds/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_setBounds/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest1.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest11.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest2.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest3.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest4.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest5.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest6.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest7.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest8.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/bastest9.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/CurrentPage_findInPage_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/CurrentPage_findInPage_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/CurrentPage_findInPage_2/findInPage.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/CurrentPage_findNextInPage/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/CurrentPage_findNextInPage/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/CurrentPage_findNextInPage/findNextInPage.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/EventRegistration_addMouseListener_1/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/EventRegistration_addMouseListener_1/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/EventRegistration_addMouseListener_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/EventRegistration_addMouseListener_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/EventRegistration_removeMouseListener_2/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/EventRegistration_removeMouseListener_2/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/WindowControl_moveWindowTo/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/WindowControl_moveWindowTo/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/WindowControl_removeFocus/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/WindowControl_setBounds/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/WindowControl_setBounds/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/WindowControl_setFocus/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/WindowControl_setVisible/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/mixed/WindowControl_setVisible/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/remfocus.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/setfocus.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/0.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/1.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/10.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/100.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/101.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/102.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/103.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/104.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/105.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/106.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/107.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/108.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/109.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/11.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/110.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/111.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/112.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/113.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/114.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/115.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/116.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/117.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/118.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/119.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/12.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/120.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/121.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/122.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/123.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/124.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/125.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/126.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/127.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/128.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/129.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/13.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/130.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/131.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/132.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/133.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/134.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/135.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/136.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/137.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/138.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/139.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/14.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/140.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/141.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/142.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/143.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/144.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/145.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/146.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/147.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/148.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/149.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/15.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/150.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/151.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/152.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/153.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/154.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/155.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/156.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/157.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/158.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/159.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/16.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/160.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/161.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/162.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/163.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/164.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/165.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/166.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/167.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/168.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/169.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/17.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/170.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/171.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/172.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/173.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/174.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/175.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/176.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/177.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/178.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/179.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/18.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/180.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/181.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/182.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/183.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/184.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/185.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/186.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/187.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/188.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/189.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/19.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/190.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/191.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/192.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/193.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/194.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/195.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/196.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/197.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/198.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/199.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/2.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/20.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/200.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/201.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/202.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/203.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/204.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/205.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/206.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/207.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/208.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/209.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/21.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/210.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/211.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/212.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/213.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/214.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/215.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/216.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/217.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/218.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/219.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/22.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/220.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/221.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/222.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/223.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/224.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/225.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/226.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/227.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/228.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/229.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/23.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/230.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/231.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/232.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/233.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/234.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/235.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/236.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/237.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/238.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/239.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/24.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/240.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/241.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/242.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/243.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/244.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/245.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/246.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/247.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/248.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/249.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/25.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/250.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/251.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/252.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/253.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/254.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/255.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/256.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/257.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/258.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/259.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/26.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/260.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/261.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/262.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/263.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/264.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/265.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/266.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/267.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/268.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/269.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/27.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/270.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/271.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/272.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/273.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/274.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/275.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/276.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/277.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/278.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/279.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/28.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/280.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/281.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/282.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/283.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/284.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/285.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/286.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/287.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/288.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/289.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/29.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/290.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/291.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/292.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/293.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/294.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/295.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/296.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/297.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/298.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/299.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/3.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/30.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/300.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/301.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/302.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/303.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/304.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/305.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/306.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/307.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/308.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/309.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/31.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/310.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/311.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/312.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/313.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/314.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/315.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/316.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/317.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/318.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/319.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/32.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/320.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/321.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/322.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/323.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/324.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/325.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/326.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/327.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/328.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/329.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/33.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/330.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/331.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/332.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/333.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/334.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/335.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/336.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/337.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/338.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/339.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/34.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/340.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/341.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/342.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/343.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/344.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/345.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/346.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/347.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/348.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/349.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/35.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/350.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/351.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/352.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/353.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/354.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/355.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/356.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/357.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/358.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/359.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/36.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/360.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/361.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/362.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/363.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/364.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/365.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/366.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/367.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/368.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/369.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/37.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/370.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/371.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/372.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/373.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/374.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/375.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/376.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/377.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/378.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/379.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/38.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/380.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/381.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/382.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/383.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/384.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/385.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/386.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/387.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/388.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/389.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/39.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/390.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/391.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/392.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/393.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/394.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/395.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/396.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/397.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/398.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/399.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/4.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/40.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/400.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/401.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/402.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/403.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/404.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/405.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/406.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/407.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/408.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/409.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/41.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/410.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/411.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/412.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/413.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/414.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/415.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/416.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/417.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/418.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/419.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/42.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/420.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/421.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/422.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/423.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/424.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/425.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/426.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/427.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/428.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/429.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/43.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/430.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/431.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/432.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/433.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/434.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/435.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/436.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/437.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/438.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/439.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/44.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/440.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/441.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/442.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/443.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/444.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/445.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/446.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/447.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/448.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/449.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/45.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/450.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/451.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/452.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/453.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/454.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/455.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/456.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/457.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/458.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/459.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/46.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/460.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/461.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/462.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/463.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/464.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/465.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/466.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/467.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/468.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/469.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/47.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/470.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/471.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/472.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/473.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/474.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/475.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/476.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/477.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/478.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/479.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/48.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/480.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/481.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/482.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/483.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/484.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/485.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/486.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/487.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/488.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/489.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/49.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/490.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/491.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/492.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/493.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/494.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/495.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/496.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/497.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/498.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/499.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/5.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/50.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/51.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/52.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/53.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/54.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/55.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/56.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/57.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/58.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/59.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/6.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/60.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/61.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/62.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/63.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/64.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/65.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/66.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/67.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/68.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/69.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/7.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/70.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/71.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/72.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/73.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/74.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/75.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/76.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/77.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/78.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/79.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/8.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/80.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/81.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/82.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/83.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/84.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/85.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/86.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/87.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/88.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/89.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/9.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/90.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/91.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/92.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/93.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/94.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/95.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/96.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/97.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/98.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/99.html
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/LongBack/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/LongLoad/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/Refresh/Test.lst
create mode 100644 mozilla/java/webclient/test/automated/src/test/basic/stress/Refresh/TestProperties
create mode 100644 mozilla/java/webclient/test/automated/utils/compare.pl
create mode 100644 mozilla/java/webclient/test/automated/utils/configurator.pl
create mode 100644 mozilla/java/webclient/test/automated/utils/dirGen.pl
create mode 100644 mozilla/java/webclient/test/automated/utils/lstGen.pl
create mode 100644 mozilla/java/webclient/test/manual/README
create mode 100644 mozilla/java/webclient/test/manual/build/Makefile
create mode 100644 mozilla/java/webclient/test/manual/build/Makefile.win
create mode 100644 mozilla/java/webclient/test/manual/build/classes/Makefile
create mode 100644 mozilla/java/webclient/test/manual/build/classes/Makefile.win
create mode 100644 mozilla/java/webclient/test/manual/build/classes/java.list
create mode 100644 mozilla/java/webclient/test/manual/build/html.list
create mode 100644 mozilla/java/webclient/test/manual/config/CommonProperties
create mode 100644 mozilla/java/webclient/test/manual/config/WebClientTests.lst
create mode 100644 mozilla/java/webclient/test/manual/doc/index.html
create mode 100644 mozilla/java/webclient/test/manual/doc/manual.txt
create mode 100644 mozilla/java/webclient/test/manual/doc/preliminary_descr.html
create mode 100644 mozilla/java/webclient/test/manual/doc/preliminary_descr.html.1
create mode 100644 mozilla/java/webclient/test/manual/doc/preliminary_spec.html
create mode 100644 mozilla/java/webclient/test/manual/doc/preliminary_spec.html.1
create mode 100644 mozilla/java/webclient/test/manual/src/cgi/finish.cgi
create mode 100644 mozilla/java/webclient/test/manual/src/cgi/results.cgi
create mode 100644 mozilla/java/webclient/test/manual/src/cgi/start.cgi
create mode 100644 mozilla/java/webclient/test/manual/src/cgi/stop.cgi
create mode 100644 mozilla/java/webclient/test/manual/src/classes/manual/rendering/applets/MouseTest.java
create mode 100644 mozilla/java/webclient/test/manual/src/classes/manual/rendering/javascript/DemoApplet.java
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/bookmarks/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/dom/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/edit/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/edit/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/refresh/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/search/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/search/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/search/3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/search/4.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/stop/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/view/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/window/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/window/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/window/3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/features/window/4.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/finish.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/index.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/applets/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.1.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/html/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/html/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/html/3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/html/4.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/html/5.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/html/6.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/html/7.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/4.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/DemoApplet.java
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/5.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.2.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/6.html
create mode 100644 mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/7.html
create mode 100644 mozilla/java/webclient/test/manual/src/images/0.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/1.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/2.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/3.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/4.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/5.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/6.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/7.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/8.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/9.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/background.gif
create mode 100644 mozilla/java/webclient/test/manual/src/images/passed.gif
create mode 100644 mozilla/java/webclient/test/manual/utils/configurator.pl
create mode 100644 mozilla/java/webclient/test/manual/utils/lst_gen.pl
create mode 100644 mozilla/java/webclient/test/responsiveness/README
create mode 100644 mozilla/java/webclient/test/responsiveness/build/Makefile
create mode 100644 mozilla/java/webclient/test/responsiveness/build/Makefile.win
create mode 100644 mozilla/java/webclient/test/responsiveness/build/html.list
create mode 100644 mozilla/java/webclient/test/responsiveness/config/CommonProperties
create mode 100644 mozilla/java/webclient/test/responsiveness/config/WebClientTests.lst
create mode 100644 mozilla/java/webclient/test/responsiveness/src/cgi/finish.cgi
create mode 100644 mozilla/java/webclient/test/responsiveness/src/cgi/manager.cgi
create mode 100644 mozilla/java/webclient/test/responsiveness/src/cgi/results.cgi
create mode 100644 mozilla/java/webclient/test/responsiveness/src/cgi/start.cgi
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/finish.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/images/1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/images/large_1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/index.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/large/1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/large/2.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/large/large_1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/large/large_2.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/resize/1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/resize/2.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/resize/3.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/resize/large_1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/resize/large_2.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/resize/large_3.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/search/1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/search/large_1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/start.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/table/1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/html/responsiveness/table/large_1.html
create mode 100644 mozilla/java/webclient/test/responsiveness/src/images/Diagram1.gif
create mode 100644 mozilla/java/webclient/test/responsiveness/src/images/Diagram2.gif
create mode 100644 mozilla/java/webclient/test/responsiveness/utils/configurator.pl
create mode 100644 mozilla/java/webclient/test/responsiveness/utils/lst_gen.pl
diff --git a/mozilla/java/webclient/test/automated/README b/mozilla/java/webclient/test/automated/README
new file mode 100644
index 00000000000..a44eaef6510
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/README
@@ -0,0 +1,7 @@
+
+
+
+
+ Automated Webclient API testbase.
1. Goals.
The main goal of this testbase is test of Webclient API.
Tests covers all interfaces(so far implemented) than can be queried by application or received to application in any other way.
The "Webclient"(EMWindow Test application that is run from /mozilla/java/..src_moz/runwm script) is not a subject of this testbase.
2. How it works.
The perl script autorun.pl is used to run test application in cycles.
The simple test application runs and executes test class.
Test class queries corresponding interface, performs procedure call
and verifies result when possible.
3. Directory struct.
Source files, build files , configuration files and utils are placed in different directories. Please see the diagram below for more details.
TOP(0)
|
|-build(1)
| |-classes(1.1)
| |
| |-test(1.2)
| | |-basic(1.2.1)
| |-run(1.3) |-api(1.2.1.1)
|-src(2) |-mixed(1.2.1.2)
| |-classes(2.1)
| |
| |-test(2.2)
| | |-basic(2.2.1)
| | |-api(2.2.1.1)
| | |-mixed(2.2.1.2)
| |-run(2.3)
| |
| |-Killer(2.4)
|-utils(3)
|-config(4)
|-doc(5)
|-log(6)
TOP 0) directory with testbase, in usually this dir named "automated"
build 1) build directory. All class and data files(exclude html and cgi files) compiled and copied to it.
1.1) classes directory.
Directory for test classes files . User must add this directory to the CLASSPATH before executing tests.
1.2, 1.2.1, 1.2.1.1, 1.2.1.2) In these directories data and properties files are copied at make stage
1.3) Execution script and default list file are copied to this dir.
src 2) All source files placed to this dir.
2.1) Directory for all Java files
2.2, 2.2.1, 2.2.1.1, 2.2.1.2) Directories for data and properties files.
All common files can be placed to 2.2.1, 2.2.1.1, 2.2.1.2
For specific test files additional dirs created in 2.2.1.1 and 2.2.1.2
2.3) Directory for autorun.pl and miscellaneous list files
2.4) Directory where sources of "Killer" util is placed
utils 3) Directory for miscellaneous utils, that is used at "make" and "run" stages.
config 4) Directory for configuration files. CommonProperties file.
PLEASE EDIT IT BEFORE RUNNING A MAKE
doc 5) Directory for miscellaneous documents. Documentation for testcases placed here.
log 6) Directory for placing execution logs.
Also additional HTML_ROOT_DIR and CGI_ROOT_DIR directories used to placing CGI and HTML files.
4. Requirements.
- User must have successfully built Webclient and Mozilla
- User must have a configured and working http/Java Web server. Otherwise user must use file:/// protocol
to specify HTML_ROOT .Tests( very small part of all), that uses CGI will not executed properly in such cases.
5. How to build.
- Please setup environment as for running Webclient.
- Please edit CommonProperties file in config(4) dir. This file is self documented.
- Go to build(1) dir and do make
6. How to run.
- Set JAVAHOME environment variable to path to java executable.
- Make sure CLASSPATH is included <TOP_DIR>/build/classes
- Go to build/run(1.3) directory and execute autorun.pl script.
6.1 Usage.
User can execute tests by different ways:
To execute ONE testcase just do: "perl autorun.pl -t test_case_id"
To execute LIST of tests just do: "perl autorun.pl -f file_with_test_ids"
Also user can turn TestRunner to the "mixed" mode via -m switch. "perl autorun.pl -m file file_with_mixed_tests".
In this mode 2 buttons "FAILED" and "PASSED" added to TestWindow
and tester can fail or pass test in any time.
This mode is NECESSARY for running tests from "mixed" sections
And via -i switch user can turn autorun to "ignorecore" mode. In
this mode autorun.pl ignore core and doesn't fail tests, that
really coredumps. This mode is useful for Solaris testing. "perl autorun.pl -i -f file_with_testids"
7. Logging.
- All logs are placed to the log(6) directory. A unique directory created
in the log(6) directory for each execution.
Files, created in this directory are:
BWTest.html - the main log file with results of execution in HTML format
BWTest.txt - the results of execution in TXT format
BWTestRun.log - the log of test execution with additional info
<testID>.log \
<testID>.log |- files with output of each testcase.
<testID>.log /
8. Sections.
Now testbase contains 3 different sections of tests: api, stress and mixed.
"api" Tests from this section performs calls to api methods and verify results when
possible. They are fully automated and user mustn't interact
with application.
"stress" Tests from this section performs stress actions. E.g loading many pages,
calls api methods many times, etc. They are fully automated
and user need not interact with application.
"mixed" Tests from this section performs calls of api methods, that can change
rendering/viewing behavior. Eg setBounds, moveWindowTo. User should read
instructions on TestWindow and pass or fail tests via corresponding buttons.
9. Things, that must be done, known bugs.
- Several tests on CurrentPage failed with NP exception.
Problem with system clipboard.
- Solaris: Some times no urls loaded by TestRunner at all.
- Webclient tests have been tested (so far) with PR3 Webclient bundled with Netscape6 SVR4pkg from SUN
on Sparc Solris and Intel Solaris Platforms only.
- Webclient Tests have not been tested with PR3 Webclinet on Win32 or Linux platoforms yet.
Last Modified 08/23/2000 by avm
Last Modified 09/08/2000 by gv
Last Modified 12/15/2000 by GV
+
+
diff --git a/mozilla/java/webclient/test/automated/README.html b/mozilla/java/webclient/test/automated/README.html
new file mode 100644
index 00000000000..a44eaef6510
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/README.html
@@ -0,0 +1,7 @@
+
+
+
+
+ Automated Webclient API testbase.
1. Goals.
The main goal of this testbase is test of Webclient API.
Tests covers all interfaces(so far implemented) than can be queried by application or received to application in any other way.
The "Webclient"(EMWindow Test application that is run from /mozilla/java/..src_moz/runwm script) is not a subject of this testbase.
2. How it works.
The perl script autorun.pl is used to run test application in cycles.
The simple test application runs and executes test class.
Test class queries corresponding interface, performs procedure call
and verifies result when possible.
3. Directory struct.
Source files, build files , configuration files and utils are placed in different directories. Please see the diagram below for more details.
TOP(0)
|
|-build(1)
| |-classes(1.1)
| |
| |-test(1.2)
| | |-basic(1.2.1)
| |-run(1.3) |-api(1.2.1.1)
|-src(2) |-mixed(1.2.1.2)
| |-classes(2.1)
| |
| |-test(2.2)
| | |-basic(2.2.1)
| | |-api(2.2.1.1)
| | |-mixed(2.2.1.2)
| |-run(2.3)
| |
| |-Killer(2.4)
|-utils(3)
|-config(4)
|-doc(5)
|-log(6)
TOP 0) directory with testbase, in usually this dir named "automated"
build 1) build directory. All class and data files(exclude html and cgi files) compiled and copied to it.
1.1) classes directory.
Directory for test classes files . User must add this directory to the CLASSPATH before executing tests.
1.2, 1.2.1, 1.2.1.1, 1.2.1.2) In these directories data and properties files are copied at make stage
1.3) Execution script and default list file are copied to this dir.
src 2) All source files placed to this dir.
2.1) Directory for all Java files
2.2, 2.2.1, 2.2.1.1, 2.2.1.2) Directories for data and properties files.
All common files can be placed to 2.2.1, 2.2.1.1, 2.2.1.2
For specific test files additional dirs created in 2.2.1.1 and 2.2.1.2
2.3) Directory for autorun.pl and miscellaneous list files
2.4) Directory where sources of "Killer" util is placed
utils 3) Directory for miscellaneous utils, that is used at "make" and "run" stages.
config 4) Directory for configuration files. CommonProperties file.
PLEASE EDIT IT BEFORE RUNNING A MAKE
doc 5) Directory for miscellaneous documents. Documentation for testcases placed here.
log 6) Directory for placing execution logs.
Also additional HTML_ROOT_DIR and CGI_ROOT_DIR directories used to placing CGI and HTML files.
4. Requirements.
- User must have successfully built Webclient and Mozilla
- User must have a configured and working http/Java Web server. Otherwise user must use file:/// protocol
to specify HTML_ROOT .Tests( very small part of all), that uses CGI will not executed properly in such cases.
5. How to build.
- Please setup environment as for running Webclient.
- Please edit CommonProperties file in config(4) dir. This file is self documented.
- Go to build(1) dir and do make
6. How to run.
- Set JAVAHOME environment variable to path to java executable.
- Make sure CLASSPATH is included <TOP_DIR>/build/classes
- Go to build/run(1.3) directory and execute autorun.pl script.
6.1 Usage.
User can execute tests by different ways:
To execute ONE testcase just do: "perl autorun.pl -t test_case_id"
To execute LIST of tests just do: "perl autorun.pl -f file_with_test_ids"
Also user can turn TestRunner to the "mixed" mode via -m switch. "perl autorun.pl -m file file_with_mixed_tests".
In this mode 2 buttons "FAILED" and "PASSED" added to TestWindow
and tester can fail or pass test in any time.
This mode is NECESSARY for running tests from "mixed" sections
And via -i switch user can turn autorun to "ignorecore" mode. In
this mode autorun.pl ignore core and doesn't fail tests, that
really coredumps. This mode is useful for Solaris testing. "perl autorun.pl -i -f file_with_testids"
7. Logging.
- All logs are placed to the log(6) directory. A unique directory created
in the log(6) directory for each execution.
Files, created in this directory are:
BWTest.html - the main log file with results of execution in HTML format
BWTest.txt - the results of execution in TXT format
BWTestRun.log - the log of test execution with additional info
<testID>.log \
<testID>.log |- files with output of each testcase.
<testID>.log /
8. Sections.
Now testbase contains 3 different sections of tests: api, stress and mixed.
"api" Tests from this section performs calls to api methods and verify results when
possible. They are fully automated and user mustn't interact
with application.
"stress" Tests from this section performs stress actions. E.g loading many pages,
calls api methods many times, etc. They are fully automated
and user need not interact with application.
"mixed" Tests from this section performs calls of api methods, that can change
rendering/viewing behavior. Eg setBounds, moveWindowTo. User should read
instructions on TestWindow and pass or fail tests via corresponding buttons.
9. Things, that must be done, known bugs.
- Several tests on CurrentPage failed with NP exception.
Problem with system clipboard.
- Solaris: Some times no urls loaded by TestRunner at all.
- Webclient tests have been tested (so far) with PR3 Webclient bundled with Netscape6 SVR4pkg from SUN
on Sparc Solris and Intel Solaris Platforms only.
- Webclient Tests have not been tested with PR3 Webclinet on Win32 or Linux platoforms yet.
Last Modified 08/23/2000 by avm
Last Modified 09/08/2000 by gv
Last Modified 12/15/2000 by GV
+
+
diff --git a/mozilla/java/webclient/test/automated/all_files b/mozilla/java/webclient/test/automated/all_files
new file mode 100644
index 00000000000..13ae2323afd
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/all_files
@@ -0,0 +1,95 @@
+./config/CommonProperties
+./build/test/basic/Makefile.win
+./build/classes/Makefile.win
+./build/Makefile.win
+./docs/spec.txt
+./docs/spec1.txt
+./docs/tests_counts.txt
+./docs/queried_interfaces_tests.txt
+./docs/testdoc_template.html
+./src/classes/org/mozilla/webclient/test/basic/api/History_back.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_getURLForIndex.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_canBack.java
+./src/classes/org/mozilla/webclient/test/basic/api/WindowControl_createWindow.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_canForward.java
+./src/classes/org/mozilla/webclient/test/basic/api/WindowControl_getNativeWebShell.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_clearHistory.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_getCurrentHistoryIndex.java
+./src/classes/org/mozilla/webclient/test/basic/api/WindowControl_moveWindowTo.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_forward.java
+./src/classes/org/mozilla/webclient/test/basic/api/WindowControl_setBounds.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_getBackList.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_getForwardList.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_getHistory.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_getHistoryEntry.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_getHistoryLength.java
+./src/classes/org/mozilla/webclient/test/basic/api/History_setCurrentHistoryIndex.java
+./src/classes/org/mozilla/webclient/test/basic/StartProperties
+./src/classes/org/mozilla/webclient/test/basic/Test.java
+./src/classes/org/mozilla/webclient/test/basic/TestContext.java
+./src/classes/org/mozilla/webclient/test/basic/TestLoader.java
+./src/classes/org/mozilla/webclient/test/basic/TestRunner.java
+./src/test/basic/api/History_getURLForIndex/History_getURLForIndex.lst
+./src/test/basic/api/History_getURLForIndex/TestProperties
+./src/test/basic/api/History_getURLForIndex/Test.lst
+./src/test/basic/api/WindowControl_createWindow/Test.lst
+./src/test/basic/api/WindowControl_createWindow/TestProperties
+./src/test/basic/api/WindowControl_getNativeWebShell/TestProperties
+./src/test/basic/api/WindowControl_moveWindowTo/Test.lst
+./src/test/basic/api/WindowControl_moveWindowTo/TestProperties
+./src/test/basic/api/WindowControl_setBounds/Test.lst
+./src/test/basic/api/WindowControl_setBounds/TestProperties
+./src/test/basic/api/History_back_1/Test.lst
+./src/test/basic/api/History_back_1/TestProperties
+./src/test/basic/api/History_back_2/Test.lst
+./src/test/basic/api/History_back_2/TestProperties
+./src/test/basic/api/History_canBack_1/Test.lst
+./src/test/basic/api/History_canBack_1/TestProperties
+./src/test/basic/api/History_canBack_2/Test.lst
+./src/test/basic/api/History_canBack_2/TestProperties
+./src/test/basic/api/History_canForward_1/Test.lst
+./src/test/basic/api/History_canForward_1/TestProperties
+./src/test/basic/api/History_canForward_2/Test.lst
+./src/test/basic/api/History_canForward_2/TestProperties
+./src/test/basic/api/History_clearHistory_1/Test.lst
+./src/test/basic/api/History_clearHistory_1/TestProperties
+./src/test/basic/api/History_clearHistory_2/Test.lst
+./src/test/basic/api/History_clearHistory_2/TestProperties
+./src/test/basic/api/History_forward_1/Test.lst
+./src/test/basic/api/History_forward_1/TestProperties
+./src/test/basic/api/History_forward_2/Test.lst
+./src/test/basic/api/History_forward_2/TestProperties
+./src/test/basic/api/History_getBackList/Test.lst
+./src/test/basic/api/History_getBackList/TestProperties
+./src/test/basic/api/History_getCurrentHistoryIndex/Test.lst
+./src/test/basic/api/History_getCurrentHistoryIndex/TestProperties
+./src/test/basic/api/History_getForwardList/Test.lst
+./src/test/basic/api/History_getForwardList/TestProperties
+./src/test/basic/api/History_getHistoryEntry/Test.lst
+./src/test/basic/api/History_getHistoryEntry/TestProperties
+./src/test/basic/api/History_getHistoryLength/Test.lst
+./src/test/basic/api/History_getHistoryLength/TestProperties
+./src/test/basic/api/History_getHistory_1/Test.lst
+./src/test/basic/api/History_getHistory_1/TestProperties
+./src/test/basic/api/History_getHistory_2/Test.lst
+./src/test/basic/api/History_getHistory_2/TestProperties
+./src/test/basic/api/History_setCurrentHistoryIndex/Test.lst
+./src/test/basic/api/History_setCurrentHistoryIndex/TestProperties
+./src/test/basic/api/History_setCurrentHistoryIndex_1/Test.lst
+./src/test/basic/api/History_setCurrentHistoryIndex_1/TestProperties
+./src/test/basic/api/History_setCurrentHistoryIndex_2/Test.lst
+./src/test/basic/api/History_setCurrentHistoryIndex_2/TestProperties
+./src/test/basic/bastest1.html
+./src/test/basic/bastest2.html
+./src/test/basic/bastest3.html
+./src/test/basic/bastest4.html
+./src/test/basic/bastest5.html
+./src/test/basic/bastest6.html
+./src/test/basic/bastest7.html
+./src/test/basic/bastest8.html
+./src/test/basic/bastest9.html
+./src/run/autorun.pl
+./src/run/BWTest.lst
+./src/run/BWTest.lst.sva
+./utils/configurator.pl
+./all_files
diff --git a/mozilla/java/webclient/test/automated/build/Killer/Makefile.win b/mozilla/java/webclient/test/automated/build/Killer/Makefile.win
new file mode 100644
index 00000000000..109529254cb
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/build/Killer/Makefile.win
@@ -0,0 +1,33 @@
+#!nmake
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+SRC=Killer.cpp
+FLAGS=/link user32.lib
+DEPTH=..\..
+SRC_DIR=$(DEPTH)\src\Killer
+EXE=Killer.exe
+
+build:
+ @cl $(SRC_DIR)\$(SRC) $(FLAGS)
+install: build
+ @copy $(EXE) $(DEPTH)\utils
+clean:
+ @-del Killer.exe Killer.obj
diff --git a/mozilla/java/webclient/test/automated/build/Makefile b/mozilla/java/webclient/test/automated/build/Makefile
new file mode 100644
index 00000000000..f70fbb469e6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/build/Makefile
@@ -0,0 +1,45 @@
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+
+#cd $(TEST_TOP_DIR)/build ;
+DEPTH=..
+BUILD_DIR=$(DEPTH)/build
+SRC_DIR=$(DEPTH)/src
+CLASSES_SRC=$(SRC_DIR)/classes
+CLASSES_BUILD=$(BUILD_DIR)/classes
+JAVAC=javac
+
+include $(DEPTH)/config/CommonProperties
+
+DIRS=classes test/basic
+
+all:
+ MAKE_ARGS=$@ ;\
+ $(MAKE) dirs
+
+clobber:
+ $(MAKE) dirs MAKE_ARGS=$@
+
+dirs:
+ for i in $(DIRS);do \
+ cd $${i}; $(MAKE) $(MAKE_ARGS); \
+ cd $(TEST_TOP_DIR)/build ;\
+ done
+
diff --git a/mozilla/java/webclient/test/automated/build/Makefile.win b/mozilla/java/webclient/test/automated/build/Makefile.win
new file mode 100644
index 00000000000..c65b4f619af
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/build/Makefile.win
@@ -0,0 +1,48 @@
+#!nmake
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+
+
+DEPTH=..
+BUILD_DIR=.
+SRC_DIR=$(DEPTH)\src
+CLASSES_SRC=$(SRC_DIR)\classes
+CLASSES_BUILD=$(BUILD_DIR)\classes
+JAVAC=javac
+
+DIRS=classes test\basic
+
+all:
+ @set MAKE_ARGS=$@
+ @$(MAKE) /NOLOGO -f Makefile.win $(DIRS)
+
+clobber:
+ @set MAKE_ARGS=$@
+ @$(MAKE) /NOLOGO -f makefile.win $(DIRS)
+
+$(DIRS)::
+ @echo Making $(MAKE_ARGS) in $@
+ @cd $@
+ @$(MAKE) /NOLOGO -f Makefile.win $(MAKE_ARGS)
+ @cd ..
+
+
+
diff --git a/mozilla/java/webclient/test/automated/build/classes/Makefile b/mozilla/java/webclient/test/automated/build/classes/Makefile
new file mode 100644
index 00000000000..75d68c87fba
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/build/classes/Makefile
@@ -0,0 +1,49 @@
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+
+
+DEPTH=../..
+BUILD_DIR=$(DEPTH)/build
+SRC_DIR=$(DEPTH)/src
+CLASSES_SRC=$(SRC_DIR)/classes
+CLASSES_BUILD=$(BUILD_DIR)/classes
+JAVAC=javac
+PACKAGE_SUFFIX=org/mozilla/webclient/test/basic
+#CLASSPATH=$(CLASSES_BUILD);$(CLASSPATH)
+
+DIRS= api\
+ stress \
+ mixed \
+ $(NULL)
+
+all: basic_classes dirs
+
+dirs:
+ for i in $(DIRS);do \
+ echo Compile Java files in $(CLASSES_SRC)/$(PACKAGE_SUFFIX)/$${i} ;\
+ $(JAVAC) -d $(CLASSES_BUILD) $(CLASSES_SRC)/$(PACKAGE_SUFFIX)/$${i}/*.java ;\
+ done
+
+basic_classes:
+ echo Compile Java files in $(CLASSES_SRC)/$(PACKAGE_SUFFIX)
+ $(JAVAC) -d $(CLASSES_BUILD) $(CLASSES_SRC)/$(PACKAGE_SUFFIX)/*.java
+clobber:
+ @echo Remove all $(PACKAGE_SUFFIX) files ...
+ @rm -rf $(CLASSES_BUILD)/$(PACKAGE_SUFFIX)/*
diff --git a/mozilla/java/webclient/test/automated/build/classes/Makefile.win b/mozilla/java/webclient/test/automated/build/classes/Makefile.win
new file mode 100644
index 00000000000..d32b68d376a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/build/classes/Makefile.win
@@ -0,0 +1,53 @@
+#!nmake
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+
+
+DEPTH=..\..
+BUILD_DIR=$(DEPTH)\build
+SRC_DIR=$(DEPTH)\src
+CLASSES_SRC=$(SRC_DIR)\classes
+CLASSES_BUILD=$(BUILD_DIR)\classes
+JAVAC=javac
+PACKAGE_SUFFIX=org\mozilla\webclient\test\basic
+CLASSPATH=$(CLASSES_BUILD);$(CLASSPATH)
+
+DIRS= api \
+ stress \
+ mixed \
+ $(NULL)
+
+all: basic_classes $(DIRS)
+
+$(DIRS)::
+ @echo Compile Java files in $(CLASSES_SRC)\$(PACKAGE_SUFFIX)\$@
+ @$(JAVAC) -d $(CLASSES_BUILD) $(CLASSES_SRC)\$(PACKAGE_SUFFIX)\$@\*.java
+
+basic_classes:
+ @echo Compile Java files in $(CLASSES_SRC)\$(PACKAGE_SUFFIX)
+ @$(JAVAC) -d $(CLASSES_BUILD) $(CLASSES_SRC)\$(PACKAGE_SUFFIX)\*.java
+clobber:
+ @echo Remove all $(PACKAGE_SUFFIX) files ...
+ @-del /Q /S $(CLASSES_BUILD)\$(PACKAGE_SUFFIX)\*
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/build/test/basic/Makefile b/mozilla/java/webclient/test/automated/build/test/basic/Makefile
new file mode 100644
index 00000000000..c0e142210c0
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/build/test/basic/Makefile
@@ -0,0 +1,129 @@
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+
+
+DEPTH=../../..
+BUILD_DIR=$(DEPTH)/build
+SRC_DIR=$(DEPTH)/src
+UTIL_DIR=$(DEPTH)/utils
+COMMON_PROPERTIES=$(DEPTH)/config/CommonProperties
+TEST_DIRS_SRC=$(SRC_DIR)/test/basic
+TEST_DIRS_BUILD=$(BUILD_DIR)/test/basic
+PERL=perl
+TESTS_SUFFIX=test/basic
+SECTIONS = api \
+ mixed \
+ stress \
+ $(NULL)
+include $(COMMON_PROPERTIES)
+
+all: tests
+
+
+test_dirs:
+ @for i in `cat .$(SECTION).dirs`;do \
+ echo Proceed test properties in $(TEST_DIRS_SRC)/$(SECTION)/$${i} ... ;\
+ $(PERL) $(UTIL_DIR)/configurator.pl $(COMMON_PROPERTIES) \
+ $(TEST_DIRS_BUILD)/$(SECTION)/$${i}/TestProperties \
+ $(TEST_DIRS_SRC)/$(SECTION)/$${i}/TestProperties; \
+ if [ -f $(TEST_DIRS_SRC)/$(SECTION)/$${i}/Test.lst ] ;then \
+ echo Proceed test arguments in $(TEST_DIRS_SRC)/$(SECTION)/$${i} ...; \
+ $(PERL) $(UTIL_DIR)/configurator.pl $(COMMON_PROPERTIES) \
+ $(TEST_DIRS_BUILD)/$(SECTION)/$${i}/Test.lst \
+ $(TEST_DIRS_SRC)/$(SECTION)/$${i}/Test.lst ;\
+ fi ;\
+ if [ -f $(TEST_DIRS_SRC)/$(SECTION)/$${i}/*.html ] ;then \
+ echo Copy HTML files from $(TEST_DIRS_SRC)/$(SECTION)/$${i} ;\
+ mkdir -p $(HTML_ROOT_DIR)/$(TESTS_SUFFIX)/$(SECTION)/$${i} ;\
+ cp -f $(TEST_DIRS_SRC)/$(SECTION)/$${i}/*.html $(HTML_ROOT_DIR)/$(TESTS_SUFFIX)/$(SECTION)/$${i} ;\
+ mkdir -p $(HTML_ROOT_DIR)/$(TESTS_SUFFIX)/$(SECTION)/$${i} ;\
+ cp -f $(TEST_DIRS_SRC)/$(SECTION)/$${i}/*.html $(HTML_ROOT_DIR)/$(TESTS_SUFFIX)/$(SECTION)/$${i} ;\
+ fi ;\
+ if [ -f $(TEST_DIRS_SRC)/$(SECTION)/$${i}/*.cgi ] ;then \
+ mkdir -p $(CGI_BIN_ROOT_DIR)/$(TESTS_SUFFIX)/$(SECTION)/$${i} ;\
+ for j in $(TEST_DIRS_SRC)/$(SECTION)$${i}/*.cgi; do \
+ CGI_NAME=`basename $${j}`; \
+ $(PERL) $(UTIL_DIR)/configurator.pl $(COMMON_PROPERTIES) \
+ $(CGI_BIN_ROOT_DIR)/$(TESTS_SUFFIX)/$(SECTION)/$${i}/$${CGI_NAME} \
+ $(TEST_DIRS_SRC)/$(SECTION)/$${i}/$${CGI_NAME}; \
+ done ;\
+ fi ;\
+ done
+clobber:
+ rm -f $(BUILD_DIR)/run/*
+ for i in $(DIRS);do \
+ echo Make clobber in $(TEST_DIRS_BUILD)/$(SECTION)/$${i} ;\
+ rm -rf $(TEST_DIRS_BUILD)/$(SECTION)/$${i}/* ;\
+ done
+
+sections:
+ @for i in $(SECTIONS); do \
+ mkdir -p $(HTML_ROOT_DIR)/$(TESTS_SUFFIX)/$${i} ;\
+ if [ -f $(TEST_DIRS_SRC)/$${i}/*.html ] ;then \
+ echo Copy HTML files from $(TEST_DIRS_SRC)/$${i} ;\
+ cp -f $(TEST_DIRS_SRC)/$${i}/*.html $(HTML_ROOT_DIR)/$(TESTS_SUFFIX)/$${i} ;\
+ fi ;\
+ mkdir -p $(CGI_BIN_ROOT_DIR)/$(TESTS_SUFFIX)/$${i} ;\
+ if [ -f $(TEST_DIRS_SRC)/$${i}/*.cgi ] ;then \
+ echo Copy CGI files from $(TEST_DIRS_SRC)/$${i} ;\
+ for j in $(TEST_DIRS_SRC)/$${i}/*.cgi; do \
+ CGI_NAME=`basename $${j}`; \
+ $(PERL) $(UTIL_DIR)/configurator.pl $(COMMON_PROPERTIES) \
+ $(CGI_BIN_ROOT_DIR)/$(TESTS_SUFFIX)/$${i}/$${CGI_NAME} \
+ $(TEST_DIRS_SRC)/$${i}/$${CGI_NAME}; \
+ done ;\
+ fi ;\
+ echo Generate list of $${i} tests ;\
+ $(PERL) $(UTIL_DIR)/dirGen.pl $(TEST_DIRS_SRC)/$${i} .$${i}.dirs ;\
+ $(MAKE) test_dirs SECTION=$${i};\
+ $(PERL) $(UTIL_DIR)/lstGen.pl $(BUILD_DIR)/$(TESTS_SUFFIX)/$${i} $(BUILD_DIR)/run/$${i}.lst ;\
+ done
+tests:
+ @mkdir -p $(BUILD_DIR)/run
+ @$(PERL) $(UTIL_DIR)/configurator.pl $(COMMON_PROPERTIES) \
+ $(BUILD_DIR)/run/autorun.pl\
+ $(SRC_DIR)/run/autorun.pl
+ @$(PERL) $(UTIL_DIR)/configurator.pl $(COMMON_PROPERTIES) \
+ $(BUILD_DIR)/run/forceful.pl\
+ $(SRC_DIR)/run/forceful.pl
+ @cp -f $(SRC_DIR)/run/BWTest.lst $(BUILD_DIR)/run
+ @cp -f $(SRC_DIR)/run/BWMixedTest.lst $(BUILD_DIR)/run
+ @echo Copy HTML files from $(TEST_DIRS_SRC)
+ @mkdir -p $(HTML_ROOT_DIR)/$(TESTS_SUFFIX)
+ @cp -f $(TEST_DIRS_SRC)/*.html $(HTML_ROOT_DIR)/$(TESTS_SUFFIX)
+ @mkdir -p $(CGI_BIN_ROOT_DIR)/$(TESTS_SUFFIX)
+ @for i in $(TEST_DIRS_SRC)/*.cgi; do \
+ CGI_NAME=`basename $${i}`; \
+ $(PERL) $(UTIL_DIR)/configurator.pl $(COMMON_PROPERTIES) \
+ $(CGI_BIN_ROOT_DIR)/$(TESTS_SUFFIX)/$${CGI_NAME} \
+ $(TEST_DIRS_SRC)/$${CGI_NAME}; \
+ done
+ @$(MAKE) sections
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/build/test/basic/Makefile.win b/mozilla/java/webclient/test/automated/build/test/basic/Makefile.win
new file mode 100644
index 00000000000..efad7387627
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/build/test/basic/Makefile.win
@@ -0,0 +1,122 @@
+#!nmake
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+
+
+DEPTH=..\..\..
+BUILD_DIR=$(DEPTH)\build
+SRC_DIR=$(DEPTH)\src
+UTIL_DIR=$(DEPTH)\utils
+COMMON_PROPERTIES=$(DEPTH)\config\CommonProperties
+TEST_DIRS_SRC=$(SRC_DIR)\test\basic
+TEST_DIRS_BUILD=$(BUILD_DIR)\test\basic
+PERL=perl
+TESTS_SUFFIX=test\basic
+
+!include $(COMMON_PROPERTIES)
+
+!if defined(SECTION)
+DIRS= \
+!include .$(SECTION).dirs.in
+!endif
+
+SECTIONS = api \
+ mixed \
+ stress \
+ $(NULL)
+
+all: tests
+
+!if defined(DIRS)
+test_dirs: $(DIRS)
+
+$(DIRS)::
+!if defined(BUILD_TESTS)
+ @echo Proceed all in $(TEST_DIRS_SRC)\$(SECTION)\$@ ...
+ @$(PERL) $(UTIL_DIR)\configurator.pl $(COMMON_PROPERTIES) \
+ $(TEST_DIRS_BUILD)\$(SECTION)\$@\TestProperties \
+ $(TEST_DIRS_SRC)\$(SECTION)\$@\TestProperties
+ @if exist $(TEST_DIRS_SRC)\$(SECTION)\$@\Test.lst \
+ $(PERL) $(UTIL_DIR)\configurator.pl $(COMMON_PROPERTIES) \
+ $(TEST_DIRS_BUILD)\$(SECTION)\$@\Test.lst \
+ $(TEST_DIRS_SRC)\$(SECTION)\$@\Test.lst
+ @if not exist $(HTML_ROOT_DIR)\$(TESTS_SUFFIX)\$(SECTION)\$@ \
+ mkdir $(HTML_ROOT_DIR)\$(TESTS_SUFFIX)\$(SECTION)\$@
+ @if exist $(TEST_DIRS_SRC)\$(SECTION)\$@\*.html \
+ copy $(TEST_DIRS_SRC)\$(SECTION)\$@\*.html $(HTML_ROOT_DIR)\$(TESTS_SUFFIX)\$(SECTION)\$@
+
+ @if not exist $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX)\$(SECTION)\$@ \
+ mkdir $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX)\$(SECTION)\$@
+ @if exist $(TEST_DIRS_SRC)\$(SECTION)\$@\*.cgi \
+ copy $(TEST_DIRS_SRC)\$(SECTION)\$@\*.cgi $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX)\$(SECTION)\$@
+!else
+ @echo Make clobber in $(TEST_DIRS_BUILD)\$(SECTION)\$@
+ @-del /Q $(TEST_DIRS_BUILD)\$(SECTION)\$@\*
+
+!endif
+!endif
+
+$(SECTIONS)::
+!if defined(BUILD_TESTS)
+ @echo Copy HTML files from $(TEST_DIRS_SRC)\$@
+ @if not exist $(HTML_ROOT_DIR)\$(TESTS_SUFFIX)\$@ \
+ mkdir $(HTML_ROOT_DIR)\$(TESTS_SUFFIX)\$@
+ @if exist $(TEST_DIRS_SRC)\$@\*.html \
+ copy $(TEST_DIRS_SRC)\$@\*.html $(HTML_ROOT_DIR)\$(TESTS_SUFFIX)\$@
+ @if not exist $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX)\$@ \
+ mkdir $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX)\$@
+ @if exist $(TEST_DIRS_SRC)\$@\*.cgi \
+ copy $(TEST_DIRS_SRC)\$@\*.cgi $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX)\$@
+ @echo Generate list of $@ tests
+ @$(PERL) $(UTIL_DIR)\dirGen.pl $(TEST_DIRS_SRC)\$@ .$@.dirs
+ @if exist .$@.dirs.in \
+ del .$@.dirs.in
+ @for /F "delims=" %%i IN (.$@.dirs) DO @echo %%i \>>.$@.dirs.in
+ @echo $$(NULL)>>.$@.dirs.in
+ @$(MAKE) /NOLOGO /f Makefile.win test_dirs SECTION=$@ BUILD_TESTS=1
+ @$(PERL) $(UTIL_DIR)\lstGen.pl $(BUILD_DIR)\$(TESTS_SUFFIX)\$@ $(BUILD_DIR)\run\$@.lst
+!else
+ @$(MAKE) /NOLOGO /f Makefile.win test_dirs SECTION=$@
+!endif
+tests:
+ @if not exist $(BUILD_DIR)\run \
+ mkdir $(BUILD_DIR)\run
+ @copy $(SRC_DIR)\run\autorun.pl $(BUILD_DIR)\run
+ @copy $(SRC_DIR)\run\BWTest.lst $(BUILD_DIR)\run
+ @copy $(SRC_DIR)\run\BWMixedTest.lst $(BUILD_DIR)\run
+ @if not exist $(HTML_ROOT_DIR)\$(TESTS_SUFFIX) \
+ mkdir $(HTML_ROOT_DIR)\$(TESTS_SUFFIX)
+ @if exist $(TEST_DIRS_SRC)\*.html \
+ copy $(TEST_DIRS_SRC)\*.html $(HTML_ROOT_DIR)\$(TESTS_SUFFIX)
+ @if not exist $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX) \
+ mkdir $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX)
+ @if exist $(TEST_DIRS_SRC)\*.cgi \
+ copy $(TEST_DIRS_SRC)\*.cgi $(CGI_BIN_ROOT_DIR)\$(TESTS_SUFFIX)
+ @$(MAKE) /NOLOGO /f Makefile.win $(SECTIONS) BUILD_TESTS=1
+clobber:
+ @echo Remove all from test dirs
+ @$(MAKE) /NOLOGO /f Makefile.win $(SECTIONS)
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/config/CommonProperties b/mozilla/java/webclient/test/automated/config/CommonProperties
new file mode 100644
index 00000000000..75f1c82bf97
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/config/CommonProperties
@@ -0,0 +1,143 @@
+##############################################################################
+# This file contains common properties for automated Webclient TestBase #
+# (please change prop values before making and using testbase) #
+# #
+##############################################################################
+
+############################## BUILD_DESCRIPTION #############################
+# Please place a brief, one line description of current build there.
+# OS version, Mozilla date/mailstoun etc .
+# Example: Solaris 2.7, Mozilla M16, Webclient M4
+
+BUILD_DESCRIPTION=Webclient sources from Aug 28(M4 Webclient), M16 Mozilla , Sparc Solaris 2.7
+
+
+############################## HTML_ROOT_DIR #################################
+# HTML_ROOT_DIR should be pointed to directory on your local filesystem
+# where HTML documents should be placed
+# for example on /home/avm/httpd/htroot/webclient
+
+# HTML_ROOT_DIR=/net/earth/export1/avm/httpd_amber/htdocs/automated
+HTML_ROOT_DIR=/opt/JavaWebServer1.1.3/public_html/webclient/automated
+
+
+################################ HTML_ROOT ###################################
+# HTML_ROOT should be pointed to your HTTPD server entry
+# for example on http://myserv.com/webclient
+
+# HTML_ROOT=http://amber:8080/automated
+HTML_ROOT=file:///opt/JavaWebServer1.1.3/public_html/webclient/automated
+
+
+############################## CGI_BIN_ROOT_DIR ##############################
+# CGI_BIN_ROOT_DIR should be pointed to directory on your local filesystem
+# where CGI-scripts should be placed
+# for example on /home/avm/httpd/cgi-bin/webclient_cgi
+
+# CGI_BIN_ROOT_DIR=/net/earth/export1/avm/httpd_amber/cgi-bin/automated
+CGI_BIN_ROOT_DIR=/opt/JavaWebServer1.1.3/public_html/cgi-bin/webclient/automated
+
+
+############################## CGI_BIN_ROOT ##################################
+# CGI_BIN_ROOT should be pointed to your HTTPD server cgi-bin entry
+# for example on http://myserv.com/cgi-bin/webclient
+
+# CGI_BIN_ROOT=http://amber:8080/cgi-bin/automated
+CGI_BIN_ROOT=http://rampriya.eng:8080/cgi-bin/webclient/automated
+
+
+################################ PERL_DIR ###################################
+# PERL_DIR should be pointed to directory on your filesystem
+# where perl program located . Run a "which perl" command to find out on Sparc Solaris
+# for example on /usr/local/bin
+
+# PERL_DIR=/usr/local/bin
+PERL_DIR=/pkg/gnu/bin/
+
+
+################################ FTP_HOST ####################################
+# FTP_HOST should be equals to url to any ftp server with user name and password
+# if necessary.
+# For example: ftp://guest:guest@polar/
+
+# FTP_HOST=ftp://guest:guest@polar/
+
+
+################################ HTTP_HOST ####################################
+# HTTP_HOST should be equals to url to any accessible httpd server.
+# For example: http://localhost or http://machine_name:8080 if JWS
+
+# HTTP_HOST=http://router
+HTTP_HOST=http://rampriya.eng:8080/
+
+
+############################## PAGES_TO_LOAD ##################################
+# PAGES_TO_LOAD contains comma separated pages, that will be loaded by default.
+# Usually this property specified in TestProperties file and can be empty.
+# For example: file:///c:/temp/webclient/test/basic/bastest1.html,file:///c:/temp/webclient/test/basic/bastest2.html
+
+PAGES_TO_LOAD=
+
+
+############################# BROWSER_BIN_DIR #################################
+# BROWSER_BIN_DIR should be equals to MOZILLA_FIVE_HOME variable
+# I.e point to mozilla executable location.
+# For example: d:\\m16\\mozilla\\dist\\win32_d.obj\\bin
+#
+#NOTE: You must use "\\" as file separator on Win32, because this value
+#will be read via getProperty and "\" will be skipped.
+
+# BROWSER_BIN_DIR=/net/earth/export1/avm/m16/mozilla/dist/bin
+BROWSER_BIN_DIR=/opt/mozilla/dist/bin
+
+
+
+############################### TEST_TOP_DIR ##################################
+# TEST_TOP_DIR should be pointed to the top dir of automated testbase.
+# For example: c:\home\avm\webclient\automated
+
+# TEST_TOP_DIR=/net/earth/export1/avm/automated
+TEST_TOP_DIR=/Blackwood/src/Webclient/automated
+
+
+
+############################### DELAY_INTERNAL ##################################
+# DELAY_INTERNAL - internal timeout for TestLoader in seconds.
+# After this period of time TestLoader set result of execution automatically.
+
+DELAY_INTERNAL=100
+
+
+############################### DELAY_EXTERNAL ##################################
+# DELAY_EXTERNAL - external timeout for autorun.pl in seconds.
+# After this period of time autorun.pl kill the application if it is still running.
+
+DELAY_EXTERNAL=120
+
+
+############################### DELAY_OF_CYCLE ##################################
+# DELAY_OF_CYCLE - timeout for autorun.pl in seconds.
+# One time in such period autorun.pl performs check for test results and for
+# application status.
+# The good value should be in range :
+# 2<= (DELAY_EXTERNAL - DELAY_INTERNAL)/DELAY_OF_CYCLE <=10
+#
+#
+
+DELAY_OF_CYCLE=2
+
+
+##############################################################################
+#
+# Additional parameters. In common case you MUST NOT change it.
+#
+################################################################################
+
+TEST_LOG_FILE=WebclientTest.log
+
+TEST_RESULT_FILE=WebclientTest.res
+
+Integer_MIN_VALUE=-2147483648
+
+Integer_MAX_VALUE=2147483647
+
diff --git a/mozilla/java/webclient/test/automated/doc/BWTest_with_comments.txt b/mozilla/java/webclient/test/automated/doc/BWTest_with_comments.txt
new file mode 100644
index 00000000000..f5bf589a5cb
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/BWTest_with_comments.txt
@@ -0,0 +1,19 @@
+basic/api/Navigation_stop:0=PASSED=Mozilla doesn't crashes and nothing happens
+basic/api/Navigation_stop:1=PASSED=Mozilla doesn't crashes and load process stops
+basic/api/Navigation_stop:2=PASSED=Mozilla doesn't crashes and nothing happens
+basic/api/Navigation_loadURL_1:0=FAILED=HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION, Error ID: 4F533F57494E13120E43505002B7
+basic/api/Navigation_loadURL_1:1=PASSED=Mozilla doesn't crashes
+basic/api/Navigation_loadURL_2:0=PASSED=Mozilla doesn't crashes and URL loads
+basic/api/Navigation_loadURL_2:1=PASSED=Mozilla doesn't crashes, load process stops and another URL is loaded
+basic/api/Navigation_loadURL_2:2=PASSED=Mozilla doesn't crashes and another URL is loaded
+basic/api/Navigation_loadURL_3:0=PASSED=Mozilla doesn't crashes and loads URL
+basic/api/Navigation_loadURL_3:1=PASSED=Mozilla doesn't crashes and loads URL
+basic/api/Navigation_loadURL_3:2=FAILED=ftp:// protocol doesn't loads
+basic/api/Navigation_loadURL_3:3=PASSED=Mozilla doesn't crashes
+basic/api/Navigation_refresh_1:0=PASSED=Mozilla doesn't crashes and nothing happens
+basic/api/Navigation_refresh_1:1=PASSED=Mozilla doesn't crashes, load process stops and URL reloads
+basic/api/Navigation_refresh_1:2=PASSED=Mozilla doesn't crashes and URL reloads
+basic/api/Navigation_refresh_2:0=PASSED=Mozilla doesn't crashes and URL reloads
+basic/api/Navigation_refresh_2:1=PASSED=Mozilla doesn't crashes and URL reloads
+basic/api/Navigation_refresh_2:2=PASSED=Mozilla doesn't crashes and URL reloads
+basic/api/Navigation_refresh_2:3=PASSED=Mozilla doesn't crashes and URL reloads
diff --git a/mozilla/java/webclient/test/automated/doc/BookmarkEntry.html b/mozilla/java/webclient/test/automated/doc/BookmarkEntry.html
new file mode 100644
index 00000000000..5786842b13c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/BookmarkEntry.html
@@ -0,0 +1,166 @@
+
+
+
+Description of tests on BookmarkEntry interface
+
+
+
+This document contains a simple preliminary description of
+testcases on BookmarkEntry interface of Webclient API.
+
+
+
+
+1. Tests on getProperties() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_getProperties:0 | Method gets properties from bookmarkEntry which is recieved via TreeModel | Method returns correct properties |
+| basic/api/BookmarkEntry_getProperties:1 | Method gets properties from bookmarkEntry which is recieved via newBookmarkEntry | Method returns correct properties |
+| basic/api/BookmarkEntry_getProperties:2 | Method gets properties from bookmarkEntry which is recieved via newBookmarkFolder | Method returns correct properties |
+
+
+
+
+2. Tests on isFolder() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_isFolder:0 | Method checks bookmarkEntry recieved via newBookmarkEntry | Method returns false |
+| basic/api/BookmarkEntry_isFolder:1 | Method checks bookmarkEntry recieved via newBookmarkFolder | Method returns true |
+
+
+
+3. Tests on insert(MutableTreeNode child, int index) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_insert:0 | Method adds NULL child to the receiver | Browser doesn't crashed |
+| basic/api/BookmarkEntry_insert:1 | Method adds correct child to the receiver at index | Child is added |
+| basic/api/BookmarkEntry_insert:2 | Method adds correct child to the receiver at index=0 | Browser doesn't crashed |
+| basic/api/BookmarkEntry_insert:3 | Method adds correct child to the receiver at index=-2147483648 | Browser doesn't crashed |
+| basic/api/BookmarkEntry_insert:4 | Method adds correct child to the receiver at index=2147483647 | Browser doesn't crashed |
+
+
+
+4. Tests on remove(int index) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_remove_1:0 | Method removes the child at existed index from the receiver. | Child is removed |
+| basic/api/BookmarkEntry_remove_1:1 | Method removes the child at index=0 from the receiver. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_remove_1:2 | Method removes the child at index=-2147483648 from the receiver. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_remove_1:3 | Method removes the child at index=2147483647 from the receiver. | Browser doesn't crashed |
+
+
+
+5. Tests on remove(MutableTreeNode node) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_remove_2:0 | Method removes the NULL node from the receiver. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_remove_2:1 | Method removes the existed node from the receiver. | Child is removed |
+
+
+
+6. Tests on removeFromParent() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_removeFromParent:0 | Method removes the receiver from its parent=NULL. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_removeFromParent:1 | Method Removes the receiver from its correct parent. | Reciever is removed |
+
+
+
+7. Tests on setParent(MutableTreeNode newParent) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_setParent:0 | Method sets the parent of the receiver to newParent=NULL. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_setParent:1 | Method sets the parent of the receiver to correct newParent. | newParent is set |
+
+
+
+8. Tests on setUserObject(Object object) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_setUserObject:0 | Method resets the user object of the receiver to object=NULL. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_setUserObject:1 | Method resets the user object of the receiver to correct object. | The user object is reseted |
+
+
+
+9. Tests on children() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_children:0 | Method returns the children of the bookmarkFolder as an Enumeration. | Correct Enumeration object is returned. |
+| basic/api/BookmarkEntry_children:1 | Method returns the children of the bookmarkEntry as an Enumeration. | Browser doesn't crashed |
+
+
+
+10. Tests on getAllowsChildren() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_getAllowsChildren:0 | Method returns boolean result for the reciever=bookmarkFolder. | Result is true. |
+| basic/api/BookmarkEntry_getAllowsChildren:1 | Method returns boolean result for the reciever=bookmarkEntry. | Result is false. |
+
+
+
+11. Tests on getChildAt(int index) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_getChildAt:0 | Method tries to return the child of the bookmarkEntry. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_getChildAt:1 | Method returns the child at correct index. | Child is returned. |
+| basic/api/BookmarkEntry_getChildAt:2 | Method tries to return the child at index=0. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_getChildAt:3 | Method tries to return the child at index=-2147483648. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_getChildAt:4 | Method tries to return the child at index=2147483647. | Browser doesn't crashed |
+
+
+
+12. Tests on getChildCount() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_getChildCount:0 | Method returns the number of children the bookmarkFolder contains. | Correct number is returned. |
+| basic/api/BookmarkEntry_getChildCount:1 | Method returns the number of children the bookmarkEntry contains. | Browser doesn't crashed |
+
+
+
+13. Tests on getIndex(TreeNode node) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_getIndex:0 | Method returns the index of node in the bookmarkFolder children. | Correct number is returned. |
+| basic/api/BookmarkEntry_getIndex:1 | Method returns the index of node in the bookmarkEntry children. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_getIndex:2 | Method returns the index of node=NULL in the bookmarkFolder children. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_getIndex:3 | Method returns the index of node=bookmarkFolder in the bookmarkFolder children. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_getIndex:4 | Method returns the index of incorrect node in the bookmarkFolder children. | Browser doesn't crashed |
+
+
+
+14. Tests on getParent() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_getParent:0 | Method returns the parent node of the reciever=bookmarkFolder, which has no parent. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_getParent:1 | Method returns the parent node of the reciever=bookmarkFolder, which has a parent. | Correct parent is returned. |
+| basic/api/BookmarkEntry_getParent:2 | Method returns the parent node of the reciever=bookmarkEntry, which has no parent. | Browser doesn't crashed |
+| basic/api/BookmarkEntry_getParent:3 | Method returns the parent node of the reciever=bookmarkEntry, which has a parent. | Correct parent is returned. |
+
+
+
+15. Tests on isLeaf() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/BookmarkEntry_isLeaf:0 | Method returns true if reciever=bookmarkFolder is a leaf. | True is returned. |
+| basic/api/BookmarkEntry_isLeaf:1 | Method returns true if reciever=bookmarkEntry is a leaf. | False is returned. |
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/Bookmarks.html b/mozilla/java/webclient/test/automated/doc/Bookmarks.html
new file mode 100644
index 00000000000..c60bc9b6edb
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/Bookmarks.html
@@ -0,0 +1,72 @@
+
+
+
+Description of tests on Bookmarks interface
+
+
+
+This document contains a simple preliminary description of
+testcases on Bookmarks interface of Webclient API.
+
+
+
+
+1. Tests on addBookmark(BookmarkEntry) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_addBookmark:0 | Method addBookmark() invoked and try to add to Bookmarks new Leaf with correct String | Mozilla doesn't crashes and added one leaf to Bookmarks |
+| basic/api/History_addBookmark:1 | Method addBookmark() invoked and try to add to Bookmarks new folder with correct String | Mozilla doesn't crashes and added one folder to Bookmarks |
+| basic/api/History_addBookmark:2 | Method addBookmark() invoked and try to add to Bookmarks new Leaf with name=null | Mozilla doesn't crashes and added one leaf to Bookmarks |
+| basic/api/History_addBookmark:3 | Method addBookmark() invoked and try to add to Bookmarks new folder with name=null | Mozilla doesn't crashes and added one folder to Bookmarks |
+| basic/api/History_addBookmark:4 | Method addBookmark() invoked and try to add to Bookmarks new Leaf with name="" | Mozilla doesn't crashes and added one leaf to Bookmarks |
+| basic/api/History_addBookmark:5 | Method addBookmark() invoked and try to add to Bookmarks new folder with name="" | Mozilla doesn't crashes and added one folder to Bookmarks |
+
+
+
+2. Tests on getBookmarks() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getBookmarks:0 | Method getBookmarks() invoked | Mozilla doesn't crash and getBookmarks() return correct Bookmarks |
+
+
+
+3. Tests on newBookmarkEntry(String) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_newBookmarkEntry:0 | Method newBookmarkEntry(String) invoked with correct url string | Mozilla doesn't crashes and creates a new bookmark leaf with correct URL |
+| basic/api/History_newBookmarkEntry:1 | Method newBookmarkEntry(String) invoked with string == null | Mozilla doesn't crashes and creates a new bookmark leaf with URL==null |
+| basic/api/History_newBookmarkEntry:2 | Method newBookmarkEntry(String) invoked with empty url string | Mozilla doesn't crashes and creates a new bookmark leaf with empty URL |
+
+
+
+4. Tests on newBookmarkFolder(String) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_newBookmarkFolder:0 | Method newBookmarkFolder(String) invoked with correctly formed string | Mozilla doesn't crashes and creates a new bookmark folder with name == string |
+| basic/api/History_newBookmarkFolder:1 | Method newBookmarkFolder(String) invoked with string == null | Mozilla doesn't crashes and creates a new bookmark folder with name == null |
+| basic/api/History_newBookmarkFolder:2 | Method newBookmarkFolder(String) invoked with empty string | Mozilla doesn't crashes and creates a new bookmark folder with name == emplty string |
+
+
+
+5. Tests on removeBookmark(BookmarkEntry) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_removeBookmark:0 | Method removeBookmark(BookmarkEntry) invoked when BookmarkEntry is null | Mozilla doesn't crashes and remove leaf BookmarkEntry from Bookamarks |
+| basic/api/History_removeBookmark:1 | Method removeBookmark(BookmarkEntry) invoked when BookmarkEntry is correct entry from TreeModel | Mozilla doesn't crashes and remove folder BookmarkEntry from Bookamarks |
+| basic/api/History_removeBookmark:2 | Method removeBookmark(BookmarkEntry) invoked when BookmarkEntry is unexist in TreeModel | Mozilla doesn't crashes and remove folder BookmarkEntry from Bookamarks |
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/BrowserControlCanvas.html b/mozilla/java/webclient/test/automated/doc/BrowserControlCanvas.html
new file mode 100644
index 00000000000..5c3b1f479df
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/BrowserControlCanvas.html
@@ -0,0 +1,68 @@
+
+
+
+Description of tests on History interface
+
+
+
+This document contains a simple preliminary description of
+testcases on History interface of Webclient API.
+
+
+
+
+1. Tests on addNotify method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_addNotify:0 | Method addNotify() invoked when some URL's are loaded | Mozilla doesn't crashes |
+
+
+
+1. Tests on getWebShell method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getWebShell:0 | Method getWebShell() invoked | Mozilla doesn't crash and getWebShell return correct BrowserControl |
+
+
+
+3. Tests on setBounds(int, int, int. int) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_setBounds:0 | Method setBounds invoked with correct bounds | Mozilla doesn't crashes and set bounds of Canvas correctly |
+| basic/api/History_setBounds:1 | Method setBounds invoked with INTEGER.MIN_VALUE as first parameter | Mozilla doesn't crashes and do no set new bounds of Canvas |
+| basic/api/History_setBounds:2 | Method setBounds invoked with INTEGER.MAX_VALUE as first parameter | Mozilla doesn't crashes and do no set new bounds of Canvas |
+| basic/api/History_setBounds:3 | Method setBounds invoked with 0 as first parameter | Mozilla doesn't crashes and set new bounds of Canvas correctly |
+| basic/api/History_setBounds:4 | Method setBounds invoked with INTEGER.MIN_VALUE as second parameter | Mozilla doesn't crashes and do no set new bounds of Canvas |
+| basic/api/History_setBounds:5 | Method setBounds invoked with INTEGER.MAX_VALUE as second parameter | Mozilla doesn't crashes and do no set new bounds of Canvas |
+| basic/api/History_setBounds:6 | Method setBounds invoked with 0 as second parameter | Mozilla doesn't crashes and set new bounds of Canvas correctly |
+| basic/api/History_setBounds:7 | Method setBounds invoked with INTEGER.MIN_VALUE as third parameter | Mozilla doesn't crashes and do no set new bounds of Canvas |
+| basic/api/History_setBounds:8 | Method setBounds invoked with INTEGER.MAX_VALUE as third parameter | Mozilla doesn't crashes and do no set new bounds of Canvas |
+| basic/api/History_setBounds:9 | Method setBounds invoked with 0 as third parameter | Mozilla doesn't crashes and set new bounds of Canvas correctly |
+| basic/api/History_setBounds:10 | Method setBounds invoked with INTEGER.MIN_VALUE as fourth parameter | Mozilla doesn't crashes and do no set new bounds of Canvas |
+| basic/api/History_setBounds:11 | Method setBounds invoked with INTEGER.MAX_VALUE as fourth parameter | Mozilla doesn't crashes and do no set new bounds of Canvas |
+| basic/api/History_setBounds:12 | Method setBounds invoked with 0 as fourth parameter | Mozilla doesn't crashes and set new bounds of Canvas correctly |
+| basic/api/History_setBounds:13 | Method setBounds invoked with 0 as all parameters | Mozilla doesn't crashes and set new bounds of Canvas correctly |
+| basic/api/History_setBounds:14 | Method setBounds invoked with inverted rectangle(Xleft >Xright) | Mozilla doesn't crashes and set new bounds of Canvas correctly |
+
+
+
+4. Tests on setBounds(Rectangle) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_setBounds_rect:0 | Method setBounds invoked with correctly formed rectangle with possible coordinates | Mozilla doesn't crashes and set Bounds of Canvas correctly |
+| basic/api/History_setBounds_rect:1 | Method setBounds invoked with correctly formed rectangle with all coordinates = 0 | Mozilla doesn't crashes and set Bounds of Canvas correctly |
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/CurrentPage.html b/mozilla/java/webclient/test/automated/doc/CurrentPage.html
new file mode 100644
index 00000000000..aaddc2c9137
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/CurrentPage.html
@@ -0,0 +1,118 @@
+
+
+
+Description of tests on CurrentPage interface
+
+
+
+This document contains a simple preliminary descritption of
+testcases on CurrentPage interface of Webclient API.
+
+
+
+
+1. Tests on copyCurrentSelectionToSystemClipboard() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_copyCurSel:0 | Method is invoked without any URL string | Browser doesn't crashed |
+| basic/api/CurrentPage_copyCurSel:1 | Method is invoked with no selection | Clipboard content doesn't change |
+| basic/api/CurrentPage_copyCurSel:2 | Method is invoked with selected text | Clipboard gets selected text |
+
+
+
+
+2. Tests on findInPage(String search_string, boolean forward, boolean matchcase) method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_findInPage_1:0 | Method is invoked with null search string | Browser doesn't crashed |
+| basic/api/CurrentPage_findInPage_1:1 | Method is invoked with empty search string | Browser doesn't crashed |
+| basic/api/CurrentPage_findInPage_1:2 | Method is invoked with exist search string | Browser finds search string |
+| basic/api/CurrentPage_findInPage_1:3 | Method is invoked without any URL | Browser doesn't crashed |
+| basic/api/CurrentPage_findInPage_1:4 | Method is invoked with unexist search string | Browser doesn't crashed and finds nothing |
+| basic/mixed/CurrentPage_findInPage_2:0 | Method is invoked with forward=true and matchcase=true | Browser finds search string |
+| basic/mixed/CurrentPage_findInPage_2:1 | Method is invoked with forward=true and matchcase=false | Browser finds search string |
+| basic/mixed/CurrentPage_findInPage_2:2 | Method is invoked with forward=false and matchcase=true | Browser finds search string |
+| basic/mixed/CurrentPage_findInPage_2:3 | Method is invoked with forward=false and matchcase=false | Browser finds search string |
+
+
+
+3. Tests on findNextInPage(boolean forward) method.
+
+| Test ID | Action | Expected Result |
+
| basic/mixed/CurrentPage_findNextInPage:0 | Method is invoked with forward=true | Browser finds search string |
+| basic/mixed/CurrentPage_findNextInPage:1 | Method is invoked with forward=false | Browser finds search string |
+| basic/mixed/CurrentPage_findNextInPage:2 | Method is invoked without previous find | Browser finds nothing and doesn't crash |
+| basic/mixed/CurrentPage_findNextInPage:3 | Method is invoked at the end of document | Browser finds nothing and doesn't crash |
+
+
+
+4. Tests on getCurrentURL() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_getCurrentURL:0 | Method is invoked after URL is loaded | Method returns current URL |
+| basic/api/CurrentPage_getCurrentURL:1 | Method is invoked during URL is loading | Method returns current URL |
+| basic/api/CurrentPage_getCurrentURL:2 | Method is invoked without any URL | Browser doesn't crashed |
+
+
+
+5. Tests on getSource() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_getSource:0 | Method is invoked without any URL | Browser doesn't crashed |
+| basic/api/CurrentPage_getSource:1 | Method is invoked with correct URL | Method returns URL source |
+
+
+
+6. Tests on getSourceBytes() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_getSourceBytes:0 | Method is invoked without any URL | Browser doesn't crashed |
+| basic/api/CurrentPage_getSourceBytes:1 | Method is invoked with correct URL | Method returns URL source bytes |
+
+
+
+7. Tests on resetFind() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_resetFind:0 | Method is invoked without any URL | Browser doesn't crashed |
+| basic/api/CurrentPage_resetFind:1 | Method is invoked with previous search result | Find parameters is nulled |
+| basic/api/CurrentPage_resetFind:2 | Method is invoked without previous search result | Browser doesn't crashed and find parameters is nulled |
+
+
+
+8. Tests on selectAll() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_selectAll:0 | Method is invoked without any URL | Browser doesn't crashed |
+| basic/api/CurrentPage_selectAll:1 | Method is invoked with correct URL | All is selected |
+
+
+
+9. Tests on getDOM() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_getDOM:0 | Method is invoked without any URL | Browser doesn't crashed |
+| basic/api/CurrentPage_getDOM:1 | Method is invoked with correct URL | Correct org.w3c.dom.Document object is returned |
+
+
+
+9. Tests on getPageInfo() method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/CurrentPage_getPageInfo:0 | Method is invoked without any URL | Browser doesn't crashed |
+| basic/api/CurrentPage_getPageInfo:1 | Method is invoked with correct URL | Correct java.util.Properties object is returned |
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/EventRegistration.html b/mozilla/java/webclient/test/automated/doc/EventRegistration.html
new file mode 100644
index 00000000000..fc16180e3d5
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/EventRegistration.html
@@ -0,0 +1,71 @@
+
+
+
+Description of tests on EventRegistration interface
+
+
+
+This document contains a simple preliminary descritption of
+testcases on EventRegistration interface of Webclient API.
+
+
+
+
+1. Tests on addDocumentLoadListener method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/EventRegistration_addDocumentLoadListener_1:0 | This test registers listener and loads document | START_DOCUMENT_LOAD_EVENT_MASK event dispatched |
+| basic/api/EventRegistration_addDocumentLoadListener_1:1 | This test registers listener and loads document | END_DOCUMENT_LOAD_EVENT_MASK event dispatched |
+| basic/api/EventRegistration_addDocumentLoadListener_1:2 | This test registers listener and loads document | START_URL_LOAD_EVENT_MASK event dispatched |
+| basic/api/EventRegistration_addDocumentLoadListener_1:3 | This test registers listener and loads document | END_URL_LOAD_EVENT_MASK event dispatched |
+| basic/api/EventRegistration_addDocumentLoadListener_1:4 | This test registers listener and loads document | PROGRESS_URL_LOAD_EVENT_MASK event dispatched |
+| basic/api/EventRegistration_addDocumentLoadListener_1:5 | This test registers listener and loads document | STATUS_URL_LOAD_EVENT_MASK event dispatched |
+| basic/api/EventRegistration_addDocumentLoadListener_1:6 | This test registers listener and loads document | UNKNOWN_CONTENT_EVENT_MASK event dispatched |
+| basic/api/EventRegistration_addDocumentLoadListener_1:7 | This test registers listener and loads document | FETCH_INTERRUPT_EVENT_MASK event dispatched |
+| basic/api/EventRegistration_addDocumentLoadListener_2:0 | This test registers null listener | Browser doesn't crashed |
+| basic/api/EventRegistration_addDocumentLoadListener_2:1 | This test registers several same correct listeners | Events dispatched in one listener |
+| basic/api/EventRegistration_addDocumentLoadListener_2:2 | This test registers several different correct listeners | Events dispatched in last registered listener |
+
+
+
+
+2. Tests on addMouseListener method.
+
+| Test ID | Action | Expected Result |
+
| basic/mixed/EventRegistration_addMouseListener_1:0 | This test registers listener and waits for mouse events | MOUSE_DOWN_EVENT_MASK event dispatched |
+| basic/mixed/EventRegistration_addMouseListener_1:1 | This test registers listener and waits for mouse events | MOUSE_UP_EVENT_MASK event dispatched |
+| basic/mixed/EventRegistration_addMouseListener_1:2 | This test registers listener and waits for mouse events | MOUSE_CLICK_EVENT_MASK event dispatched |
+| basic/mixed/EventRegistration_addMouseListener_1:3 | This test registers listener and waits for mouse events | MOUSE_DOUBLE_CLICK_EVENT_MASK event dispatched |
+| basic/mixed/EventRegistration_addMouseListener_1:4 | This test registers listener and waits for mouse events | MOUSE_OVER_EVENT_MASK event dispatched |
+| basic/mixed/EventRegistration_addMouseListener_1:5 | This test registers listener and waits for mouse events | MOUSE_OUT_EVENT_MASK event dispatched |
+| basic/mixed/EventRegistration_addMouseListener_2:0 | This test registers null listener | Browser doesn't crashed |
+| basic/mixed/EventRegistration_addMouseListener_2:1 | This test registers several same correct listeners | Events dispatched in one listener |
+| basic/mixed/EventRegistration_addMouseListener_2:2 | This test registers several different correct listeners | Events dispatched in last registered listener |
+
+
+
+3. Tests on removeDocumentLoadListener method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/EventRegistration_removeDocumentLoadListener:0 | This test removes null listener | Browser doesn't crashed |
+| basic/api/EventRegistration_removeDocumentLoadListener:1 | This test removes unregistered listener | Browser doesn't crashed |
+| basic/api/EventRegistration_removeDocumentLoadListener:2 | This test removes registered listener | Listener is removed |
+
+
+
+4. Tests on removeMouseListener method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/EventRegistration_removeMouseListener_1:0 | This test removes null listener | Browser doesn't crashed |
+| basic/api/EventRegistration_removeMouseListener_1:1 | This test removes unregistered listener | Browser doesn't crashed |
+| basic/mixed/EventRegistration_removeMouseListener_2:0 | This test removes registered listener | Listener is removed |
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/History.html b/mozilla/java/webclient/test/automated/doc/History.html
new file mode 100644
index 00000000000..789594732e8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/History.html
@@ -0,0 +1,157 @@
+
+
+
+Description of tests on History interface
+
+
+
+This document contains a simple preliminary description of
+testcases on History interface of Webclient API.
+
+
+
+
+1. Tests on back method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_back_1:0 | Method back() invoked when backList is empty | Mozilla doesn't crashes and no page loads |
+| basic/api/History_back_1:1 | Method back() invoked when backList is not empty | Mozilla doesn't crashes and load previous page |
+| basic/api/History_back_2:0 | Method back() invoked when no URL loaded | Mozilla doesn't crashes and no page loads |
+
+
+
+2. Tests on canBack method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_canBack_1:0 | Method canBack() invoked when backList is not empty | Mozilla doesn't crashes and canBack return true |
+| basic/api/History_canBack_1:1 | Method canBack() invoked when backList is empty | Mozilla doesn't crashes and canBack return false |
+| basic/api/History_canBack_2:0 | Method canBack() invoked when no URL loaded | Mozilla doesn't crashes and canBack return false |
+
+
+
+3. Tests on canForward method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_canForward_1:0 | Method canForward() invoked when forwardList is not empty | Mozilla doesn't crashes and canForward return true |
+| basic/api/History_canForward_1:1 | Method canForward() invoked when forwardList is empty | Mozilla doesn't crashes and canForward return false |
+| basic/api/History_canForward_2:0 | Method canForward() invoked when no URL loaded | Mozilla doesn't crashes and canForward return false |
+
+
+
+4. Tests on clearHistory method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_clearHistory_1:0 | Method clearHistory() invoked when no URL loaded | Mozilla doesn't crashes and history.length return true |
+| basic/api/History_clearHistory_2:0 | Method clearHistory() invoked when some URL's are loaded | Mozilla doesn't crashes and clearHistory return false |
+
+
+
+5. Tests on forward method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_forward_1:0 | Method forward() invoked when forwardList is empty | Mozilla doesn't crashes and forward do nothing and do not thrown any exception |
+| basic/api/History_forward_1:1 | Method forward() invoked when forwardList is not empty | Mozilla doesn't crashes and forward load next URL |
+| basic/api/History_forward_2:0 | Method forward() invoked when no URL loaded | Mozilla doesn't crashes and forward do nothing and do not thrown any exception |
+
+
+
+6. Tests on getBackList method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getBackList:0 | Method getBackList() invoked when backList is empty | Mozilla doesn't crashes and getBackList return null |
+| basic/api/History_getBackList:1 | Method getBackList() invoked when backList is not empty | Mozilla doesn't crashes and getBackList return correct backList |
+| basic/api/History_getBackList:2 | Method getBackList() invoked when no URL loaded | Mozilla doesn't crashes and getBackList return null |
+| basic/api/History_getBackList:3 | Method getBackList() invoked when some URL's are loaded and neither method called before | Mozilla doesn't crashes and getBackList return correct BackList |
+
+
+
+7. Tests on getCurrentHistoryIndex method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getCurrentHistoryIndex:0 | Method getCurrentHistoryIndex() invoked when current URL is the first in history | Mozilla doesn't crashes and getCurrentHistoryIndex return 0 |
+| basic/api/History_getCurrentHistoryIndex:1 | Method getCurrentHistoryIndex() invoked when current URL is the last in history | Mozilla doesn't crashes and getCurrentHistoryIndex return correct length of history |
+| basic/api/History_getCurrentHistoryIndex:2 | Method getCurrentHistoryIndex() invoked when current URL is in the middle of history | Mozilla doesn't crashes and getCurrentHistoryIndex return correct index |
+| basic/api/History_getCurrentHistoryIndex:3 | Method getCurrentHistoryIndex() invoked when current URL is the last in history and neither method called before | Mozilla doesn't crashes and getCurrentHistoryIndex return correct index |
+
+
+
+8. Tests on getForwardList method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getForwardList:0 | Method getForwardList() invoked when forwardList is empty (the last page is loaded) | Mozilla doesn't crashes and getForwardList return empty array |
+| basic/api/History_getForwardList:1 | Method getForwardList() invoked when forwardList is equal all history | Mozilla doesn't crashes and getForwardList return correct forwardList |
+| basic/api/History_getForwardList:2 | Method getForwardList() invoked when forwardList is a part of history | Mozilla doesn't crashes and getForwardList return correct forwardList |
+| basic/api/History_getForwardList:3 | Method getForwardList() invoked when forwardList is empty (the last page is loaded) and neither method called before | Mozilla doesn't crashes and getForwardList return correct forwardList |
+
+
+
+9. Tests on getHistory method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getHistory_1:0 | Method getHistory() invoked when history contains only 1 html | Mozilla doesn't crashes and getHistory return araay with 1 element |
+| basic/api/History_getHistory_2:0 | Method getHistory() invoked when current page is the first in history | Mozilla doesn't crashes and getHistory return correct array |
+| basic/api/History_getHistory_2:1 | Method getHistory() invoked when current page in the middle of history | Mozilla doesn't crashes and getHistory return correct array |
+| basic/api/History_getHistory_2:2 | Method getHistory() invoked when current page in the end of history | Mozilla doesn't crashes and getHistory return correct array |
+
+
+
+10. Tests on getHistoryEntry method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getHistoryEntry:0 | Method getHistoryEntry() invoked with arg = INTEGER.MAX_VALUE | Mozilla doesn't crashes and getHistoryEntry return null (or thrown Exception) |
+| basic/api/History_getHistoryEntry:1 | Method getHistoryEntry() invoked with arg = INTEGER.MIN_VALUE | Mozilla doesn't crashes and getHistoryEntry return null (or thrown Exception) |
+| basic/api/History_getHistoryEntry:2 | Method getHistoryEntry() invoked with arg = 0 | Mozilla doesn't crashes and getHistoryEntry return a first entry of history |
+| basic/api/History_getHistoryEntry:3 | Method getHistoryEntry() invoked with arg equals a history.length | Mozilla doesn't crashes and getHistoryEntry return last entry of history |
+
+
+
+11. Tests on getHistoryLength method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getHistoryLength_1:0 | Method getHistoryLength() invoked with some loaded pages | Mozilla doesn't crashes and getHistoryLength return correct value |
+| basic/api/History_getHistoryLength_2:0 | Method getHistoryLength() invoked when none URL's loaded | Mozilla doesn't crashes and getHistoryLength return 0 |
+
+
+
+12. Tests on getURLForIndex method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_getURLForIndex:0 | Method getURLForIndex() invoked with arg = INTEGER.MAX_VALUE | Mozilla doesn't crashes and getURLForIndex return null (or thrown Exception) |
+| basic/api/History_getURLForIndex:1 | Method getURLForIndex() invoked with arg = INTEGER.MIN_VALUE | Mozilla doesn't crashes and getURLForIndex return null (or thrown Exception) |
+| basic/api/History_getURLForIndex:2 | Method getURLForIndex() invoked with arg = 0 | Mozilla doesn't crashes and getURLForIndex return a first URL of history |
+| basic/api/History_getURLForIndex:3 | Method getURLForIndex() invoked with arg equals a history.length | Mozilla doesn't crashes and getURLForIndex return last URL of history |
+
+
+
+13. Tests on setCurrentHistoryIndex method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/History_setCurrentHistoryIndex_1:0 | Method setCurrentHistoryIndex() invoked with arg = INTEGER.MAX_VALUE | Mozilla doesn't crashes and setCurrentHistoryIndex do not load any URL (or thrown Exception) |
+| basic/api/History_setCurrentHistoryIndex_1:1 | Method setCurrentHistoryIndex() invoked with arg = INTEGER.MIN_VALUE | Mozilla doesn't crashes and setCurrentHistoryIndex do not load any URL (or thrown Exception) |
+| basic/api/History_setCurrentHistoryIndex_1:2 | Method setCurrentHistoryIndex() invoked with arg = 0 | Mozilla doesn't crashes and setCurrentHistoryIndex load a first URL of history |
+| basic/api/History_setCurrentHistoryIndex_1:3 | Method setCurrentHistoryIndex() invoked with 0| Mozilla doesn't crashes and setCurrentHistoryIndex load correct URL | |
+| basic/api/History_setCurrentHistoryIndex_1:4 | Method setCurrentHistoryIndex() invoked with arg = history.length | Mozilla doesn't crashes and setCurrentHistoryIndex load last URL of history |
+| basic/api/History_setCurrentHistoryIndex_2:0 | Method setCurrentHistoryIndex() invoked with history = null | Mozilla doesn't crashes and setCurrentHistoryIndex do not load any URL |
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/Navigation.html b/mozilla/java/webclient/test/automated/doc/Navigation.html
new file mode 100644
index 00000000000..998602975e4
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/Navigation.html
@@ -0,0 +1,61 @@
+
+
+
+Description of tests on Navigation interface
+
+
+
+This document contains a simple preliminary description of
+testcases on Navigation interface of Webclient API.
+
+
+
+
+1. Tests on loadURL method.
+
+| Test ID | Action | Expected Result |
+
| basic/api/Navigation_loadURL_1:0 | Method loadURL() invoked with null URL string | Browser doesn't crashed |
+| basic/api/Navigation_loadURL_1:1 | Method loadURL() invoked with empty URL string | Browser doesn't crashed |
+| basic/api/Navigation_loadURL_2:0 | Method loadURL() invoked when no URL loaded | Browser doesn't crashed and URL loads |
+| basic/api/Navigation_loadURL_2:1 | Method loadURL() invoked when URL is loading | Browser doesn't crashed, load process stops and another URL is loaded |
+| basic/api/Navigation_loadURL_2:2 | Method loadURL() invoked when URL is loaded | Browser doesn't crashed and another URL is loaded |
+| basic/api/Navigation_loadURL_3:0 | Method loadURL() invoked with file:/// protocol | Browser doesn't crashed and loads URL |
+| basic/api/Navigation_loadURL_3:1 | Method loadURL() invoked with http:// protocol | Browser doesn't crashed and loads URL |
+| basic/api/Navigation_loadURL_3:2 | Method loadURL() invoked with ftp:// protocol | Browser doesn't crashed and loads URL |
+| basic/api/Navigation_loadURL_3:3 | Method loadURL() invoked with bad protocol | Browser doesn't crashed |
+
+
+
+
+2. Tests on refresh method.
+
+
+
+| Test ID | Action | Expected Result |
+
| basic/api/Navigation_refresh_1:0 | Method refresh() invoked when no URL loaded | Browser doesn't crashed and nothing happens |
+| basic/api/Navigation_refresh_1:1 | Method refresh() invoked when URL is loading | Browser doesn't crashed, load process stops and URL reloads |
+| basic/api/Navigation_refresh_1:2 | Method refresh() invoked when URL is loaded | Browser doesn't crashed and URL reloads |
+| basic/api/Navigation_refresh_2:0 | Method refresh() invoked with value LOAD_NORMAL (=0) | Browser doesn't crashed and URL reloads |
+| basic/api/Navigation_refresh_2:1 | Method refresh() invoked with value LOAD_FORCE_RELOAD (=512) | Browser doesn't crashed and URL reloads |
+| basic/api/Navigation_refresh_2:2 | Method refresh() invoked with min long value=-9223372036854775808 | Browser doesn't crashed and URL reloads |
+| basic/api/Navigation_refresh_2:3 | Method refresh() invoked with max long value=9223372036854775807 | Browser doesn't crashed and URL reloads |
+
+
+
+3. Tests on stop method.
+
+
+
+| Test ID | Action | Expected Result |
+
| basic/api/Navigation_stop:0 | Method stop() invoked when no URL loaded | Browser doesn't crashed and nothing happens |
+| basic/api/Navigation_stop:1 | Method stop() invoked when URL is loading | Browser doesn't crashed and load process stops |
+| basic/api/Navigation_stop:2 | Method stop() invoked when URL is loaded | Browser doesn't crashed and nothing happens |
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/StressTests.html b/mozilla/java/webclient/test/automated/doc/StressTests.html
new file mode 100644
index 00000000000..49a7d685a49
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/StressTests.html
@@ -0,0 +1,41 @@
+
+
+
+Description of Stress tests
+
+
+
+This document contains a simple preliminary description of
+stress testcases.
+
+
+
+
+1. Test on 500 pages loading.
+
+| Test ID | Action | Expected Result |
+
| basic/stress/LongLoad | Browser loads 500 pages | Browser doesn't crashed and 500th page is loaded |
+
+
+
+
+2. Test on 500 pages loading and 500 back actions.
+
+| Test ID | Action | Expected Result |
+
| basic/stress/LongBack | Browser loads 500 pages and makes 500 BACK actions | Browser doesn't crashed and first page is loaded |
+
+
+
+3. Test on 500 refreshes during page loading.
+
+| Test ID | Action | Expected Result |
+
| basic/stress/Refresh:0 | Browser refreshes page for 500 times during page loading | Browser doesn't crashed and after 500 refreshes page is loaded |
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/queried_interfaces_tests.txt b/mozilla/java/webclient/test/automated/doc/queried_interfaces_tests.txt
new file mode 100644
index 00000000000..2edeb5a6566
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/queried_interfaces_tests.txt
@@ -0,0 +1,197 @@
+Interfaces, that can be queried from browser control:
+ webclient.BrowserControlCanvas
+ webclient.CurrentPage
+ webclient.EventRegistration
+ webclient.History
+ webclient.Navigation
+ webclient.WindowControl
+
+Next interfaces skipped, because they are not implemented now(04/26/2000):
+
+ webclient.cache.NetDataCacheManager Not implemented
+ webclient.Preferences Not implemented
+ webclient.Print Not implemented
+ webclient.ExtendedEventRegistration Not implemented
+
+
+Abstract class: org.mozilla.webclient.BrowserControlCanvas
+ Method: public void addNotify()
+ - 1 test, just for invoke and not crash
+ Method: public org.mozilla.webclient.BrowserControl getWebShell()
+ - 1 test: just for invoke and compare returned BrowserControl with original ?
+ Method: public void setBounds(Rectangle r)
+ - 2 tests: null and well constructed rectangle
+ Method: public void setBounds(int,int,int,int)
+ - 12 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0 on each parameters,when other parameters good
+ - 3 tests: correct formed rectangle, all coordinates are equals to 0, and inverted rectangle(Xleft >Xright)
+
+ Non-public methods doesn't accessible for API's end-user, so will not be tested there
+ Method: non-public java.awt.Point getEventCoordsLocalToWindow(MouseEvent)
+ Method: non-public java.awt.Rectangle getWindowBounds()
+ Method: non-public java.awt.Rectangle getBoundsRelativeToWindow()
+ Method: non-public void initialize(BrowserControl)
+ Method: non-public int getWindow(DrawingSurfaceInfo)
+
+
+ Interface: org.mozilla.webclient.CurrentPage
+ Method: public void copyCurrentSelectionToSystemClipboard()
+ - 3 tests: without selection, with selection and without URL
+ Method: public void findInPage(String pattern, boolean forward,boolean matchcase)
+ - 5 tests: null,empty, incorrect, correct string and correct string without URL
+ - 4 tests: find (backward,forward)x(match,unmatch case)
+ Method: public void findNextInPage(boolean forward)
+ - 4 tests: find forward, backward, without previous find and at the end of docume
+nt
+ Method: public java.lang.String getCurrentURL()
+ - 3 tests: during loading URL, during fully loaded URL and without URL
+ Method: public java.lang.String getSource()
+ - 2 tests: with correct page and without URL
+ Method: public [B getSourceBytes(boolean viewMode)
+ - 4 tests: (with correct page and without URL)x(true and false viewMode)
+ Method: public void resetFind()
+ - 3 tests: without previous find, with correct find and without URL
+ Method: public void selectAll()
+ - 2 tests: with correct page and without URL
+ Method: public void getDOM()
+ - 2 tests: with correct page and without URL
+ Method: public void getPageInfo()
+ - 2 tests: with correct page and without URL
+
+
+Interface: org.mozilla.webclient.EventRegistration
+ Method: public void addDocumentLoadListener(DocumentLoadListener)
+ - 8 tests: for each DocumentLoad event
+ - 3 tests: null listener, several same listeners and several different listeners
+ Method: public void addMouseListener(java.awt.event.MouseListener)
+ - 6 tests: for each Mouse event
+ - 3 tests: null listener,several same listeners and several different listeners
+ Method: public void removeDocumentLoadListener(DocumentLoadListener)
+ - 3 tests: null,registered DocumentLoadListener and non-registered DocumentLoadListener
+ Method: public void removeMouseListener(java.awt.event.MouseListener)
+ - 3 tests: null,registered MouseListener and non-registered MouseListener
+
+
+Interface: org.mozilla.webclient.History
+ Method: public void back()
+ - 2 tests: When previous page exists and when unexist
+ Method: public boolean canBack()
+ - 2 tests: When previous page exists and when unexist
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getBackList()
+ - 3 tests: For 0,1,3 previous pages
+ Method: public void clearHistory()
+ - 2 tests: For empty and nonempty history
+ Method: public void forward()
+ - 2 tests: When next page exists and when unexist
+ Method: public boolean canForward()
+ - 2 tests: When next page exists and when unexist
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getForwardList()
+ - 3 tests: For 0,1,3 next pages
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getHistory()
+ - 2 test: only with current page and with several pages (3-4),
+ possible add 2 tests when current page first and last
+ Method: public org.mozilla.webclient.HistoryEntry getHistoryEntry(int)
+ - 4 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0,legal value
+ Method: public int getCurrentHistoryIndex()
+ - 3 tests: when current page last, first, and in the middle of the history
+ Method: public void setCurrentHistoryIndex(int)
+ - 5 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0,legal value,current index
+ Method: public int getHistoryLength()
+ - 1 test: just get HistoryLength
+ Method: public java.lang.String getURLForIndex(int)
+ - 5 tests: Integer.MIN_VALUE,Integer.MAX_VALUE, first and last
+
+Comment:
+ 1. Also one test on each method can be added for situations, when history is empty
+ 2. Should be modeled situation, when history has several branches, for example
+
+ - < URL 1 > - < URL 2 > (do back here to URL 1)
+ |
+
+ We should verify, that URL 2 correctly removed from history when < URL 3 > loaded
+
+
+Interface: org.mozilla.webclient.Navigation
+ Method: public void stop()
+ - 3 tests: When loading in progress, when url loaded, when no URL's loaded at ALL
+ Method: public void refresh(long)
+ - 3 tests: When loading in progress, when url loaded, when no URL's loaded at ALL
+ - 4 test: tests on parameter values(0, 512, Long.MIN_VALUE,Long.MAX_VALUE)
+ Method: public void loadURL(String)
+ - 2 tests: empty and null string
+ - 3 tests: When loading in progress, when url loaded, when no URL's loaded at ALL
+ - 4 test: ftp://, http://, file://, bad protocol
+
+
+Interface: org.mozilla.webclient.WindowControl
+ Method: public void setBounds(Rectangle)
+ - 2 tests: null and well constructed rectangle
+ Method: public void createWindow(int,Rectangle)
+ - 3 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0
+ - 2 tests: with valid int use null and well constructed rectangle
+ Method: public int getNativeWebShell()
+ - 1 test: just call
+ Method: public void moveWindowTo(int_int)
+ - 6 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0 for each parameter when other parameter is good
+ - 2 tests: move to good coordinates and move out of screen bounds
+ Method: public void removeFocus()
+ - 1 test: just call
+ Method: public void repaint(boolean)
+ - 2 tests: force repaint and not
+ Method: public void setVisible(boolean)
+ - 2 tests: with false and with true
+ Method: public void setFocus()
+ - 1 test: just call
+
+
+Interface: org.mozilla.webclient.BookmarkEntry
+
+ Method: public Properties getProperties()
+ - 3 tests: When bookmark entry recieved via TreeModel,via newBookmarkEntry,via newBookmarkFolder
+ Method: public boolean isFolder()
+ - 2 tests: via newBookmarkEntry,via newBookmarkFolder
+
+ Inherited from interface javax.swing.tree.MutableTreeNode:
+
+ Method: public void insert(MutableTreeNode child, int index)
+ - 5 tests: with null and existed child, with correct, 0, MIN_INTEGER and MAX_INTEGER index
+ Method: public void remove(int index)
+ - 4 tests: with correct, 0, MIN_INTEGER and MAX_INTEGER index
+ Method: public void remove(MutableTreeNode node)
+ - 2 tests: with null and existed node
+ Method: public void removeFromParent()
+ - 2 tests: with and without parent
+ Method: public void setParent(MutableTreeNode newParent)
+ - 2 tests: with null and existed newParent
+ Method: public void setUserObject(Object object)
+ - 2 tests: with null and correct object
+
+ Inherited from interface javax.swing.tree.TreeNode:
+
+ Method: public Enumeration children()
+ - 2 tests: via newBookmarkEntry, newBookmarkFolder
+ Method: public boolean getAllowsChildren()
+ - 2 tests: via newBookmarkEntry, newBookmarkFolder
+ Method: public TreeNode getChildAt(int index)
+ - 5 tests: via newBookmarkEntry, newBookmarkFolder, with correct index, index=0, MIN_INTEGER and MAX_INTEGER
+ Method: public int getChildCount()
+ - 2 tests: via newBookmarkEntry, newBookmarkFolder
+ Method: public int getIndex(TreeNode node)
+ - 5 tests: via newBookmarkEntry, newBookmarkFolder, with correct, incorrect and null node
+ Method: public TreeNode getParent()
+ - 4 tests: via newBookmarkEntry, newBookmarkFolder, with existed and unexisted parent
+ Method: public boolean isLeaf()
+ - 2 tests: via newBookmarkEntry, newBookmarkFolder
+
+
+Interface: org.mozilla.webclient.cache.NetDataCacheManager
+
+Interface: org.mozilla.webclient.Preferences
+
+Interface: org.mozilla.webclient.Print
+
+Interface: org.mozilla.webclient.ExtendedEventRegistration
+
+Summary 120-150 simple tests
+
+
+
diff --git a/mozilla/java/webclient/test/automated/doc/spec.txt b/mozilla/java/webclient/test/automated/doc/spec.txt
new file mode 100644
index 00000000000..cee6e91bfc9
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/spec.txt
@@ -0,0 +1,82 @@
+Webclient automated API tests draft description (20/04/2000)
+
+API testing should consist from 2 main Parts:
+Interfaces, quered by test application and listeners,
+that are part of test application and registered in webclient API
+
+Quered interfaces:
+ webclient.BrowserControlCanvas
+ webclient.CurrentPage
+ webclient.EventRegistration
+ webclient.ExtendedEventRegistration Not implemethed
+ webclient.History
+ webclient.Navigation
+ webclient.cache.NetDataCacheManager Not implemethed
+ webclient.Preferences Not implemethed
+ webclient.Print Not implemethed
+ webclient.WindowControl
+
+
+Abstract class: org.mozilla.webclient.BrowserControlCanvas
+ Constructor: non-public org.mozilla.webclient.BrowserControlCanvas()
+ Method: public void addNotify()
+ Method: public org.mozilla.webclient.BrowserControl getWebShell()
+ Method: public void setBounds(Rectangle)
+ Method: public void setBounds(int_int_int_int)
+
+ Method: non-public java.awt.Point getEventCoordsLocalToWindow(MouseEvent)
+ Method: non-public java.awt.Rectangle getWindowBounds()
+ Method: non-public java.awt.Rectangle getBoundsRelativeToWindow()
+ Method: non-public void initialize(BrowserControl)
+ Method: non-public int getWindow(DrawingSurfaceInfo)
+Interface: org.mozilla.webclient.CurrentPage
+ Method: public void copyCurrentSelectionToSystemClipboard()
+ Method: public void findInPage(String_boolean_boolean)
+ Method: public void findNextInPage(boolean)
+ Method: public java.lang.String getCurrentURL()
+ Method: public java.lang.String getSource()
+ Method: public [B getSourceBytes()
+ Method: public void resetFind()
+ Method: public void selectAll()
+
+Interface: org.mozilla.webclient.EventRegistration
+ Method: public void addDocumentLoadListener(DocumentLoadListener)
+ Method: public void removeDocumentLoadListener(DocumentLoadListener)
+
+Interface: org.mozilla.webclient.ExtendedEventRegistration
+
+Interface: org.mozilla.webclient.History
+ Method: public void back()
+ Method: public boolean canBack()
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getBackList()
+ Method: public void clearHistory()
+ Method: public void forward()
+ Method: public boolean canForward()
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getForwardList()
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getHistory()
+ Method: public org.mozilla.webclient.HistoryEntry getHistoryEntry(int)
+ Method: public int getCurrentHistoryIndex()
+ Method: public void setCurrentHistoryIndex(int)
+ Method: public int getHistoryLength()
+ Method: public java.lang.String getURLForIndex(int)
+
+Interface: org.mozilla.webclient.Navigation
+ Method: public void stop()
+ Method: public void refresh(long)
+ Method: public void loadURL(String)
+
+Interface: org.mozilla.webclient.cache.NetDataCacheManager
+
+Interface: org.mozilla.webclient.Preferences
+
+Interface: org.mozilla.webclient.Print
+
+Interface: org.mozilla.webclient.WindowControl
+ Method: public void setBounds(Rectangle)
+ Method: public void createWindow(int_Rectangle)
+ Method: public int getNativeWebShell()
+ Method: public void moveWindowTo(int_int)
+ Method: public void removeFocus()
+ Method: public void repaint(boolean)
+ Method: public void setVisible(boolean)
+ Method: public void setFocus()
diff --git a/mozilla/java/webclient/test/automated/doc/spec1.txt b/mozilla/java/webclient/test/automated/doc/spec1.txt
new file mode 100644
index 00000000000..c3b63f93d5b
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/spec1.txt
@@ -0,0 +1,33 @@
+Webclient automated API tests draft description (20/04/2000)
+
+API testing should consist from 2 main Parts:
+Interfaces, quered by test application ,
+that are part of test application and registered in webclient API
+
+Quered interfaces:
+ webclient.BrowserControlCanvas
+ webclient.CurrentPage
+ webclient.EventRegistration
+ webclient.ExtendedEventRegistration Not implemethed
+ webclient.History
+ webclient.Navigation
+ webclient.cache.NetDataCacheManager Not implemethed
+ webclient.Preferences Not implemethed
+ webclient.Print Not implemethed
+ webclient.WindowControl
+
+Suggestions about white box testing:
+1)API tests for all interfaces, quered from BrowserControl:
+ - Verify that API doesn't crashed on critical values for each parameter
+ - Verify, that correct values returned(when possible)
+ - Verify correct work on different life stages
+ (For example try to history.getURLForIndex(i),
+ when no URLs loaded.)
+
+2)Test on events
+ - Tests on right sequence of events
+ (For example when load new URL next events should occurs:
+ START_DOCUMENT_LOAD,..,END_DOCUMENT_LOAD)
+ - Tests on right event generation.
+ (For example when we make STOP during url loading,
+ corresponding event should occurs)
diff --git a/mozilla/java/webclient/test/automated/doc/testdoc_template.html b/mozilla/java/webclient/test/automated/doc/testdoc_template.html
new file mode 100644
index 00000000000..c56ea663b0c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/testdoc_template.html
@@ -0,0 +1,14 @@
+
+
+
+
+| Testcase: basic/api/History_getURLForIndex |
+| Test ID | Action | Expected Result |
+
| basic/api/History_getURLForIndex:0 | 000 | 000 |
+| basic/api/History_getURLForIndex:1 | 000 | 000 |
+| basic/api/History_getURLForIndex:2 | 000 | 000 |
+| basic/api/History_getURLForIndex:3 | 000 | 000 |
+
+
+
+
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/doc/tests_counts.txt b/mozilla/java/webclient/test/automated/doc/tests_counts.txt
new file mode 100644
index 00000000000..1dd98997ac0
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/doc/tests_counts.txt
@@ -0,0 +1,147 @@
+Interfaces, that can be quered from browser control:
+ webclient.BrowserControlCanvas
+ webclient.CurrentPage
+ webclient.EventRegistration
+ webclient.History
+ webclient.Navigation
+ webclient.WindowControl
+
+Next interfaces skipped, because they are not implemented now(04/26/2000):
+
+ webclient.cache.NetDataCacheManager Not implemethed
+ webclient.Preferences Not implemethed
+ webclient.Print Not implemethed
+ webclient.ExtendedEventRegistration Not implemethed
+
+
+org.mozilla.webclient.BrowserControlCanvas
+ Method: public void addNotify()
+ - 1 test, just for invoke and not crash
+ Method: public org.mozilla.webclient.BrowserControl getWebShell()
+ - 1 test: just for invoke and compare returned BrowserControl with original ?
+ Method: public void setBounds(Rectangle)
+ - 2 tests: null and well constructed rectangle
+ Method: public void setBounds(int_int_int_int)
+ - 12 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0 on each parameters,when other parameters good
+ - 3 tests: correct formed rectangle, all coords 0, and inverted rectangle(Xleft >Xright)
+
+ Non-public methods doesn't accesible for API's end-user, so will not be tested there
+ Method: non-public java.awt.Point getEventCoordsLocalToWindow(MouseEvent)
+ Method: non-public java.awt.Rectangle getWindowBounds()
+ Method: non-public java.awt.Rectangle getBoundsRelativeToWindow()
+ Method: non-public void initialize(BrowserControl)
+ Method: non-public int getWindow(DrawingSurfaceInfo)
+
+Interface: org.mozilla.webclient.CurrentPage
+ Method: public void copyCurrentSelectionToSystemClipboard()
+ - 2 tests: without selection, with selection and compare with clipboard(when possible) ?
+ Method: public void findInPage(String pattern, boolean forward,boolean matchcase)
+ - 3 tests: null,empty anf correct string
+ - 8 tests: find (backward,forward)x(match,unmatch case)x(exist and unexist string)
+
+ Method: public void findNextInPage(boolean forward)
+ - 3 tests: find forward,backward and without previous find
+ Method: public java.lang.String getCurrentURL()
+ - 2 tests: during loading URL and during fully loaded URL
+ Method: public java.lang.String getSource()
+ - 1 tests: with correct page
+ Method: public [B getSourceBytes()
+ - 1 tests: with correct page(Possible test on different languages ?)
+ Method: public void resetFind()
+ - 2 tests: without previous find, with correct find
+ Method: public void selectAll()
+ - 1 tests: with correct page
+Comments:
+ Possible we should add 1 tests on each method, when no pages loaded
+
+
+Interface: org.mozilla.webclient.EventRegistration
+ Method: public void addDocumentLoadListener(DocumentLoadListener)
+ 3 tests: null,correct DocumentLoadListener and already registered DocumentLoadListener
+ 1 test: Several(2 - 3) different correct DocumentLoadListeners
+ Method: public void removeDocumentLoadListener(DocumentLoadListener)
+ 3 tests: null,registered DocumentLoadListener and non-registered DocumentLoadListener
+
+
+Interface: org.mozilla.webclient.History
+ Method: public void back()
+ 2 tests: When previous page exists and when unexist
+ Method: public boolean canBack()
+ 2 tests: When previous page exists and when unexist
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getBackList()
+ 3 tests: For 0,1,3 previous pages
+ Method: public void clearHistory()
+ 2 tests: For empty and nonempty history
+ Method: public void forward()
+ 2 tests: When next page exists and when unexist
+ Method: public boolean canForward()
+ 2 tests: When next page exists and when unexist
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getForwardList()
+ 3 tests: For 0,1,3 next pages
+ Method: public [Lorg.mozilla.webclient.HistoryEntry; getHistory()
+ 2 test: only with current page and with several pages (3-4),
+ possible add 2 tests when current page first and last
+ Method: public org.mozilla.webclient.HistoryEntry getHistoryEntry(int)
+ 4 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0,legal value
+ Method: public int getCurrentHistoryIndex()
+ 3 tests: when current page last, first, and in the middle of the history
+ Method: public void setCurrentHistoryIndex(int)
+ 5 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0,legal value,current index
+ Method: public int getHistoryLength()
+ 1 test: just get HistoryLength
+ Method: public java.lang.String getURLForIndex(int)
+ 5 tests: Integer.MIN_VALUE,Integer.MAX_VALUE, first and last
+
+Comment:
+ 1. Also one test opn each method can be added for situations, when history is empty
+ 2. Should be modeled situation, when history has several branches, for example
+
+ - < URL 1 > - < URL 2 > (do back here to URL 1)
+ |
+
+ We should verify, that URL 2 correctly removed from history
+
+
+Interface: org.mozilla.webclient.Navigation
+ Method: public void stop()
+ 3 tests: When loading in progress, when url loaded, when no URLs loaded at ALL
+ Method: public void refresh(long)
+ 3 tests: When loading in progress, when url loaded, when no URLs loaded at ALL
+ X test: tests on parameter values(at least Integer.MIN_VALUE,Integer.MAX_VALUE,0)
+ Method: public void loadURL(String)
+ 2 tests: empty and null string
+ 3 tests: When loading in progress, when url loaded, when no URLs loaded at ALL
+ 4 test: ftp://, http://, file://, bad protocol
+
+
+Interface: org.mozilla.webclient.WindowControl
+ Method: public void setBounds(Rectangle)
+ - 2 tests: null and well constructed rectangle
+ Method: public void createWindow(int,Rectangle)
+ - 3 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0
+ - 2 tests: with valid int use null and well constructed rectangle
+ Method: public int getNativeWebShell()
+ - 1 test: just call
+ Method: public void moveWindowTo(int_int)
+ - 6 tests: Integer.MIN_VALUE,Integer.MAX_VALUE,0 for each parameter when other parameter is good
+ - 2 tests: move to good coordinates and move out of screen bounds
+ Method: public void removeFocus()
+ - 1 test: just call
+ Method: public void repaint(boolean)
+ - 2 tests: forse repaint and not
+ Method: public void setVisible(boolean)
+ - 2 tests: with false and with true
+ Method: public void setFocus()
+ - 1 test: just call
+
+Interface: org.mozilla.webclient.cache.NetDataCacheManager
+
+Interface: org.mozilla.webclient.Preferences
+
+Interface: org.mozilla.webclient.Print
+
+Interface: org.mozilla.webclient.ExtendedEventRegistration
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/log/dummy.txt b/mozilla/java/webclient/test/automated/log/dummy.txt
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/mozilla/java/webclient/test/automated/src/Killer/Killer.cpp b/mozilla/java/webclient/test/automated/src/Killer/Killer.cpp
new file mode 100644
index 00000000000..48766f89c98
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/Killer/Killer.cpp
@@ -0,0 +1,127 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ */
+//cl killer.cpp /link user32.lib
+
+#include
+#include
+
+
+//Define keywords to determine Assertion window
+#define ASSERTION_DIALOG_KW_1 "nsDebug"
+#define ASSERTION_DIALOG_KW_2 "Assertion"
+
+//Define keywords to determine ERROR window
+#define ERROR_DIALOG_KW_1 "java"
+#define ERROR_DIALOG_KW_2 "Error"
+
+
+#define IGNORE_BUTTON_TITLE "&Ignore"
+#define IGNORE_BUTTON_ID 5
+
+#define OK_BUTTON_TITLE "OK"
+#define OK_BUTTON_ID 1
+
+void safeAppendToLog(char* str);
+char * logFile = NULL;
+
+BOOL CALLBACK EnumChildProc(HWND hwnd, LPARAM out) {
+ char title[1024];
+ GetWindowText(hwnd, title, 1024);
+ if ((!strcmp(title, OK_BUTTON_TITLE))||(!strcmp(title, IGNORE_BUTTON_TITLE))) {
+ *((HWND*)out) = hwnd;
+ return FALSE;
+ }
+ return TRUE;
+}
+
+BOOL CALLBACK EnumWindowsProc( HWND hwnd, LPARAM lParam) {
+ char title[1024];
+ char msg[1200];
+ GetWindowText(hwnd, title, 1024);
+ if (strstr(title, ERROR_DIALOG_KW_1) && strstr(title, ERROR_DIALOG_KW_2)) {
+ memset(msg,0,1200);
+ sprintf(msg,"Found Error window:\"%s\" /n",title);
+ safeAppendToLog(msg);
+ DWORD lp = 0, wp = 0;
+ HWND ok;
+ //really we can ommit this step but ...
+ EnumChildWindows(hwnd, EnumChildProc, (LPARAM)(&ok));
+ if (!ok) {
+ printf("OK button not found !\n");
+ return FALSE;
+ }
+ lp = (unsigned long)ok;
+ wp = OK_BUTTON_ID;
+ wp = wp | (BN_CLICKED << 16);
+ SendMessage(hwnd, WM_COMMAND, wp, lp);
+ return FALSE;
+ }
+ if (strstr(title, ASSERTION_DIALOG_KW_1) && strstr(title, ASSERTION_DIALOG_KW_2)) {
+ memset(msg,0,1200);
+ sprintf(msg,"Found Assertion window:\"%s\"/n",title);
+ safeAppendToLog(msg);
+ DWORD lp = 0, wp = 0;
+ HWND ok;
+ //really we can ommit this step but ...
+ EnumChildWindows(hwnd, EnumChildProc, (LPARAM)(&ok));
+ if (!ok) {
+ printf("OK button not found !\n");
+ return FALSE;
+ }
+ lp = (unsigned long)ok;
+ wp = IGNORE_BUTTON_ID;
+ wp = wp | (BN_CLICKED << 16);
+ SendMessage(hwnd, WM_COMMAND, wp, lp);
+ return FALSE;
+ }
+ return TRUE;
+}
+void usage() {
+ printf("Usage: Killer.exe ");
+ exit(-1);
+}
+
+void safeAppendToLog(char* str) {
+ FILE* log = NULL;
+ if((log = fopen (logFile,"a+")) == NULL) {
+ printf("Can't open log file \"%s\"",logFile);
+ exit(-2);
+ }
+ fprintf(log,"KILLER: %s",str);
+ if(fclose(log)) {
+ printf("Can't close log file \"%s\"",logFile);
+ exit(-2);
+
+ }
+}
+
+void main(int argc, char *argv[]) {
+ if(argc != 2) {
+ usage();
+ }
+ logFile = argv[1];
+ EnumWindows(EnumWindowsProc, 0);
+}
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/Killer/README b/mozilla/java/webclient/test/automated/src/Killer/README
new file mode 100644
index 00000000000..5f9804fff9c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/Killer/README
@@ -0,0 +1,12 @@
+Killer README.
+
+This tool is derived from OJI API tests Killer.
+
+Usually used to help Mozilla to die in abnormal situations.
+
+Two types of dialog windows processed:
+
+1. Assertion dialogs(with 3 buttons: "Abort","Retry","Ignore"):
+ - A "Ignore" button automatically pressed to continue working
+2. Error dialogs(with 2 buttons: "OK","Cancel")
+ - A "OK" button automatically pressed to forse Mozilla's termination
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/CheckingThread.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/CheckingThread.java
new file mode 100644
index 00000000000..d1db3429114
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/CheckingThread.java
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic;
+
+/*
+ * ChekingThread.java
+ */
+
+public class CheckingThread extends Thread {
+ int timeout = Integer.MAX_VALUE;
+ TestContext context = null;
+ TestRunner runner = null;
+
+ public CheckingThread(int timeout,TestRunner runner, TestContext context){
+ this.context = context;
+ this.runner = runner;
+ this.timeout = timeout;
+ }
+
+ public void run(){
+ System.out.println("CheckThread sleep to " + timeout);
+ try {
+ sleep(timeout);
+ } catch (Exception e) {
+ System.out.println("Checking thread had been interrupted");
+ }
+ System.out.println("prepare to exit ");
+ context.delete();
+ System.out.println("Context.delete completed");
+ runner.delete();
+ }
+
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/Test.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/Test.java
new file mode 100644
index 00000000000..683c1069ebb
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/Test.java
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic;
+
+/*
+ * TestRunner.java
+ */
+
+public interface Test {
+
+ public boolean initialize(TestContext context);
+ public void execute();
+
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestContext.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestContext.java
new file mode 100644
index 00000000000..4836078d812
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestContext.java
@@ -0,0 +1,295 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic;
+
+/*
+ * TestContext.java
+ */
+
+import java.util.Properties;
+import java.util.StringTokenizer;
+import java.awt.Frame;
+import java.awt.TextArea;
+import java.awt.Panel;
+import java.awt.Button;
+import java.awt.BorderLayout;
+import java.io.FileInputStream;
+import java.io.File;
+import java.io.RandomAccessFile;
+import java.io.IOException;
+import org.mozilla.webclient.*;
+
+public class TestContext {
+ public static String TEST_PROPERTIES_FILE_NAME = "TestProperties";
+ public static String COMMON_PROPERTIES_FILE_NAME = "CommonProperties";
+
+ //Names for properties from common properties file
+ public static String DELAY_INTERNAL_PROP_NAME = "DELAY_INTERNAL";
+ public static String DELAY_OF_CYCLE_PROP_NAME = "DELAY_OF_CYCLE";
+ public static String TEST_LOG_FILE_PROP_NAME = "TEST_LOG_FILE";
+ public static String TEST_RESULT_FILE_PROP_NAME = "TEST_RESULT_FILE";
+
+ //Names for properties from init file
+ public static String BROWSER_BIN_DIR_PROP_NAME = "BROWSER_BIN_DIR";
+ public static String TEST_TOP_DIR_PROP_NAME = "TEST_TOP_DIR";
+ public static String TEST_ID_PROP_NAME = "TEST_ID";
+ public static String TEST_ARGUMENTS_PROP_NAME = "TEST_ARGUMENTS";
+
+ //Names for properties from individual TestProperties files
+ public static String TEST_URL_PROP_NAME = "TEST_HTML";
+ public static String PAGES_TO_LOAD_PROP_NAME="PAGES_TO_LOAD";
+ public static String TEST_CLASS_PROP_NAME = "TEST_CLASS";
+
+ public static int FAILED = 0;
+ public static int NOT_DEF = 1;
+ public static int PASSED = 3;
+ public static int UNIMPLEMENTED = 4;
+
+ private static String defaultComment = "default";
+ public static int defaultResult = FAILED;
+ public static int result = NOT_DEF;
+ private static String logFile = null;
+ private static String resFile = null;
+
+ //Internal private variables
+ private Properties testProps = null;
+ private BrowserControl browserControl = null;
+ private TestRunner runner = null;
+ private TestDocLoadListener tdl = null;
+ private String fileSeparator = null;
+ private Frame testWindow = null;
+ private TextArea descrArea = null;
+ private Panel buttonPanel = null;
+ private int executionCount = 0;
+
+ public TestContext(String initFileName) {
+ File propFile = new File(initFileName);
+ fileSeparator = System.getProperty("file.separator");
+ testProps = new Properties();
+ //Load properties from init file
+ try {
+ testProps.load(new FileInputStream(propFile));
+ } catch (Exception e) {
+ System.err.println("BAD initFile : " + e);
+ System.exit(-99);
+ }
+ //Load properties from file with common properties
+ propFile = new File(getTestTopDir() + fileSeparator + "config" + fileSeparator + COMMON_PROPERTIES_FILE_NAME);
+ try {
+ testProps.load(new FileInputStream(propFile));
+ } catch (Exception e) {
+ System.err.println("Couldn't read CommonProperties : " + e);
+ System.exit(-99);
+ }
+ //Load properties from file with test properties
+ propFile = new File(getTestDir() + fileSeparator + TEST_PROPERTIES_FILE_NAME);
+ try {
+ testProps.load(new FileInputStream(propFile));
+ } catch (Exception e) {
+ System.err.println("Couldn't read TestProperties : " + e);
+ System.exit(-99);
+ }
+ logFile = testProps.getProperty(TEST_LOG_FILE_PROP_NAME);
+ resFile = testProps.getProperty(TEST_RESULT_FILE_PROP_NAME);
+ }
+ public String getProperty(String propName) {
+ return testProps.getProperty(propName,null);
+ }
+ public Properties getProperties() {
+ return testProps;
+ }
+ public void setRunner(TestRunner runner) {
+ this.runner = runner;
+ }
+ public TestRunner getRunner() {
+ return runner;
+ }
+ public String getTestTopDir() {
+ return getProperty(TEST_TOP_DIR_PROP_NAME);
+ }
+ public String getBrowserBinDir() {
+ System.out.println("Browser bin is: " + getProperty(BROWSER_BIN_DIR_PROP_NAME));
+ return getProperty(BROWSER_BIN_DIR_PROP_NAME);
+ }
+ public String getTestID() {
+ return getProperty(TEST_ID_PROP_NAME);
+ }
+ public String getTestClass() {
+ return getProperty(TEST_CLASS_PROP_NAME);
+ }
+ public String getCurrentTestArguments() {
+ return getProperty(TEST_ARGUMENTS_PROP_NAME);
+ }
+ public String getTestURL() {
+ return getProperty(TEST_URL_PROP_NAME);
+ }
+ public String[] getPagesToLoad() {
+ StringTokenizer st = new StringTokenizer(getProperty(PAGES_TO_LOAD_PROP_NAME),",");
+ String[] pageArr = new String[st.countTokens()];
+ for(int i=0;st.hasMoreTokens();i++) {
+ pageArr[i] = st.nextToken();
+ }
+ String[] tmp = new String[pageArr.length];
+ for(int i=0;i 0) {
+ ID = ID.substring(0,ID.indexOf(":"));
+ }
+ return getTestTopDir() + fileSeparator + "build" + fileSeparator + "test" + fileSeparator + ID;
+ }
+ public void setBrowserControl(BrowserControl browserControl) {
+ this.browserControl = browserControl;
+ }
+ public BrowserControl getBrowserControl() {
+ return browserControl;
+ }
+ public TestDocLoadListener getDocLoadListener() {
+ return tdl;
+ }
+ public void setDocLoadListener(TestDocLoadListener tdl) {
+ this.tdl = tdl;
+ }
+ public void removeDocLoadListener() {
+ this.tdl = null;
+ }
+ public void setTestWindow(Frame testWindow) {
+ this.testWindow = testWindow;
+ }
+ public Frame getTestWindow() {
+ return testWindow;
+ }
+ public void setButtonPanel(Panel bp) {
+ buttonPanel = bp;
+ }
+ public void addButton(Button b) {
+ buttonPanel.add(b);
+ buttonPanel.doLayout();
+ }
+ public void setDescrArea(TextArea ta) {
+ descrArea = ta;
+ }
+ public void addDescription(String msg) {
+ System.out.println("Appending to DA: "+msg);
+ descrArea.append(msg);
+ descrArea.repaint();
+ }
+ public void setDescription(String msg) {
+ descrArea.setText(msg);
+ }
+ public void increaseExecutionCount() {
+ executionCount++;
+ }
+ public int getExecutionCount() {
+ return executionCount;
+ }
+ public void setExecutionCount(int count) {
+ executionCount = count;
+ }
+ public void setDefaultResult(int res) {
+ defaultResult = res;
+ }
+ public void setDefaultComment(String comm) {
+ defaultComment = comm;
+ }
+
+ static public void registerFAILED(String comment) {
+ if ((result == NOT_DEF)||(result == PASSED)) {
+ result = FAILED;
+ appendToFile(logFile, "FAILED: "+comment+"\n", false);
+ appendToFile(resFile, "FAILED="+comment+"\n", true);
+ System.err.println("Register FAILED " + comment);
+ }
+ }
+ static public void registerUNIMPLEMENTED(String comment) {
+ //We must set UNIMPLEMENTED over ANI previous result
+ result = UNIMPLEMENTED;
+ appendToFile(logFile, "UNIMPLEMENTED: "+comment+"\n", false);
+ appendToFile(resFile, "UNIMPLEMENTED="+comment+"\n", true);
+ System.err.println("Register UNIMPLEMENTED: " + comment);
+ }
+ static public void registerPASSED(String comment) {
+ if (result == NOT_DEF) {
+ result = PASSED;
+ appendToFile(logFile, "PASSED: "+comment+"\n", false);
+ appendToFile(resFile, "PASSED="+comment+"\n", true);
+ System.err.println("Register PASSED: " + comment);
+ }
+ }
+ public static void registerIfNotRegistered(int res) {
+ if (result == NOT_DEF){
+ if (res == FAILED) {
+ registerFAILED("By checking thread:" + defaultComment);
+ } else {
+ registerPASSED("By checking thread:" + defaultComment);
+ }
+ }
+ }
+ public static boolean failedIsRegistered() {
+ return (result == FAILED)||(result == UNIMPLEMENTED);
+ }
+ public static boolean resultIsSet() {
+ return (result != NOT_DEF);
+ }
+ private static void appendToFile(String file, String str, boolean fromStart) {
+ try {
+ RandomAccessFile f = new RandomAccessFile(file, "rw");
+ if (fromStart) {
+ f.seek(0);
+ } else {
+ long length = f.length();
+ f.seek(length);
+ }
+ f.writeBytes(str);
+ f.close();
+ } catch (IOException e) {
+ System.out.println("IOException appending to file " + file);
+ System.out.println(e.toString());
+ }
+ }
+ public void delete() {
+ registerIfNotRegistered(defaultResult);
+ testProps = null;
+ runner = null;
+ browserControl = null;
+ fileSeparator = null;
+ testWindow = null;
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestDocLoadListener.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestDocLoadListener.java
new file mode 100644
index 00000000000..ffba36d82b6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestDocLoadListener.java
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic;
+
+
+/*
+ * TestLoader.java
+ */
+
+import org.mozilla.webclient.DocumentLoadEvent;
+
+public interface TestDocLoadListener {
+
+ /**
+ * TestDocLoadListener isn't needed for most of tests.
+ * Please use it very carefully and only if really needed.
+ *
+ * Important: If your test register own TestDocLoadListener then execute()
+ * will be never called. If neede, call execute() manually when END_DOCUMENT_LOAD_EVENT_MASK
+ * ocurred. And also please do not use executionCount or increase it manualy.
+ *
+ */
+
+public void eventDispatched(DocumentLoadEvent event);
+
+} // end of interface WebclientEventListener
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestLoader.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestLoader.java
new file mode 100644
index 00000000000..108b89fae38
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestLoader.java
@@ -0,0 +1,150 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic;
+
+/*
+ * TestLoader.java
+ */
+import org.mozilla.webclient.*;
+import java.util.LinkedList;
+
+public class TestLoader extends Thread implements DocumentLoadListener {
+ private Test currentTest = null;
+ private TestContext context = null;
+ private TestRunner runner = null;
+ private Navigation navigation = null;
+ private BrowserControl browserControl = null;
+ private EventRegistration eventRegistration = null;
+ private int pageCount = 0;
+ private int timeout = Integer.MAX_VALUE;
+ private String[] pages = null;
+ private LinkedList eventList = null;
+
+ public TestLoader(){
+ }
+ public boolean initialize(TestContext context, TestRunner runner) {
+ this.context = context;
+ this.runner = runner;
+ try {
+ browserControl = context.getBrowserControl();
+ eventRegistration = (EventRegistration)
+ browserControl.queryInterface(BrowserControl.EVENT_REGISTRATION_NAME);
+ eventRegistration.addDocumentLoadListener(this);
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+ eventList = new LinkedList();
+ timeout = (new Integer(context.getProperty(TestContext.DELAY_OF_CYCLE_PROP_NAME))).intValue()*1000;
+ pages = context.getPagesToLoad();
+ currentTest = currentTest = (Test)Class.forName(context.getTestClass()).newInstance();
+ currentTest.initialize(context);
+ }catch (Exception e) {
+ e.printStackTrace();
+ TestContext.registerFAILED("Exception occured : " + e.toString());
+ return false;
+ }
+ return true;
+ }
+ public void run(){
+ System.out.println("Execution thread started.");
+ pageCount=0;
+ if(!loadNext()) {
+ execute();
+ }
+ while(true) {
+ if (eventList.size() > 0) {
+ DocumentLoadEvent dle = (DocumentLoadEvent)eventList.removeFirst();
+ switch ((int) dle.getType()) {
+ case ((int) DocumentLoadEvent.START_DOCUMENT_LOAD_EVENT_MASK):
+ transferToTest(dle);
+ break;
+ case ((int) DocumentLoadEvent.END_DOCUMENT_LOAD_EVENT_MASK):
+ if(!loadNext()) {
+ if (!transferToTest(dle)) {
+ execute();
+ }
+ }
+ break;
+ default:
+ transferToTest(dle);
+ break;
+ }
+ }
+ if(context.resultIsSet()){
+ delete();
+ }
+ try {
+ synchronized(this){
+ this.wait(timeout);
+ }
+ }catch(InterruptedException e) {
+ System.out.println("InterruptedException in TestLoader" + e);
+ }
+ }
+ }
+
+ private boolean loadNext(){
+ if (pageCount < pages.length) {
+ System.out.println("Try to load " + pages[pageCount] + " of :" + pages.length);
+ navigation.loadURL(pages[pageCount]);
+ pageCount++;
+ return true;
+ }
+ return false;
+ }
+ private boolean transferToTest(DocumentLoadEvent evt) {
+ TestDocLoadListener testDLL = context.getDocLoadListener();
+ if (testDLL !=null) {
+ testDLL.eventDispatched(evt);
+ return true;
+ }
+ return false;
+ }
+ private void execute() {
+ context.increaseExecutionCount();
+ currentTest.execute();
+ }
+
+//From DocumentLoadListener
+
+ public void eventDispatched(WebclientEvent event) {
+ if (event instanceof DocumentLoadEvent) {
+ System.out.println("Add event to the list: " + event.getType()
+ + "List length(before) is " + eventList.size());
+ eventList.addLast((Object)event);
+ synchronized(this) {
+ this.notify();
+ }
+ } else {
+ System.out.println("TestLoader: Strange Event " + event.getType());
+ }
+ }
+ private void delete() {
+ context.delete();
+ runner.delete();
+ }
+
+}
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestRunner.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestRunner.java
new file mode 100644
index 00000000000..d91f1dd156f
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestRunner.java
@@ -0,0 +1,215 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic;
+
+/*
+ * TestRunner.java
+ */
+
+import java.awt.FlowLayout;
+import java.awt.BorderLayout;
+import java.awt.Frame;
+import java.awt.Color;
+import java.awt.TextField;
+import java.awt.TextArea;
+import java.awt.Button;
+import java.awt.Panel;
+import java.awt.event.WindowAdapter;
+import java.awt.event.WindowEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.ActionEvent;
+import org.mozilla.webclient.*;
+import org.mozilla.util.Assert;
+
+
+public class TestRunner
+{
+ static final public int defaultWidth = 640;
+ static final public int defaultHeight = 480;
+ protected static TestContext context = null;
+ protected TestWindow tw = null;
+ protected BrowserControlCanvas browserCanvas = null;
+ protected BrowserControl browserControl = null;
+ protected TestLoader tl = null;
+ public TestRunner()
+ {
+ try {
+ BrowserControlFactory.setAppData(context.getBrowserBinDir());
+ browserControl = BrowserControlFactory.newBrowserControl();
+ browserCanvas = (BrowserControlCanvas)
+ browserControl.queryInterface(BrowserControl.BROWSER_CONTROL_CANVAS_NAME);
+ }
+ catch(Exception e) {
+ System.out.println("Can't create BrowserControl: " +
+ e.getMessage());
+ }
+ Assert.assert(null != browserCanvas);
+ browserCanvas.setSize(defaultWidth, defaultHeight);
+ context.setBrowserControl(browserControl);
+ tw = new TestWindow(browserCanvas,"TestWindow", defaultWidth, defaultHeight, this);
+ context.setTestWindow(tw);
+ tw.pack();
+ tw.show();
+ tw.toFront();
+ tl = new TestLoader();
+ tl.initialize(context,this);
+ tl.start();
+ try {
+ CheckingThread checkingThread =
+ new CheckingThread((new Integer(context.getProperty(TestContext.DELAY_INTERNAL_PROP_NAME))).intValue()*1000,this,context);
+ checkingThread.start();
+ } catch (Exception e) {
+ System.out.println(TestContext.DELAY_INTERNAL_PROP_NAME+" props isn't correctly set");
+ }
+ }
+ public TestRunner(String modifier)
+ {
+ System.out.println("Constructor of TestRunnerMixed");
+ System.out.flush();
+ try {
+ BrowserControlFactory.setAppData(context.getBrowserBinDir());
+ browserControl = BrowserControlFactory.newBrowserControl();
+ browserCanvas = (BrowserControlCanvas)
+ browserControl.queryInterface(BrowserControl.BROWSER_CONTROL_CANVAS_NAME);
+ }catch(Exception e) {
+ System.out.println("Can't create BrowserControl: " +
+ e.getMessage());
+ }
+ Assert.assert(null != browserCanvas);
+ browserCanvas.setSize(defaultWidth, defaultHeight);
+ context.setBrowserControl(browserControl);
+ Panel p = new Panel();
+ TextArea descrArea = new TextArea("Test info:\n",5,10,TextArea.SCROLLBARS_VERTICAL_ONLY);
+ descrArea.setEditable(false);
+ descrArea.setBackground(Color.lightGray);
+ context.setDescrArea(descrArea);
+
+ Button passed = new Button("PASSED");
+ Button failed = new Button("FAILED");
+ Button cont = new Button("CONTINUE");
+
+ cont.addActionListener(new ActionListener() {
+ public void actionPerformed (ActionEvent evt) {
+ context.delete();
+ delete();
+ }
+ });
+ passed.addActionListener(new ActionListener() {
+ public void actionPerformed (ActionEvent evt) {
+ context.registerPASSED("PASSED by TESTER");
+ context.delete();
+ delete();
+ }
+ });
+ failed.addActionListener(new ActionListener() {
+ public void actionPerformed (ActionEvent evt) {
+ context.registerFAILED("FAILED by TESTER");
+ context.delete();
+ delete();
+ }
+ });
+ p.setLayout(new BorderLayout());
+ Panel buttonPanel = new Panel();
+ buttonPanel.setLayout(new FlowLayout());
+ context.setButtonPanel(buttonPanel);
+
+ buttonPanel.add(passed);
+ buttonPanel.add(failed);
+ buttonPanel.add(cont);
+ buttonPanel.setVisible(true);
+ p.setBackground(Color.lightGray);
+ p.add(buttonPanel, BorderLayout.EAST);
+ p.add(descrArea,BorderLayout.CENTER);
+ p.doLayout();
+ p.setVisible(true);
+
+ tw = new TestWindow(browserCanvas,p,"MixedTestWindow", defaultWidth, defaultHeight, this);
+ context.setTestWindow(tw);
+ tw.pack();
+ tw.show();
+ tw.toFront();
+ tl = new TestLoader();
+ tl.initialize(context,this);
+ tl.start();
+ }
+ public void delete() {
+ browserCanvas.setVisible(false);
+ System.out.println("before deleteBrowserControl(browserControl)");
+ BrowserControlFactory.deleteBrowserControl(browserControl);
+ System.out.println("after deleteBrowserControl(browserControl)");
+ browserControl = null;
+ context=null;
+ tw.delete();
+ tw = null;
+ browserCanvas = null;
+ System.exit(0);
+ }
+ public static void usage()
+ {
+ System.out.println("usage: java org.mozilla.webclient.test.basic.TestRunner ");
+ System.out.println(" is the absolute path to the native browser bin directory, ");
+ System.out.println(" including the bin.");
+ }
+
+ //Main procedure
+ public static void main(String [] arg)
+ {
+ String initFile = null;
+ if ( 2 == arg.length ) {
+ System.out.println("Length - 2 : " + arg[0]);
+ if ("-m".equals(arg[0])) {
+ initFile = arg[1];
+ context = new TestContext(initFile);
+ TestRunner tr = new TestRunner(arg[0]);
+ context.setRunner(tr);
+ } else {
+ usage();
+ System.exit(-1);
+ }
+ } else {
+ if ( 1 == arg.length ) {
+ initFile = arg[0];
+ context = new TestContext(initFile);
+ TestRunner tr = new TestRunner();
+ context.setRunner(tr);
+ } else {
+ usage();
+ System.exit(-1);
+ }
+ }
+ }
+}
+
+// EOF
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestWindow.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestWindow.java
new file mode 100644
index 00000000000..6beaa6b66d6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/TestWindow.java
@@ -0,0 +1,104 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic;
+
+/*
+ * TestWindow.java
+ */
+
+
+import java.awt.BorderLayout;
+import java.awt.Frame;
+import java.awt.TextField;
+import java.awt.Panel;
+import java.awt.event.WindowAdapter;
+import java.awt.event.WindowEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.ActionEvent;
+import org.mozilla.webclient.*;
+
+
+public class TestWindow extends Frame {
+ private TestRunner runner;
+ private Panel controlPanel;
+
+ //Default constructor for automated tests.
+ public TestWindow (BrowserControlCanvas browserCanvas,String title, int width, int height, TestRunner runner)
+ {
+ super(title);
+ try {
+ throw(new Exception());
+ }catch(Exception e) {
+ e.printStackTrace();
+ }
+ System.out.println("Constructor of (AUTOMATED)TestWindow: "+ title);
+ this.runner = runner;
+ this.add(browserCanvas,BorderLayout.CENTER);
+ this.addWindowListener(new WindowAdapter() {
+ public void windowClosing(WindowEvent e) {
+ System.out.println("Got windowClosing");
+ System.out.println("destroying the BrowserControl");
+ // should close the BrowserControlCanvas
+ }
+
+ public void windowClosed(WindowEvent e) {
+ System.out.println("Got windowClosed");
+ }
+ });
+
+ }
+ //Constructor for mixed tests
+ public TestWindow (BrowserControlCanvas browserCanvas, Panel controlPanel, String title, int width, int height, TestRunner runner)
+ {
+ super(title);
+ System.out.println("Constructor of TestWindow: " + title);
+ this.runner = runner;
+ this.controlPanel = controlPanel;
+ this.setLayout(new BorderLayout());
+ this.add(browserCanvas,BorderLayout.CENTER);
+ this.add(controlPanel,BorderLayout.SOUTH);
+ //pack();
+ //show();
+ this.addWindowListener(new WindowAdapter() {
+ public void windowClosing(WindowEvent e) {
+ System.out.println("Got windowClosing");
+ System.out.println("destroying the BrowserControl");
+ // should close the BrowserControlCanvas
+ }
+
+ public void windowClosed(WindowEvent e) {
+ System.out.println("Got windowClosed");
+ }
+ });
+
+ }
+ public void delete()
+ {
+ this.hide();
+ this.dispose();
+ controlPanel = null;
+ }
+
+}//End of class test window
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_children.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_children.java
new file mode 100644
index 00000000000..1e998b0d8d0
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_children.java
@@ -0,0 +1,168 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * BookmarkEntry_children.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.util.*;
+import java.net.URL;
+import java.net.MalformedURLException;
+import javax.swing.tree.*;
+
+public class BookmarkEntry_children implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Bookmarks bookmarks = null;
+ private int currentArg;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private BookmarkEntry bookmarkFolder, bookmarkEntry = null;
+ private TreeModel bookmarksTree = null;
+ private TreeNode node;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ bookmarks = (Bookmarks)
+ browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+public void execute() {
+
+ if (bookmarks==null) return;
+ switch(currentArg) {
+ case 0:
+ try {
+ try{
+ bookmarkFolder = bookmarks.newBookmarkFolder("TEST");
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry1");
+ bookmarks.addBookmark(bookmarkFolder, bookmarkEntry);
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry2");
+ bookmarks.addBookmark(bookmarkFolder, bookmarkEntry);
+ } catch (Exception e) {
+ e.printStackTrace();
+ TestContext.registerFAILED("Exception during test folder initialization: " + e.toString());
+ return;
+ }
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hung up when trying to get the children of newly created folder");
+ Enumeration num=bookmarkFolder.children();
+ int count = 0;
+ while(num.hasMoreElements()) {
+ num.nextElement();
+ count++;
+ }
+ if (count==2) {
+ TestContext.registerPASSED("Correct Enumeration object was returned.");
+ }else {
+ TestContext.registerFAILED("Incorrect Enumeration object was returned.");
+ }
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) {
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ }else {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ return;
+ }
+ break;
+
+ case 1:
+ try {
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry0");
+ Enumeration num=bookmarkEntry.children();
+ try {
+ num.nextElement();
+ }catch(NoSuchElementException e) {
+ TestContext.registerPASSED("Empty Enumeration object was returned and child count is 0");
+ return;
+ }
+ TestContext.registerFAILED("Not empty Enumeration object was returned, but child count should be 0");
+ return;
+ } catch(Exception e) {
+ e.printStackTrace();
+ if (e instanceof UnimplementedException) {
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ } else {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ return;
+ }
+ case 2:
+ try {
+ TreeModel tm = bookmarks.getBookmarks();
+ Object root = tm.getRoot();
+ Object node = null;
+ bookmarkEntry = null;
+ for(int i=0;i1) {
+ bookmarkEntry=(BookmarkEntry)node;
+ i = tm.getChildCount(root);
+ }
+ }
+ if(bookmarkEntry == null) {
+ TestContext.registerFAILED("Can't find suitable BookmarkFolder in existing bookmarks");
+ return;
+ }
+ Enumeration num=bookmarkEntry.children();
+ int count = 0;
+ while(num.hasMoreElements()) {
+ num.nextElement();
+ count++;
+ }
+ if (count == tm.getChildCount(node)) {
+ TestContext.registerPASSED("Correct Enumeration object was returned.");
+ }else {
+ TestContext.registerFAILED("Incorrect Enumeration object was returned.");
+ }
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) {
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ } else {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ return;
+ }
+ break;
+ }
+
+ }
+}
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getAllowsChildren.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getAllowsChildren.java
new file mode 100644
index 00000000000..41c6b1f913d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getAllowsChildren.java
@@ -0,0 +1,156 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * BookmarkEntry_getAllowsChildren.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.util.*;
+import java.net.URL;
+import java.net.MalformedURLException;
+import javax.swing.tree.*;
+
+public class BookmarkEntry_getAllowsChildren implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Bookmarks bookmarks = null;
+ private int currentArg;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private BookmarkEntry bookmarkFolder, bookmarkEntry = null;
+ private TreeModel bookmarksTree = null;
+ private TreeNode node;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ bookmarks = (Bookmarks)
+ browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+public void execute() {
+
+ if (bookmarks==null) return;
+
+ context.setDefaultResult(TestContext.FAILED);
+ try {
+ } catch(Exception e) {TestContext.registerFAILED("Exception during execution: " + e.toString());}
+
+ boolean result=false;
+
+ switch(currentArg) {
+ case 0:
+ context.setDefaultComment("We are trying to get result of getAllowsChildren() from just created BookmarkFolder");
+ try {
+ bookmarkFolder = bookmarks.newBookmarkFolder("TEST");
+ result=false;
+ result=bookmarkFolder.getAllowsChildren();
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (result) TestContext.registerPASSED("Just created BookmarkFolder allows children");
+ else TestContext.registerFAILED("Just created BookmarkFolder doesn't allow children");
+ break;
+
+ case 1:
+ context.setDefaultComment("We are trying to get result of getAllowsChildren() from just created BookmarkEntry");
+ try {
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry1");
+ result=true;
+ result=bookmarkEntry.getAllowsChildren();
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (!result) TestContext.registerPASSED("Just created BookmarkEntry doesn't allows children");
+ else TestContext.registerFAILED("Just created BookmarkEntry allows children");
+ break;
+
+ case 2:
+ context.setDefaultComment("We are trying to get result of getAllowsChildren() from BookmarkFolder received from Bookmarks TreeModel");
+ try {
+ result=false;
+ bookmarksTree = bookmarks.getBookmarks();
+ int count = bookmarksTree.getChildCount(bookmarksTree.getRoot());
+ for(int j=0;j2) {
+ bookmarkEntry=(BookmarkEntry)node;
+ i = tm.getChildCount(root);
+ }
+ }
+ if(bookmarkEntry == null) {
+ TestContext.registerFAILED("Can't find suitable BookmarkFolder in existing bookmarks");
+ return;
+ }
+ TreeNode child = bookmarkEntry.getChildAt(2);
+ if (child!=null) {
+ TestContext.registerPASSED("Correct child was returned for valid index.");
+ }else {
+ TestContext.registerFAILED("NULL child was returned for valid index.");
+ }
+ return;
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) {
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ }else {
+ e.printStackTrace();
+ TestContext.registerFAILED("getChildAt invoked with correct index, but throw exception " + e.toString());
+ }
+ return;
+ }
+ case 3:
+ case 4:
+ try {
+ bookmarkFolder = bookmarks.newBookmarkFolder("TEST");
+ Object child = bookmarkFolder.getChildAt(index);
+ if(child == null) {
+ TestContext.registerPASSED("getChildAt invoked with invalid index: " + index + ", return null but doesn't throw exception");
+ } else {
+ TestContext.registerFAILED("getChildAt invoked with invalid index: " + index + ", but return NOT null and do don't throw exception :(");
+ }
+ return;
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) {
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ }else {
+ e.printStackTrace();
+ TestContext.registerPASSED("getChildAt invoked with invalid index: " + index + " and throw exception " + e.toString());
+ }
+ return;
+ }
+ }
+}
+}
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getChildCount.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getChildCount.java
new file mode 100644
index 00000000000..1d43ae078bf
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getChildCount.java
@@ -0,0 +1,139 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * BookmarkEntry_getChildCount.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.util.*;
+import java.net.URL;
+import java.net.MalformedURLException;
+import javax.swing.tree.*;
+
+public class BookmarkEntry_getChildCount implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Bookmarks bookmarks = null;
+ private int currentArg;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private BookmarkEntry bookmarkFolder, bookmarkEntry = null;
+ private TreeModel bookmarksTree = null;
+ private TreeNode node;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ bookmarks = (Bookmarks)
+ browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+public void execute() {
+
+ if (bookmarks==null) return;
+
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to get the child count");
+ try {
+ } catch(Exception e) {TestContext.registerFAILED("Exception during execution: " + e.toString());}
+
+ int count=0;
+ int counter = 0;
+ switch(currentArg) {
+ case 0:
+ try {
+ bookmarkFolder = bookmarks.newBookmarkFolder("TEST");
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry1");
+ bookmarks.addBookmark(bookmarkFolder, bookmarkEntry);
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry2");
+ bookmarks.addBookmark(bookmarkFolder, bookmarkEntry);
+ count=bookmarkFolder.getChildCount();
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (count==2)
+ TestContext.registerPASSED("Correct child count received from just created BookmarkFolder with 2 BookmarkEntry inside");
+ else
+ TestContext.registerFAILED("Incorrect child count received from just created BookmarkFolder with 2 BookmarkEntry inside, returns"+count+" instead of 2");
+ break;
+
+ case 1:
+ try {
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry1");
+ count=bookmarkEntry.getChildCount();
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (count==0)
+ TestContext.registerPASSED("Correct child count (equals 0) received from just created BookmarkEntry");
+ else
+ TestContext.registerFAILED("Incorrect child count received from just created BookmarkEntry, returns "+count+" instead of 0");
+ break;
+
+ case 2:
+ try{
+ bookmarksTree = bookmarks.getBookmarks();
+ bookmarkEntry = (BookmarkEntry)bookmarksTree.getRoot();
+ count = bookmarkEntry.getChildCount();
+ Enumeration num = bookmarkEntry.children();
+ counter = 0;
+ while(num.hasMoreElements()) {
+ num.nextElement();
+ counter++;
+ }
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (count==counter)
+ TestContext.registerPASSED("Correct child count "+count+" received from Root of BookmarkTree");
+ else
+ TestContext.registerFAILED("Incorrect child count received = "+count+" from Root of BookmarkTree, instead of"+counter);
+ break;
+ }
+ }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getIndex.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getIndex.java
new file mode 100644
index 00000000000..b639b24516d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getIndex.java
@@ -0,0 +1,158 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * BookmarkEntry_getIndex.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.util.*;
+import java.net.URL;
+import java.net.MalformedURLException;
+import javax.swing.tree.*;
+
+public class BookmarkEntry_getIndex implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Bookmarks bookmarks = null;
+ private int currentArg;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private BookmarkEntry bookmarkFolder, bookmarkEntry,bookmarkFolder2, bookmarkEntry2 = null;
+ private TreeModel bookmarksTree = null;
+ private TreeNode node;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ bookmarks = (Bookmarks)
+ browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+public void execute() {
+
+ if (bookmarks==null) return;
+
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to get index");
+ try {
+ bookmarkFolder = bookmarks.newBookmarkFolder("TEST");
+ bookmarkFolder2 = bookmarks.newBookmarkFolder("TEST2");
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry1");
+ bookmarks.addBookmark(bookmarkFolder, bookmarkEntry);
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry2");
+ bookmarks.addBookmark(bookmarkFolder, bookmarkEntry);
+ bookmarkEntry2 = bookmarks.newBookmarkEntry("Entry3");
+ bookmarks.addBookmark(bookmarkFolder2, bookmarkEntry2);
+ } catch(Exception e) {TestContext.registerFAILED("Exception during execution: " + e.toString());}
+
+ int index=666;
+
+
+ switch(currentArg) {
+ case 0:
+ try {
+
+ index=bookmarkFolder.getIndex((TreeNode)bookmarkEntry);
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ if (index==1) TestContext.registerPASSED("Correct index");
+ else TestContext.registerFAILED("Incorrect index.");
+ break;
+
+ case 1:
+ try {
+
+ index=bookmarkEntry.getIndex((TreeNode)bookmarkEntry);
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+
+ break;
+
+ case 2:
+ try {
+
+ index=bookmarkFolder.getIndex(null);
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+
+ break;
+
+ case 3:
+ try {
+
+ index=bookmarkFolder.getIndex((TreeNode)bookmarkFolder);
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+
+ break;
+
+ case 4:
+ try {
+
+ index=bookmarkFolder.getIndex((TreeNode)bookmarkEntry2);
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+
+ break;
+ }
+ }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getParent.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getParent.java
new file mode 100644
index 00000000000..cd076b16a5d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getParent.java
@@ -0,0 +1,139 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * BookmarkEntry_getParent.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.util.*;
+import java.net.URL;
+import java.net.MalformedURLException;
+import javax.swing.tree.*;
+
+public class BookmarkEntry_getParent implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Bookmarks bookmarks = null;
+ private int currentArg;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private BookmarkEntry bookmarkFolder, bookmarkEntry,bookmarkFolder2, bookmarkEntry2 = null;
+ private TreeModel bookmarksTree = null;
+ private TreeNode node;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ bookmarks = (Bookmarks)
+ browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+public void execute() {
+
+ if (bookmarks==null) return;
+
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to get the child count");
+ try {
+ bookmarkFolder = bookmarks.newBookmarkFolder("TEST");
+ bookmarkFolder2 = bookmarks.newBookmarkFolder("TEST2");
+ bookmarks.addBookmark(bookmarkFolder, bookmarkFolder2);
+ bookmarkEntry = bookmarks.newBookmarkEntry("Entry1");
+ bookmarkEntry2 = bookmarks.newBookmarkEntry("Entry2");
+ bookmarks.addBookmark(bookmarkFolder, bookmarkEntry2);
+ } catch(Exception e) {TestContext.registerFAILED("Exception during execution: " + e.toString());}
+
+ switch(currentArg) {
+ case 0:
+ try {
+
+ bookmarkFolder.getParent();
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+
+ break;
+
+ case 1:
+ try {
+
+ bookmarkFolder2.getParent();
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ if (bookmarkFolder2.getParent().equals("TEST")) TestContext.registerPASSED("Correct parent.");
+ else TestContext.registerFAILED("Incorrect parent.");
+ break;
+ case 2:
+ try {
+
+ bookmarkEntry.getParent();
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+
+ break;
+
+ case 3:
+ try {
+
+ bookmarkEntry2.getParent();
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+ if (bookmarkEntry2.getParent().equals("TEST")) TestContext.registerPASSED("Correct parent.");
+ else TestContext.registerFAILED("Incorrect parent.");
+ break;
+
+ }
+ }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getProperties.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getProperties.java
new file mode 100644
index 00000000000..23548a1fb02
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_getProperties.java
@@ -0,0 +1,121 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * BookmarkEntry_getProperties.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.util.*;
+import java.net.URL;
+import java.net.MalformedURLException;
+import javax.swing.tree.*;
+
+public class BookmarkEntry_getProperties implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Bookmarks bookmarks = null;
+ private int currentArg;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private BookmarkEntry bookmarkEntry, be = null;
+ private TreeModel bookmarksTree = null;
+ private TreeNode node = null;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ bookmarks = (Bookmarks)
+ browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+public void execute() {
+
+ if (bookmarks==null) return;
+
+
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to get properties in test case N"+currentArg);
+
+ switch (currentArg) {
+ case 0:
+ try {
+ bookmarksTree = bookmarks.getBookmarks();
+ node=(TreeNode)bookmarksTree.getRoot();
+
+ bookmarkEntry=(BookmarkEntry)node.getChildAt(0).getChildAt(1);
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ String real="{URL="+node.getChildAt(0).getChildAt(1)+"}";
+ if (bookmarkEntry.getProperties().equals(real)) TestContext.registerPASSED("getProperties return correct Properties="+bookmarkEntry.getProperties());
+ else TestContext.registerFAILED("getProperties return empty or bad Properties="+bookmarkEntry.getProperties());
+ break;
+
+ case 1:
+ try {
+
+ bookmarkEntry = bookmarks.newBookmarkEntry("http://java.sun.com");
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (bookmarkEntry.getProperties().toString().equals("{URL=http://java.sun.com}")) TestContext.registerPASSED("getProperties return correct Properties="+bookmarkEntry.getProperties());
+ else TestContext.registerFAILED("getProperties return empty or bad Properties="+bookmarkEntry.getProperties());
+ break;
+
+ case 2:
+ try {
+
+ bookmarkEntry = bookmarks.newBookmarkFolder("My bookmarks");
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (bookmarkEntry.getProperties().toString().equals("{NAME=My bookmarks}")) TestContext.registerPASSED("getProperties return correct Properties="+bookmarkEntry.getProperties());
+ else TestContext.registerFAILED("getProperties return empty or bad Properties"+bookmarkEntry.getProperties());
+ break;
+} }
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_insert.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_insert.java
new file mode 100644
index 00000000000..cc863445850
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_insert.java
@@ -0,0 +1,118 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * BookmarkEntry_insert.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+import javax.swing.tree.*;
+
+public class BookmarkEntry_insert implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Bookmarks bookmarks = null;
+ private String currentArg;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private BookmarkEntry bookmarkEntry = null;
+ private TreeModel bookmarksTree = null;
+ private MutableTreeNode node, mtn;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ bookmarks = (Bookmarks)
+ browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+public void execute() {
+
+ if (bookmarks==null) return;
+
+StringTokenizer st=new StringTokenizer(currentArg,",");
+int num=java.lang.Integer.parseInt(st.nextToken());
+int n=java.lang.Integer.parseInt(st.nextToken());
+
+ context.setDefaultResult(TestContext.FAILED);
+ if (num!=0) context.setDefaultComment("We are trying to insert new node with index="+n);
+ else context.setDefaultComment("We are trying to insert new node=NULL");
+
+
+ try {
+ bookmarksTree = bookmarks.getBookmarks();
+ node=(MutableTreeNode)bookmarksTree.getRoot();
+ bookmarkEntry=bookmarks.newBookmarkEntry("www.mozilla.org");
+ mtn=(MutableTreeNode)bookmarkEntry;
+
+ node=(MutableTreeNode)node.getChildAt(0);
+
+ } catch(Exception e) {TestContext.registerFAILED("Exception during execution: " + e.toString());}
+
+
+ try {
+
+ switch (num) {
+ case 0:
+ node.insert(null,1);
+ break;
+ case 1:
+ node.insert(mtn,1);
+// TODO: check; Will be done after bookmark bug fixing
+// return;
+ break;
+ case 2:
+ case 3:
+ case 4:
+ node.insert(mtn,n);
+ break;
+
+ }
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ if(num==0) TestContext.registerPASSED("Browser doesn't crashed (exception): " + e.toString());
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+
+TestContext.registerPASSED("Browser doesn't crashed");
+
+ }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_isFolder.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_isFolder.java
new file mode 100644
index 00000000000..393387d583e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/BookmarkEntry_isFolder.java
@@ -0,0 +1,145 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * BookmarkEntry_isFolder.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+import javax.swing.tree.*;
+
+public class BookmarkEntry_isFolder implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Bookmarks bookmarks = null;
+ private int currentArg;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private BookmarkEntry bookmarkEntry = null;
+ private TreeModel bookmarksTree = null;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ bookmarks = (Bookmarks)
+ browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+public void execute() {
+
+boolean yes=true;
+
+ if (bookmarks==null) return;
+
+ context.setDefaultResult(TestContext.FAILED);
+
+ switch (currentArg) {
+ case 0:
+ context.setDefaultComment("We are trying to get isFolder value via newBookmarkEntry");
+ try {
+ yes=true;
+ bookmarkEntry = bookmarks.newBookmarkEntry("http://java.sun.com");
+ yes=bookmarkEntry.isFolder();
+
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (yes==false) TestContext.registerPASSED(".isFolder() is false and it is right");
+ else TestContext.registerFAILED(".isFolder() is true and it isn't right");
+
+ break;
+ case 1:
+ try {
+ context.setDefaultComment("We are trying to get isFolder value via newBookmarkFolder");
+ yes=false;
+ bookmarkEntry = bookmarks.newBookmarkFolder("My test bookmarks");
+ yes=bookmarkEntry.isFolder();
+ } catch(Exception e) {
+ if (e instanceof UnimplementedException) TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ if (yes==true) TestContext.registerPASSED(".isFolder() is true and it is right");
+ else TestContext.registerFAILED(".isFolder() is false and it isn't right");
+
+ break;
+ case 2:
+ context.setDefaultComment("We are trying to get isFolder value of leaf received via Bookmarks TreeModel");
+ try{
+ yes = true;
+ bookmarksTree = bookmarks.getBookmarks();
+ int count = bookmarksTree.getChildCount(bookmarksTree.getRoot());
+ for(int j=0;j0){
+ if(result){
+ TestContext.registerPASSED("canBack returned correct value when it's really can back");
+ return ;
+ }else{
+ TestContext.registerFAILED("canBack returned false when it's really can back");
+ return ;
+ }
+ }else{
+ if(!result){
+ TestContext.registerPASSED("canBack returned correct value when it's really cannot back");
+ return ;
+ }else{
+ TestContext.registerFAILED("canBack returned true when it's really cannot back");
+ return ;
+ }
+ }
+ }
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_canForward.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_canForward.java
new file mode 100644
index 00000000000..4d553eda0d0
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_canForward.java
@@ -0,0 +1,114 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * History_canForward.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+public class History_canForward implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private int currentArg = 0;
+ private String[] pages = null;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+ public void execute() {
+ boolean result;
+ if(context.getExecutionCount()==1){
+ try {
+ if(pages.length==0){
+ result = history.canForward();
+ if(!result){
+ TestContext.registerPASSED("canForward return false when history is empty");
+ }else{
+ TestContext.registerFAILED("canForward returned true when history is empty");
+ }
+ return ;
+ }else{
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hangs when loading page N " + (currentArg + 1) +
+ " of " + pages.length);
+ history.setCurrentHistoryIndex(currentArg);
+ }
+ }catch(Exception e) {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ }
+ }
+ if(context.getExecutionCount()==2){
+ try {
+ result = history.canForward();
+ }catch(Exception e) {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ }
+ if(currentArg=0; i++){
+ if(!list[count].getURL().equals(history.getURLForIndex(i))){
+ System.out.println("URL from list - "+list[count].getURL()+" do not equals URL from history - "+history.getURLForIndex(i));
+ return false ;
+ }
+ count++ ;
+ }
+ return true ;
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getCurrentHistoryIndex.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getCurrentHistoryIndex.java
new file mode 100644
index 00000000000..9c07df8df97
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getCurrentHistoryIndex.java
@@ -0,0 +1,113 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * History_getCurrentHistoryIndex.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+public class History_getCurrentHistoryIndex implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private CurrentPage curPage = null;
+ private int currentArg = 0;
+ private String[] pages = null;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+ public void execute() {
+ int count = context.getExecutionCount();
+ if (null == history) {
+ TestContext.registerFAILED("null history passed to test");
+ return;
+ }
+ switch(count) {
+ case 1:
+ try {
+ if(currentArg == -1) { //Default index
+ if(history.getCurrentHistoryIndex()==(pages.length - 1)) {
+ TestContext.registerPASSED("getCurrentHistoryIndex returned correct value " +
+ (pages.length -1) );
+ }else{
+ TestContext.registerFAILED("getCurrentHistoryIndex return incorrect value " +
+ history.getCurrentHistoryIndex() + " instead of " +
+ (pages.length-1));
+ }
+ return;
+ }
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hangs when load page N " + (currentArg + 1) +
+ " of " + pages.length);
+ history.setCurrentHistoryIndex(currentArg);
+ }catch(Exception e) {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ break;
+ case 2:
+ try {
+ if(history.getCurrentHistoryIndex()==currentArg){
+ TestContext.registerPASSED("getCurrentHistoryIndex returned correct value " +
+ currentArg);
+ }else{
+ TestContext.registerFAILED("getCurrentHistoryIndex return incorrect value " +
+ history.getCurrentHistoryIndex() + " instead of " +
+ currentArg);
+ }
+ }catch(Exception e) {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ break;
+ default:
+ TestContext.registerFAILED("Very strange.Executed 3 times.");
+ }
+ return;
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getForwardList.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getForwardList.java
new file mode 100644
index 00000000000..007f33de8ee
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/History_getForwardList.java
@@ -0,0 +1,144 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * History_getForwardList.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+public class History_getForwardList implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private int currentArg = 0;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+ private HistoryEntry[] forwardList = null;
+ private boolean result = true;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+ public void execute() {
+ if(context.getExecutionCount()==1){
+ if (null != history) {
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hangs when try to load page N " + (currentArg + 1) +
+ " of " + pages.length);
+ if(currentArg!=-1){
+ history.setCurrentHistoryIndex(currentArg);
+ }else{
+ forwardList = history.getForwardList();
+ if(forwardList.length == 0){
+ TestContext.registerPASSED("getForwardList return correct value - empty array when list is empty");
+ return ;
+ }else{
+ TestContext.registerFAILED("getForwardList return incorrect value when list is empty");
+ return ;
+ }
+ }
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException){
+ TestContext.registerUNIMPLEMENTED("This method is unimplemented yet");
+ return;
+ }
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return ;
+ }
+ }else{
+ TestContext.registerFAILED("null history passed to test");
+ }
+ }
+
+ if(context.getExecutionCount()==2) {
+ try {
+ forwardList = history.getForwardList();
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException){
+ TestContext.registerUNIMPLEMENTED("This method is unimplemented yet");
+ }else{
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ }
+ return ;
+ }
+ if(forwardList==null){
+ if(currentArg+1==pages.length) {
+ TestContext.registerPASSED("getForwardList return correct value when list is empty");
+ return ;
+ }else{
+ TestContext.registerFAILED("getForwardList return null when list is not empty");
+ return ;
+ }
+ }else{
+ try{
+ if(forwardList.length == (pages.length-currentArg)){
+ for(int i=currentArg; i=0){
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Try to call setCurrentHistoryIndex(" + currentArg +
+ ") when history length is " + pages.length +
+ ". But page doesn't loaded");
+ history.setCurrentHistoryIndex(currentArg);
+ }else{
+ context.setDefaultResult(TestContext.PASSED);
+ context.setDefaultComment("Try to call setCurrentHistoryIndex(" + currentArg +
+ ") when history length is " + pages.length +
+ ". Browser isn't crashed");
+ history.setCurrentHistoryIndex(currentArg);
+ return ;
+ }
+ }catch(Exception e) {
+ if(e instanceof org.mozilla.util.RangeException){
+ if(currentArg<0){
+ TestContext.registerPASSED("Exception occured,but the index is out of range: " +currentArg+ " Exception is: "+ e.toString());
+ }else{
+ TestContext.registerFAILED("org.mozilla.util.RangeException is thrown, but the index is: " +currentArg+ " Exception is: " + e.toString());
+ }
+ }else{
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ }
+ }
+ } else {
+ try{
+ context.setDefaultResult(TestContext.PASSED);
+ context.setDefaultComment("Try to call setCurrentHistoryIndex(" + currentArg +
+ ") when history is empty");
+ history.setCurrentHistoryIndex(currentArg);
+ return ;
+ }catch(Exception e){
+ if(e instanceof org.mozilla.util.RangeException){
+ if(currentArg<0){
+ TestContext.registerPASSED("Exception occured,but the index is out of range: " +currentArg+ " Exception is: "+ e.toString());
+ }else{
+ TestContext.registerFAILED("org.mozilla.util.RangeException is thrown, but the index is: " +currentArg+ " Exception is: " + e.toString());
+ }
+ }else{
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ }
+ }
+ }
+ }
+ if(context.getExecutionCount()==2){
+ try{
+ curPage = (CurrentPage)browserControl.queryInterface(BrowserControl.CURRENT_PAGE_NAME);
+ try{
+ if(new URL(curPage.getCurrentURL()).equals(new URL(pages[currentArg]))){
+ TestContext.registerPASSED("setCurrentHistoryIndex returned correct value");
+ }else{
+ TestContext.registerFAILED("setCurrentHistoryIndex return incorrect value");
+ }
+ }catch(MalformedURLException e) {
+ TestContext.registerFAILED("Exception when constructing URL from: " + curPage.getCurrentURL() +
+ " and " + pages[currentArg]);
+ }
+ }catch(Exception e){
+ if(e instanceof org.mozilla.util.RangeException){
+ if(currentArg<0){
+ TestContext.registerPASSED("Exception occured,but the index is out of range: " +currentArg+ " Exception is: "+ e.toString());
+ }else{
+ TestContext.registerFAILED("org.mozilla.util.RangeException is thrown, but the index is: " +currentArg+ " Exception is: " + e.toString());
+ }
+ }else{
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ }
+ }
+ }
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadFromStream.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadFromStream.java
new file mode 100644
index 00000000000..cb436e9d64b
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadFromStream.java
@@ -0,0 +1,177 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * Navigation_loadFromStream.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.io.InputStream;
+import java.util.Properties;
+import java.io.ByteArrayInputStream;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+
+public class Navigation_loadFromStream implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private Navigation navigation = null;
+ private int currentArg = 0;
+ private String[] pages = null;
+
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+
+ public void execute() {
+ InputStream is = null;
+ String contentType = "text/html";
+ String uri = "www.sun.com";
+ int contentLength = -1;
+ Properties props = null;
+ byte[] buf = {'1','2','3','4','5'};
+ System.out.println("Navigation_loadFromStream. Execution count is " + context.getExecutionCount());
+ if (navigation == null) {
+ TestContext.registerFAILED("Navigation is null at execution stage");
+ return;
+ }
+ if(context.getExecutionCount() > 1) {
+ TestContext.registerPASSED("Browser doesn't crashed, some data loaded");
+ return;
+ }
+ switch (currentArg) {
+ case 0:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hang up when try to call loadFromStream with null stream");
+ navigation.loadFromStream(is,uri,contentType,contentLength,props);
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerPASSED("Browser doesn't crashed when try to invoke loadFromStream with null stream (exception): " + e.toString());
+ return;
+ };
+ break;
+
+ case 1:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hung up when try to invoke loadFromStream with null ContentType");
+
+ contentType=null;
+ is = new ByteArrayInputStream(buf);
+ navigation.loadFromStream(is,uri,contentType,contentLength,props);
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerPASSED("Browser doesn't crashed when try to invoke loadFromStream with null contentType (exception): " + e.toString());
+ return;
+ };
+ break;
+ case 2:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hung up when try to invoke loadFromStream with null uri");
+ uri=null;
+ is = new ByteArrayInputStream(buf);
+ navigation.loadFromStream(is,uri,contentType,contentLength,props);
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerPASSED("Browser doesn't crashed when try to invoke loadFromStream with null URI (exception): " + e.toString());
+ return;
+ };
+ break;
+
+ case 3:
+ //Valid usage ...
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hung up when try to invoke loadFromStream with valid parameters");
+ uri="file://dummy_test_data";
+ is = new ByteArrayInputStream(buf);
+ navigation.loadFromStream(is,uri,contentType,contentLength,props);
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Method throw exception: " + e.toString());
+ return;
+ };
+ break;
+
+ case 4:
+ //Valid usage ...
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("Hung up when try to invoke loadFromStream with empty properties");
+ props = new Properties();
+ uri="file://dummy_test_data";
+ is = new ByteArrayInputStream(buf);
+ navigation.loadFromStream(is,uri,contentType,contentLength,props);
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Method throw exception: " + e.toString());
+ return;
+ };
+ break;
+ };
+ return;
+
+ }
+}
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_1.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_1.java
new file mode 100644
index 00000000000..be5bf2cf639
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_1.java
@@ -0,0 +1,115 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * Navigation_loadURL_1.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+
+public class Navigation_loadURL_1 implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private Navigation navigation = null;
+ private int currentArg = 0;
+ private String[] pages = null;
+
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+
+ public void execute() {
+
+//if (context.getExecutionCount()!=2) return;
+
+ String host;
+
+ if (null != navigation) {
+
+ switch (currentArg) {
+ case 0:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to load null URL");
+
+ host=null;
+ navigation.loadURL(host);
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerPASSED("Browser doesn't crashed (exception): " + e.toString());
+ return;
+ };
+ break;
+
+ case 1:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to load empty URL");
+
+ host="";
+ navigation.loadURL(host);
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+ break;
+
+ };
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+
+ return;
+
+ } }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_2.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_2.java
new file mode 100644
index 00000000000..8bdaff3980f
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_2.java
@@ -0,0 +1,129 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * Navigation_loadURL_2.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+
+public class Navigation_loadURL_2 implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private Navigation navigation = null;
+ private String currentArg = null;
+ private String[] pages = null;
+ private boolean loading = false;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+
+ public void execute() {
+
+ if (null != navigation) {
+
+StringTokenizer st=new StringTokenizer(currentArg,",");
+int num=java.lang.Integer.parseInt(st.nextToken().trim());
+String host1=st.nextToken().trim();
+String host2=st.nextToken().trim();
+
+if (!host2.equals("null")) {
+
+ if (!loading) {
+ navigation.loadURL(host2);
+ System.out.println("LOAD");
+ loading=true;
+ }
+
+ if (num!=2) if (context.getExecutionCount()!=2) return;
+}
+
+ switch (num) {
+ case 0:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to load URL: "+host1);
+
+ navigation.loadURL(host1);
+
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+ break;
+
+ case 1:
+ case 2:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to load URL when another URL is loading or loaded");
+
+ navigation.loadURL(host1);
+
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+ break;
+
+ };
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+
+ return;
+
+ } }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_3.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_3.java
new file mode 100644
index 00000000000..623fa915390
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_loadURL_3.java
@@ -0,0 +1,100 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * Navigation_loadURL_3.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+
+public class Navigation_loadURL_3 implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private Navigation navigation = null;
+ private String currentArg = null;
+ private String[] pages = null;
+ private boolean loading = false;
+
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+
+public void execute() {
+
+ if (null != navigation) {
+
+StringTokenizer st=new StringTokenizer(currentArg,",");
+int num=java.lang.Integer.parseInt(st.nextToken().trim());
+String host=st.nextToken().trim();
+
+context.setDefaultResult(TestContext.FAILED);
+context.setDefaultComment("We are trying to load URL with protocol:URL= "+host);
+
+ if (!loading) {
+ try{
+ navigation.loadURL(host);
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception: "+e);
+ }
+ System.out.println("LOAD");
+ loading=true;
+ }
+
+ if (num!=3) if (context.getExecutionCount()!=2) return;
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+ return;
+
+ } }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_refresh_1.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_refresh_1.java
new file mode 100644
index 00000000000..0fb0fd86c3e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_refresh_1.java
@@ -0,0 +1,127 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * Navigation_refresh_1.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+
+public class Navigation_refresh_1 implements Test, TestDocLoadListener
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private Navigation navigation = null;
+ private String currentArg = null;
+ private String[] pages = null;
+ private boolean loading, loaded = false;
+ private int first, second=0;
+
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ context.setDocLoadListener(this);
+ return true;
+ }
+
+
+public void eventDispatched(DocumentLoadEvent event)
+{
+ if (event.getType()==4) {
+ first++;
+ execute();
+ }
+ if (event.getType()==1) {
+ second++;
+ execute();
+ }
+
+}
+
+
+ public void execute() {
+
+System.out.println("first="+first+" second="+second);
+ if (null != navigation) {
+
+StringTokenizer st=new StringTokenizer(currentArg,",");
+int num=java.lang.Integer.parseInt(st.nextToken().trim());
+String host=st.nextToken().trim();
+String host2=st.nextToken().trim();
+
+if (!host.equals("null")) {
+ if (!loading) {
+ navigation.loadURL(host);
+ System.out.println("LOAD");
+ loading=true;
+ }
+
+ if (first!=1) return;
+//if (context.getExecutionCount()!=2) return;
+}
+
+ if ((num==1)&&(!loaded)) {loaded=true; navigation.loadURL(host2);}
+ if ((num==1)&&(second!=1)) return;
+
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to refresh URL");
+
+ navigation.refresh(0);
+
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+ return;
+
+ } }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_refresh_2.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_refresh_2.java
new file mode 100644
index 00000000000..b4637d531f6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_refresh_2.java
@@ -0,0 +1,109 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * Navigation_refresh_2.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+import java.io.*;
+
+
+public class Navigation_refresh_2 implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private Navigation navigation = null;
+ private String currentArg = null;
+ private String[] pages = null;
+
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+
+ public void execute() {
+
+if (context.getExecutionCount()>1) return;
+
+ if (null != navigation) {
+
+StringTokenizer st=new StringTokenizer(currentArg,",");
+long flags=java.lang.Long.parseLong(st.nextToken().trim());
+
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to refresh URL");
+
+/*File f=new File("d:\\blackwood\\webclient\\automated\\html\\test\\basic\\bastest1.html");
+File f2=new File("d:\\blackwood\\webclient\\automated\\html\\test\\basic\\old");
+f.renameTo(f2));
+
+File f3=new File("d:\\blackwood\\webclient\\automated\\html\\test\\basic\\bastest1.html");
+File f1=new File("d:\\blackwood\\webclient\\automated\\html\\test\\basic\\bastest2.html");
+f1.renameTo(f3);
+*/
+
+ navigation.refresh(flags);
+
+/*if (context.getExecutionCount()==1){
+f3.renameTo(f1);
+f2.renameTo(f);
+}*/
+
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ if ((e instanceof org.mozilla.util.RangeException)||(flags<0))
+ TestContext.registerPASSED("Incorrect flags raises exception: " + e.toString());}
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+ return;
+
+ } }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_stop.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_stop.java
new file mode 100644
index 00000000000..af442038c9d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/Navigation_stop.java
@@ -0,0 +1,132 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * Navigation_stop.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+
+public class Navigation_stop implements Test, TestDocLoadListener
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private Navigation navigation = null;
+ private String currentArg = null;
+ private String[] pages = null;
+ private boolean loading, loaded = false;
+ private int first, second=0;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ context.setDocLoadListener(this);
+ return true;
+ }
+
+public void eventDispatched(DocumentLoadEvent event)
+{
+ if (event.getType()==4) {
+ first++;
+ execute();
+ }
+ if (event.getType()==1) {
+ second++;
+ execute();
+ }
+
+}
+
+
+ public void execute() {
+
+ if (null != navigation) {
+
+StringTokenizer st=new StringTokenizer(currentArg,",");
+int num=java.lang.Integer.parseInt(st.nextToken());
+String host=st.nextToken().trim();
+String host2=st.nextToken().trim();
+
+if (!host.equals("null")) {
+
+ if (!loading) {
+ navigation.loadURL(host);
+ System.out.println("LOAD");
+ loading=true;
+ }
+
+ if (first!=1) return;
+// if (num!=2) if (context.getExecutionCount()!=2) return;
+}
+
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to stop URL loading");
+
+ if ((num==2)&&(!loaded)) {loaded=true; navigation.loadURL(host2);}
+ if ((num==2)&&(second!=1)) return;
+
+ try {
+ navigation.stop();
+
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+
+ TestContext.registerPASSED("Browser doesn't crashed");
+/* System.out.println();
+ System.out.println("----------HISTORY----------");
+ for(int i=0;i=0)&&(y>=0)&&(y<=bounds.height)&&(x<=bounds.width)) {
+ goodCase = true;
+ }
+ try {
+ windowControl = (WindowControl)
+ browserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+ public void execute() {
+ if (null != windowControl) {
+ String url = null;
+ try {
+ windowControl.moveWindowTo(x,y);
+ }catch(Exception e) {
+ if (goodCase) {
+ TestContext.registerFAILED("Exception in legal case: " + e.toString() +
+ "\n x = " + x + " y = " + y);
+ } else {
+ TestContext.registerPASSED("Exception ocurred x = " + x + " y = " + y);
+
+ }
+ return;
+ }
+ if (goodCase) {
+ TestContext.registerPASSED("Browser isn't crashed on correct call ..MBI" +
+ " x = " + x + " y = " + y);
+ }else {
+ TestContext.registerPASSED("Browser isn't crashed on incorrect call" +
+ " x = " + x + " y = " + y);
+ }
+ return;
+ } else {
+ TestContext.registerFAILED("null WindowControl passed to test");
+ }
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/WindowControl_setBounds.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/WindowControl_setBounds.java
new file mode 100644
index 00000000000..acaaf0f8cf7
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/api/WindowControl_setBounds.java
@@ -0,0 +1,104 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.api;
+
+/*
+ * WindowControl_setBounds.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.awt.Rectangle;
+import java.awt.Frame;
+import java.awt.Container;
+import java.awt.Component;
+import java.net.MalformedURLException;
+
+public class WindowControl_setBounds implements Test
+{
+ public static String COORD_SEPARATOR="|";
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private WindowControl windowControl = null;
+ private Rectangle currentArg = null;
+ private String[] pages = null;
+ private Frame tw = null;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.tw = context.getTestWindow();
+ String arguments = context.getCurrentTestArguments().trim();
+ if (arguments.equals("null")) {
+ this.currentArg = null;
+ } else {
+ StringTokenizer st = new StringTokenizer(arguments,COORD_SEPARATOR);
+ if (st.countTokens() != 4) {
+ TestContext.registerFAILED("Bad test arguments: " + arguments);
+ return false;
+ }
+ int[] coord = new int[st.countTokens()];
+ for(int i=0;st.hasMoreTokens();i++) {
+ coord[i] = (new Integer(st.nextToken())).intValue();
+ }
+ this.currentArg = new Rectangle(coord[0],coord[1],coord[2],coord[3]);
+
+ }
+ try {
+ windowControl = (WindowControl)
+ browserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+ public void execute() {
+ if (null != windowControl) {
+ String url = null;
+ try {
+ windowControl.setBounds(currentArg);
+ }catch(Exception e) {
+ if (currentArg != null) {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ } else {
+ TestContext.registerPASSED("Exception ocurred, when null Rectangle.\n"+
+ "But browser isn't crashed");
+ }
+ return;
+ }
+ TestContext.registerPASSED("Browser isn't crashed on correct call ..MBI");
+ } else {
+ TestContext.registerFAILED("null WindowControl passed to test");
+ }
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/CurrentPage_findInPage_2.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/CurrentPage_findInPage_2.java
new file mode 100644
index 00000000000..bd1cbf2774b
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/CurrentPage_findInPage_2.java
@@ -0,0 +1,128 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * CurrentPage_findInPage_2.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+import java.awt.datatransfer.*;
+import java.awt.Toolkit;
+
+
+public class CurrentPage_findInPage_2 implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private CurrentPage curPage = null;
+ private String currentArg = null;
+ private String[] pages = null;
+
+
+ public boolean initialize(TestContext context) {
+
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ curPage = (CurrentPage)
+ browserControl.queryInterface(BrowserControl.CURRENT_PAGE_NAME);
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+
+ public void execute() {
+
+if (curPage==null) return;
+
+String findMe=null;
+Boolean forw, mCase;
+String fromClip=null;
+int num=0;
+
+Clipboard clip=java.awt.Toolkit.getDefaultToolkit().getSystemClipboard();
+StringTokenizer st=new StringTokenizer(currentArg,",");
+
+num=java.lang.Integer.parseInt(st.nextToken().trim());
+findMe=st.nextToken();
+forw=new Boolean(st.nextToken().trim());
+mCase=new Boolean(st.nextToken().trim());
+
+//System.out.println("1="+findMe+" 2="+forw.booleanValue()+" 3="+mCase.booleanValue());
+
+ try{
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to find string: "+findMe);
+
+ switch (num) {
+ case 0:context.setDescription("If second word is selected press PASSED button, otherwise press FAILED button");break;
+ case 1:context.setDescription("If first word is selected press PASSED button, otherwise press FAILED button");break;
+ case 2:context.setDescription("If fourth word is selected press PASSED button, otherwise press FAILED button");break;
+ case 3:context.setDescription("If fifth word is selected press PASSED button, otherwise press FAILED button");break;
+ }
+
+ curPage.findInPage(findMe, forw.booleanValue(), mCase.booleanValue());
+
+
+/* if (mCase.booleanValue()) {
+ if (fromClip.equals("Html")) {
+ TestContext.registerPASSED("Right result for findInPage() method");
+ return;
+ } else TestContext.registerFAILED("Bad result for findInPage() method");
+ } else {
+ if (fromClip.equals("html")) {
+ TestContext.registerPASSED("Right result for findInPage() method");
+ return;
+ };
+ };
+*/
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+
+// TestContext.registerPASSED("Browser doesn't crashed with FindInPage value="+findMe);
+ return;
+
+ }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/CurrentPage_findNextInPage.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/CurrentPage_findNextInPage.java
new file mode 100644
index 00000000000..19ba4dfea73
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/CurrentPage_findNextInPage.java
@@ -0,0 +1,160 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * CurrentPage_findNextInPage.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+import java.awt.datatransfer.*;
+import java.awt.Toolkit;
+
+
+public class CurrentPage_findNextInPage implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private CurrentPage curPage = null;
+ private int currentArg = 0;
+ private String[] pages = null;
+ private boolean loading = false;
+
+ public boolean initialize(TestContext context) {
+
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ try {
+ curPage = (CurrentPage)
+ browserControl.queryInterface(BrowserControl.CURRENT_PAGE_NAME);
+
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+
+ public void execute() {
+if (curPage==null) return;
+
+Clipboard clip=java.awt.Toolkit.getDefaultToolkit().getSystemClipboard();
+String findMe=null;
+
+ switch (currentArg) {
+ case 0:
+ try{
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to find next string");
+ context.setDescription("If second word is selected press PASSED button, otherwise press FAILED button");
+
+ curPage.findInPage("html", true, true);
+ curPage.findNextInPage();
+
+
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+ break;
+
+ case 1:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to find next string");
+ context.setDescription("If first word is selected press PASSED button, otherwise press FAILED button.Correction required corresponding to API changes");
+
+ curPage.findInPage("html", true, true);
+ curPage.findNextInPage();
+ curPage.findNextInPage();
+
+
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+ break;
+
+ case 2:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to find string without URL");
+ context.setDescription("If nothing is selected press PASSED button, otherwise press FAILED button");
+
+ curPage.findNextInPage();
+
+
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerPASSED("Browser doesn't crashed without previous find (exception): "+e);
+ return;
+ };
+ break;
+
+
+ case 3:
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to find next string at the end of page");
+ context.setDescription("If second word is selected press PASSED button, otherwise press FAILED button");
+
+ curPage.findInPage("html",true,true);
+ curPage.findNextInPage();
+ curPage.findNextInPage();
+
+ }catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ };
+ break;
+
+ };
+
+// TestContext.registerPASSED("Browser doesn't crashed with findNextInPage()");
+ return;
+
+ }
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_addMouseListener_1.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_addMouseListener_1.java
new file mode 100644
index 00000000000..382c743194e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_addMouseListener_1.java
@@ -0,0 +1,148 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * EventRegistration_addMouseListener_1.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+import java.awt.datatransfer.*;
+import java.awt.event.*;
+import java.awt.*;
+
+public class EventRegistration_addMouseListener_1 implements Test, MouseListener, DocumentLoadListener
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Navigation navigation = null;
+ private EventRegistration eventReg = null;
+ private String currentArg = null;
+ private String[] pages = null;
+ private int num = 666;
+ private String url = null;
+ private String docEvent = null;
+ private boolean loading = false;
+
+ public boolean initialize(TestContext context) {
+
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ eventReg = (EventRegistration)
+ browserControl.queryInterface(BrowserControl.EVENT_REGISTRATION_NAME);
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+ context.setDescription("1. Move your mouse out of window.\n 2. Then Click your mouse in the center of window. \n 3. Then double click in the center of window. \n4. And after that you can press CONTINUE button.");
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+/***************************************************************/
+public void mouseClicked(java.awt.event.MouseEvent e)
+{
+ if (num==2) TestContext.registerPASSED("Right MOUSE_CLICK_EVENT_MASK event");
+ if (num==3) TestContext.registerPASSED("Right MOUSE_DOUBLE_CLICK_EVENT_MASK event");
+}
+public void mouseEntered(java.awt.event.MouseEvent e)
+{
+ if (num==4) TestContext.registerPASSED("Right MOUSE_OVER_EVENT_MASK event");
+}
+public void mousePressed(java.awt.event.MouseEvent e)
+{
+ if (num==0) context.registerPASSED("Right MOUSE_DOWN_EVENT_MASK event");
+}
+public void mouseExited(java.awt.event.MouseEvent e)
+{
+ if (num==5) TestContext.registerPASSED("Right MOUSE_OUT_EVENT_MASK event");
+}
+public void mouseReleased(java.awt.event.MouseEvent e)
+{
+ if (num==1) TestContext.registerPASSED("Right MOUSE_UP_EVENT_MASK event");
+}
+/****************************************************************/
+
+
+public void eventDispatched(WebclientEvent event)
+{
+System.out.println("EVENT="+event.getType());
+ if (event instanceof DocumentLoadEvent)
+ if (event.getType() == DocumentLoadEvent.END_DOCUMENT_LOAD_EVENT_MASK)
+ {
+ context.increaseExecutionCount();
+ execute();
+ };
+}
+
+
+
+ public void execute() {
+
+ if (eventReg==null) return;
+
+ StringTokenizer st=new StringTokenizer(currentArg,",");
+ num=java.lang.Integer.parseInt(st.nextToken().trim());
+ docEvent=st.nextToken().trim();
+ url=st.nextToken().trim();
+
+ try {
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are waiting for MOUSE events ...");
+
+ eventReg.addMouseListener(this);
+ eventReg.addDocumentLoadListener(this);
+
+ if (!url.equals("null")) {
+
+ if (!loading) {
+ navigation.loadURL(url);
+ System.out.println("LOAD");
+ loading=true;
+ }
+
+ if (context.getExecutionCount()!=2) return;
+ }
+
+
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution : "+e.toString());
+ return;
+ };
+
+ }
+
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_addMouseListener_2.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_addMouseListener_2.java
new file mode 100644
index 00000000000..52b698262c7
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_addMouseListener_2.java
@@ -0,0 +1,233 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * EventRegistration_addMouseListener_2.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+import java.awt.datatransfer.*;
+import java.awt.event.*;
+
+public class EventRegistration_addMouseListener_2 implements Test, DocumentLoadListener, MouseListener
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Navigation navigation = null;
+ private EventRegistration eventReg = null;
+ private String currentArg = null;
+ private String[] pages = null;
+ private CurrentPage curPage = null;
+ private int num = 666;
+ protected int clicks=0;
+ private String url = null;
+ private String docEvent = null;
+ private boolean loading = false;
+ protected static String sequence = "";
+
+ public boolean initialize(TestContext context) {
+
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ eventReg = (EventRegistration)
+ browserControl.queryInterface(BrowserControl.EVENT_REGISTRATION_NAME);
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+ eventReg.addDocumentLoadListener(this);
+ context.setDescription("1. Click !ONCE! in the center of window.\n2. Then press CONTINUE button.");
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+
+
+ public void eventDispatched(WebclientEvent event)
+ {
+ if (event instanceof DocumentLoadEvent)
+ if (event.getType() == DocumentLoadEvent.END_DOCUMENT_LOAD_EVENT_MASK)
+ {
+ context.increaseExecutionCount();
+ execute();
+ };
+ }
+
+
+/***************************************************************/
+public void mouseClicked(java.awt.event.MouseEvent e)
+{
+ clicks++;
+ if (num==1) if (clicks!=1) TestContext.registerFAILED("Bad events number "+clicks);
+ else TestContext.registerPASSED("Right events number");
+ sequence+="a";
+// if (num==2) if (sequence.equals("cba")) TestContext.registerPASSED("Right sequence of events: "+sequence);
+// else TestContext.registerFAILED("Bad sequence of events: "+sequence);
+}
+public void mouseEntered(java.awt.event.MouseEvent e)
+{
+}
+public void mousePressed(java.awt.event.MouseEvent e)
+{
+}
+public void mouseExited(java.awt.event.MouseEvent e)
+{
+}
+public void mouseReleased(java.awt.event.MouseEvent e)
+{
+}
+/****************************************************************/
+
+public void result()
+{
+System.out.println("clicks="+clicks);
+ if (clicks!=1) TestContext.registerFAILED("Bad events number "+clicks);
+ else TestContext.registerPASSED("Right events number");
+}
+
+
+ public void execute() {
+
+ if (eventReg==null) return;
+
+ StringTokenizer st=new StringTokenizer(currentArg,",");
+ num=java.lang.Integer.parseInt(st.nextToken().trim());
+ String url=st.nextToken().trim();
+
+ try {
+ switch (num) {
+ case 0:
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to register null MouseListener");
+
+ eventReg.addMouseListener(null);
+ break;
+ case 1:
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to register several same MouseListeners");
+
+ eventReg.addMouseListener(this);
+ eventReg.addMouseListener(this);
+ eventReg.addMouseListener(this);
+
+ if (!url.equals("null")) {
+ if (!loading) {
+ navigation.loadURL(url);
+ System.out.println("LOAD");
+ loading=true;
+ }
+
+ if (context.getExecutionCount()!=2) return;
+ }
+
+ break;
+ case 2:
+ context.setDefaultResult(TestContext.FAILED);
+ context.setDefaultComment("We are trying to register several different MouseListeners");
+
+ eventReg.addMouseListener(this);
+ eventReg.addMouseListener(new ER3());
+ eventReg.addMouseListener(new ER4());
+
+ if (!url.equals("null")) {
+ if (!loading) {
+ navigation.loadURL(url);
+ System.out.println("LOAD");
+ loading=true;
+ }
+
+ if (context.getExecutionCount()!=2) return;
+ }
+
+ break;
+
+ }
+
+
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else if (num==0) TestContext.registerPASSED("Browser doesn't crashed (exception): "+e.toString());
+ else TestContext.registerFAILED("Exception during execution : "+e.toString());
+ return;
+ };
+
+ }
+
+}
+
+class ER3 implements MouseListener
+{
+/***************************************************************/
+public void mouseClicked(java.awt.event.MouseEvent e)
+{
+EventRegistration_addMouseListener_2.sequence+="b";
+}
+public void mouseEntered(java.awt.event.MouseEvent e)
+{
+}
+public void mousePressed(java.awt.event.MouseEvent e)
+{
+}
+public void mouseExited(java.awt.event.MouseEvent e)
+{
+}
+public void mouseReleased(java.awt.event.MouseEvent e)
+{
+}
+/****************************************************************/
+}
+
+class ER4 implements MouseListener
+{
+/***************************************************************/
+public void mouseClicked(java.awt.event.MouseEvent e)
+{
+EventRegistration_addMouseListener_2.sequence+="c";
+ if (EventRegistration_addMouseListener_2.sequence.equals("cba")) TestContext.registerPASSED("Events passed to right listener");
+ else TestContext.registerFAILED("Events passed to bad listener");
+}
+public void mouseEntered(java.awt.event.MouseEvent e)
+{
+}
+public void mousePressed(java.awt.event.MouseEvent e)
+{
+}
+public void mouseExited(java.awt.event.MouseEvent e)
+{
+}
+public void mouseReleased(java.awt.event.MouseEvent e)
+{
+}
+/****************************************************************/
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_removeMouseListener_2.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_removeMouseListener_2.java
new file mode 100644
index 00000000000..77b25adc13e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/EventRegistration_removeMouseListener_2.java
@@ -0,0 +1,135 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * EventRegistration_removeMouseListener_2.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+import java.awt.datatransfer.*;
+import java.awt.event.*;
+import java.awt.*;
+
+public class EventRegistration_removeMouseListener_2 implements Test, MouseListener, DocumentLoadListener
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private Navigation navigation = null;
+ private EventRegistration eventReg = null;
+ private String currentArg = null;
+ private String[] pages = null;
+ private int num = 666;
+ private String url = null;
+ private String docEvent = null;
+ private boolean loading = false;
+
+ public boolean initialize(TestContext context) {
+
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+// this.currentArg = (new Integer(context.getCurrentTestArguments())).intValue();
+ this.currentArg = context.getCurrentTestArguments();
+ try {
+ eventReg = (EventRegistration)
+ browserControl.queryInterface(BrowserControl.EVENT_REGISTRATION_NAME);
+ navigation = (Navigation)
+ browserControl.queryInterface(BrowserControl.NAVIGATION_NAME);
+ eventReg.addMouseListener(this);
+ context.setDescription("Click your mouse in the center of window.\n After that you can press CONTINUE button.");
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+
+ return true;
+ }
+
+/***************************************************************/
+public void mouseClicked(java.awt.event.MouseEvent e)
+{
+ TestContext.registerFAILED("Events passed to the removed listener");
+}
+public void mouseEntered(java.awt.event.MouseEvent e)
+{
+
+}
+public void mousePressed(java.awt.event.MouseEvent e)
+{
+
+}
+public void mouseExited(java.awt.event.MouseEvent e)
+{
+
+}
+public void mouseReleased(java.awt.event.MouseEvent e)
+{
+
+}
+/****************************************************************/
+
+
+public void eventDispatched(WebclientEvent event)
+{
+System.out.println("EVENT="+event.getType());
+ if (event instanceof DocumentLoadEvent)
+ if (event.getType() == DocumentLoadEvent.END_DOCUMENT_LOAD_EVENT_MASK)
+ {
+ context.increaseExecutionCount();
+ execute();
+ };
+}
+
+
+
+ public void execute() {
+
+ if (eventReg==null) return;
+
+// StringTokenizer st=new StringTokenizer(currentArg,",");
+// num=java.lang.Integer.parseInt(st.nextToken().trim());
+// docEvent=st.nextToken().trim();
+// url=st.nextToken().trim();
+
+ try {
+ eventReg.removeMouseListener(this);
+ context.setDefaultResult(TestContext.PASSED);
+ context.setDefaultComment("Listener was removed");
+
+ } catch(Exception e) {
+ if(e instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else
+ TestContext.registerFAILED("Exception during execution : "+e.toString());
+ return;
+ };
+
+ }
+
+}
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_moveWindowTo.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_moveWindowTo.java
new file mode 100644
index 00000000000..05658407073
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_moveWindowTo.java
@@ -0,0 +1,93 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * WindowControl_setVisible.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.awt.Rectangle;
+import java.awt.Frame;
+import java.awt.Container;
+import java.awt.Component;
+import java.net.MalformedURLException;
+
+public class WindowControl_moveWindowTo implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private WindowControl windowControl = null;
+ private String[] pages = null;
+
+ private int x_arg = 0;
+ private int y_arg = 0;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ String arguments = context.getCurrentTestArguments().trim();
+
+ try {
+ StringTokenizer tokens = new StringTokenizer(arguments, ",|");
+ if (tokens.countTokens() != 2) {
+ throw(new Exception("Test arguments are incorrect: "+arguments));
+ }
+
+ x_arg = Integer.parseInt(tokens.nextToken());
+ y_arg = Integer.parseInt(tokens.nextToken());
+
+ windowControl = (WindowControl)
+ browserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME);
+ } catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ context.setDescription("This test tries to move the browser window to the (" + x_arg+","+y_arg + ") point.\n");
+ return true;
+ }
+ public void execute() {
+ if (null != windowControl) {
+ try {
+ context.addDescription("Window must move to the (" + x_arg+","+y_arg + ") point.\n");
+ windowControl.moveWindowTo(x_arg, y_arg);
+ context.addDescription("Did it really move ?\n");
+ }catch(Exception e) {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ }
+ } else {
+ TestContext.registerFAILED("null WindowControl passed to test");
+ }
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_removeFocus.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_removeFocus.java
new file mode 100644
index 00000000000..bceb6229de5
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_removeFocus.java
@@ -0,0 +1,99 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * WindowControl_removeFocus.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.awt.Rectangle;
+import java.awt.Frame;
+import java.awt.Container;
+import java.awt.Component;
+import java.awt.event.FocusListener;
+import java.awt.event.FocusEvent;
+import java.net.MalformedURLException;
+import java.awt.*;
+import java.awt.event.*;
+
+public class WindowControl_removeFocus implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private WindowControl windowControl = null;
+
+ private Component browserControlCanvas = null;
+ private boolean removeFocusCalled = false;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ try {
+ browserControlCanvas = (Component)browserControl.queryInterface(BrowserControl.BROWSER_CONTROL_CANVAS_NAME);
+ browserControlCanvas.addFocusListener(new FocusListener() {
+ public void focusGained(FocusEvent e) { System.out.println("Focus gained: "+removeFocusCalled+" : "+e); }
+ public void focusLost(FocusEvent e) { System.out.println("Focus lost: "+removeFocusCalled+" : "+e); }
+ });
+ windowControl = (WindowControl)
+ browserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ context.setDescription("This tests invoke method \"removeFocus\"\n");
+
+ Button b = new Button("RemoveFocus");
+ b.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ try {
+ if (windowControl != null)
+ windowControl.removeFocus();
+ } catch(Exception ex) {
+ if(ex instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + ex.toString());
+ return;
+ }
+ }
+ });
+ context.addButton(b);
+ return true;
+ }
+ public void execute() {
+ if (null != windowControl) {
+ context.addDescription("Press button. \nIf \"Focus lost\" message appeared in the textarea test PASSED. ?");
+ return;
+ }
+ TestContext.registerFAILED("null WindowControl passed to test");
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setBounds.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setBounds.java
new file mode 100644
index 00000000000..95dbd2f360c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setBounds.java
@@ -0,0 +1,106 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * WindowControl_setVisible.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.awt.Rectangle;
+import java.awt.Frame;
+import java.awt.Container;
+import java.awt.Component;
+import java.net.MalformedURLException;
+
+public class WindowControl_setBounds implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private WindowControl windowControl = null;
+ private String[] pages = null;
+
+ private int x_top = 0;
+ private int y_top = 0;
+ private int x_bot = 0;
+ private int y_bot = 0;
+ private Rectangle r = null;
+ private String rect = null;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ String arguments = context.getCurrentTestArguments().trim();
+
+ try {
+ StringTokenizer tokens = new StringTokenizer(arguments, ",|");
+ if (!arguments.equals("null") && tokens.countTokens() != 4) {
+ throw(new Exception("Test arguments are incorrect: "+arguments));
+ }
+
+ if (arguments.equals("null")) {
+ r = null;
+ } else {
+ x_top = Integer.parseInt(tokens.nextToken());
+ y_top = Integer.parseInt(tokens.nextToken());
+ x_bot = Integer.parseInt(tokens.nextToken());
+ y_bot = Integer.parseInt(tokens.nextToken());
+ r = new Rectangle(x_top, y_top, x_bot, y_bot);
+ rect = "(" + x_top+","+y_top + ") - (" + x_bot+","+y_bot + ")";
+ }
+ context.getTestWindow().setBackground(java.awt.Color.gray);
+
+ windowControl = (WindowControl)
+ browserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME);
+ } catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ context.setDescription("This test tries to set browser window bounds to the rectangle: "+rect+"\n");
+ return true;
+ }
+ public void execute() {
+ if (null != windowControl) {
+ try {
+ context.addDescription("Window must resize to the bounds rectangle "+rect+"\n");
+ windowControl.setBounds(r);
+ context.addDescription("Did it really resize ?\n");
+ }catch(Exception e) {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ }
+ } else {
+ TestContext.registerFAILED("null WindowControl passed to test");
+ }
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setFocus.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setFocus.java
new file mode 100644
index 00000000000..889e6f2aad0
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setFocus.java
@@ -0,0 +1,100 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * WindowControl_removeFocus.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.awt.Rectangle;
+import java.awt.Frame;
+import java.awt.Container;
+import java.awt.Component;
+import java.awt.event.FocusListener;
+import java.awt.event.FocusEvent;
+import java.net.MalformedURLException;
+import java.awt.*;
+import java.awt.event.*;
+
+public class WindowControl_setFocus implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private WindowControl windowControl = null;
+
+ private Component browserControlCanvas = null;
+ private boolean removeFocusCalled = false;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ try {
+ browserControlCanvas = (Component)browserControl.queryInterface(BrowserControl.BROWSER_CONTROL_CANVAS_NAME);
+ browserControlCanvas.addFocusListener(new FocusListener() {
+ public void focusGained(FocusEvent e) { System.out.println("Focus gained: "+removeFocusCalled+" : "+e); }
+ public void focusLost(FocusEvent e) { System.out.println("Focus lost: "+removeFocusCalled+" : "+e); }
+ });
+ windowControl = (WindowControl)
+ browserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ context.setDescription("This tests invoke method \"setFocus\"\n");
+
+ Button b = new Button("SetFocus");
+ b.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ try {
+ if (windowControl != null) {
+ windowControl.setFocus();
+ }
+ } catch(Exception ex) {
+ if(ex instanceof UnimplementedException)
+ TestContext.registerUNIMPLEMENTED("This method doesn't implemented");
+ else TestContext.registerFAILED("Exception during execution: " + ex.toString());
+ return;
+ }
+ }
+ });
+ context.addButton(b);
+ return true;
+ }
+ public void execute() {
+ if (null != windowControl) {
+ context.addDescription("Press button. \nIf \"Focus gained\" message appeared in the textarea test PASSED. ?");
+ return;
+ }
+ TestContext.registerFAILED("null WindowControl passed to test");
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setVisible.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setVisible.java
new file mode 100644
index 00000000000..7b4fa209d2b
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/mixed/WindowControl_setVisible.java
@@ -0,0 +1,91 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.mixed;
+
+/*
+ * WindowControl_setVisible.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.awt.Rectangle;
+import java.awt.Frame;
+import java.awt.Container;
+import java.awt.Component;
+import java.net.MalformedURLException;
+
+public class WindowControl_setVisible implements Test
+{
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private WindowControl windowControl = null;
+ private String[] pages = null;
+ private boolean currentArg;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ String arguments = context.getCurrentTestArguments().trim();
+ if (arguments.equals("true")) {
+ this.currentArg = true;
+ } else {
+ this.currentArg = false;
+ }
+ try {
+ windowControl = (WindowControl)
+ browserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ context.setDescription("This test tries to set Browser visibility to " + currentArg);
+ return true;
+ }
+ public void execute() {
+ if (null != windowControl) {
+ try {
+ windowControl.setVisible(currentArg);
+ }catch(Exception e) {
+ TestContext.registerFAILED("Exception during execution: " + e.toString());
+ return;
+ }
+ context.addDescription("\nAction performed. Browser isn't crashed on call setVisible " + currentArg);
+ if (currentArg) {
+ context.addDescription("\nIf page is still shown then this test PASSED");
+ } else {
+ context.addDescription("\nIf page is still shown then this test FAILED");
+ }
+ } else {
+ TestContext.registerFAILED("null WindowControl passed to test");
+ }
+ }
+
+}
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/stress/LongBack.java b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/stress/LongBack.java
new file mode 100644
index 00000000000..b975c0cc6e5
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/classes/org/mozilla/webclient/test/basic/stress/LongBack.java
@@ -0,0 +1,88 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Sun Microsystems,
+ * Inc. Portions created by Sun are
+ * Copyright (C) 1999 Sun Microsystems, Inc. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Client QA Team, St. Petersburg, Russia
+ */
+
+
+
+package org.mozilla.webclient.test.basic.stress;
+
+/*
+ * LongBack.java
+ */
+
+import org.mozilla.webclient.test.basic.*;
+import org.mozilla.webclient.*;
+import java.util.StringTokenizer;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+public class LongBack implements Test
+{
+
+ private TestContext context = null;
+ private BrowserControl browserControl = null;
+ private History history = null;
+ private CurrentPage curPage = null;
+ private String[] pages = null;
+
+ public boolean initialize(TestContext context) {
+ this.context = context;
+ this.browserControl = context.getBrowserControl();
+ this.pages = context.getPagesToLoad();
+ try {
+ history = (History)
+ browserControl.queryInterface(BrowserControl.HISTORY_NAME);
+ }catch (Exception e) {
+ TestContext.registerFAILED("Exception: " + e.toString());
+ return false;
+ }
+ return true;
+ }
+ public void execute() {
+ if(context.getExecutionCount()1) execute();
+ }
+ if (event.getType()==4) {
+System.out.println("END arrived");
+ first++;
+ if (first==1) execute();
+ }
+
+}
+
+
+ public void execute() {
+
+if (curPage==null) return;
+
+String url=null;
+
+StringTokenizer st=new StringTokenizer(currentArg,",");
+//int num=java.lang.Integer.parseInt(st.nextToken());
+url=st.nextToken().trim();
+
+context.setDefaultResult(TestContext.FAILED);
+context.setDefaultComment("refresh");
+
+ if (!loading) {
+ navigation.loadURL(url);
+ loading=true;
+ }
+
+if(first<1) return;
+
+
+try {
+if (second==500) TestContext.registerPASSED("Browser doesn't crashed and page is refreshed 500 times");
+navigation.refresh(0);
+return;
+
+// if (loaded) {loaded=false;navigation.refresh(0);return;}
+
+ }
+ catch (Exception e) {
+ TestContext.registerFAILED("Exception during execution: "+e);
+ return;
+ }
+ }
+}
diff --git a/mozilla/java/webclient/test/automated/src/run/BWMixedTest.lst b/mozilla/java/webclient/test/automated/src/run/BWMixedTest.lst
new file mode 100644
index 00000000000..fc032bf915d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/run/BWMixedTest.lst
@@ -0,0 +1,20 @@
+basic/mixed/EventRegistration_addMouseListener_1:0
+basic/mixed/EventRegistration_addMouseListener_1:1
+basic/mixed/EventRegistration_addMouseListener_1:2
+basic/mixed/EventRegistration_addMouseListener_1:3
+basic/mixed/EventRegistration_addMouseListener_1:4
+basic/mixed/EventRegistration_addMouseListener_1:5
+basic/mixed/EventRegistration_addMouseListener_2:0
+basic/mixed/EventRegistration_addMouseListener_2:1
+basic/mixed/EventRegistration_addMouseListener_2:2
+basic/mixed/EventRegistration_removeMouseListener_2:0
+basic/mixed/EventRegistration_removeMouseListener_2:1
+basic/mixed/EventRegistration_removeMouseListener_2:2
+basic/mixed/WindowControl_moveWindowTo:0
+basic/mixed/WindowControl_moveWindowTo:1
+basic/mixed/WindowControl_removeFocus
+basic/mixed/WindowControl_setBounds:1
+basic/mixed/WindowControl_setBounds:2
+basic/mixed/WindowControl_setFocus
+basic/mixed/WindowControl_setVisible:0
+basic/mixed/WindowControl_setVisible:1
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/run/BWTest.lst b/mozilla/java/webclient/test/automated/src/run/BWTest.lst
new file mode 100644
index 00000000000..73b3bf5c092
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/run/BWTest.lst
@@ -0,0 +1,208 @@
+basic/api/BookmarkEntry_children:0
+basic/api/BookmarkEntry_children:1
+basic/api/BookmarkEntry_getAllowsChildren:0
+basic/api/BookmarkEntry_getAllowsChildren:1
+basic/api/BookmarkEntry_getChildAt:0
+basic/api/BookmarkEntry_getChildAt:1
+basic/api/BookmarkEntry_getChildAt:2
+basic/api/BookmarkEntry_getChildAt:3
+basic/api/BookmarkEntry_getChildAt:4
+basic/api/BookmarkEntry_getChildCount:0
+basic/api/BookmarkEntry_getChildCount:1
+basic/api/BookmarkEntry_getIndex:0
+basic/api/BookmarkEntry_getIndex:1
+basic/api/BookmarkEntry_getIndex:2
+basic/api/BookmarkEntry_getIndex:3
+basic/api/BookmarkEntry_getIndex:4
+basic/api/BookmarkEntry_getParent:0
+basic/api/BookmarkEntry_getParent:1
+basic/api/BookmarkEntry_getParent:2
+basic/api/BookmarkEntry_getParent:3
+basic/api/BookmarkEntry_getProperties:0
+basic/api/BookmarkEntry_getProperties:1
+basic/api/BookmarkEntry_getProperties:2
+basic/api/BookmarkEntry_insert:0
+basic/api/BookmarkEntry_insert:1
+basic/api/BookmarkEntry_insert:2
+basic/api/BookmarkEntry_insert:3
+basic/api/BookmarkEntry_insert:4
+basic/api/BookmarkEntry_isFolder:0
+basic/api/BookmarkEntry_isFolder:1
+basic/api/BookmarkEntry_isLeaf:0
+basic/api/BookmarkEntry_isLeaf:1
+basic/api/BookmarkEntry_removeFromParent:0
+basic/api/BookmarkEntry_removeFromParent:1
+basic/api/BookmarkEntry_remove_1:0
+basic/api/BookmarkEntry_remove_1:1
+basic/api/BookmarkEntry_remove_1:2
+basic/api/BookmarkEntry_remove_1:3
+basic/api/BookmarkEntry_remove_2:0
+basic/api/BookmarkEntry_remove_2:1
+basic/api/BookmarkEntry_setParent:0
+basic/api/BookmarkEntry_setParent:1
+basic/api/BookmarkEntry_setUserObject:0
+basic/api/BookmarkEntry_setUserObject:1
+basic/api/Bookmarks_addBookmark:0
+basic/api/Bookmarks_addBookmark:1
+basic/api/Bookmarks_addBookmark:2
+basic/api/Bookmarks_addBookmark:3
+basic/api/Bookmarks_addBookmark:4
+basic/api/Bookmarks_addBookmark:5
+basic/api/Bookmarks_getBookmarks:0
+basic/api/Bookmarks_newBookmarkEntry:0
+basic/api/Bookmarks_newBookmarkEntry:1
+basic/api/Bookmarks_newBookmarkEntry:2
+basic/api/Bookmarks_newBookmarkFolder:0
+basic/api/Bookmarks_newBookmarkFolder:1
+basic/api/Bookmarks_newBookmarkFolder:2
+basic/api/Bookmarks_removeBookmark:0
+basic/api/Bookmarks_removeBookmark:1
+basic/api/Bookmarks_removeBookmark:2
+basic/api/BrowserControlCanvas_addNotify:0
+basic/api/BrowserControlCanvas_getWebShell:0
+basic/api/BrowserControlCanvas_setBounds:0
+basic/api/BrowserControlCanvas_setBounds:1
+basic/api/BrowserControlCanvas_setBounds:2
+basic/api/BrowserControlCanvas_setBounds:3
+basic/api/BrowserControlCanvas_setBounds:4
+basic/api/BrowserControlCanvas_setBounds:5
+basic/api/BrowserControlCanvas_setBounds:6
+basic/api/BrowserControlCanvas_setBounds:7
+basic/api/BrowserControlCanvas_setBounds:8
+basic/api/BrowserControlCanvas_setBounds:9
+basic/api/BrowserControlCanvas_setBounds:10
+basic/api/BrowserControlCanvas_setBounds:11
+basic/api/BrowserControlCanvas_setBounds:12
+basic/api/BrowserControlCanvas_setBounds:13
+basic/api/BrowserControlCanvas_setBounds:14
+basic/api/BrowserControlCanvas_setBounds_rect:0
+basic/api/BrowserControlCanvas_setBounds_rect:1
+basic/api/CurrentPage_copyCurSel:0
+basic/api/CurrentPage_copyCurSel:1
+basic/api/CurrentPage_copyCurSel:2
+basic/api/CurrentPage_findInPage_1:0
+basic/api/CurrentPage_findInPage_1:1
+basic/api/CurrentPage_findInPage_1:2
+basic/api/CurrentPage_findInPage_1:3
+basic/api/CurrentPage_findInPage_1:4
+basic/api/CurrentPage_getCurURL:0
+basic/api/CurrentPage_getCurURL:1
+basic/api/CurrentPage_getCurURL:2
+basic/api/CurrentPage_getDOM:0
+basic/api/CurrentPage_getDOM:1
+basic/api/CurrentPage_getPageInfo:0
+basic/api/CurrentPage_getPageInfo:1
+basic/api/CurrentPage_getSource:0
+basic/api/CurrentPage_getSource:1
+basic/api/CurrentPage_getSourceBytes:0
+basic/api/CurrentPage_getSourceBytes:1
+basic/api/CurrentPage_getSourceBytes:2
+basic/api/CurrentPage_getSourceBytes:3
+basic/api/CurrentPage_resetFind:0
+basic/api/CurrentPage_resetFind:1
+basic/api/CurrentPage_resetFind:2
+basic/api/CurrentPage_selectAll:0
+basic/api/CurrentPage_selectAll:1
+basic/api/EventRegistration_addDocLoadListener_1:0
+basic/api/EventRegistration_addDocLoadListener_1:1
+basic/api/EventRegistration_addDocLoadListener_1:2
+basic/api/EventRegistration_addDocLoadListener_1:3
+basic/api/EventRegistration_addDocLoadListener_1:4
+basic/api/EventRegistration_addDocLoadListener_1:5
+basic/api/EventRegistration_addDocLoadListener_1:6
+basic/api/EventRegistration_addDocLoadListener_1:7
+basic/api/EventRegistration_addDocLoadListener_2:0
+basic/api/EventRegistration_addDocLoadListener_2:1
+basic/api/EventRegistration_addDocLoadListener_2:2
+basic/api/EventRegistration_removeDocLoadListener:0
+basic/api/EventRegistration_removeDocLoadListener:1
+basic/api/EventRegistration_removeDocLoadListener:2
+basic/api/EventRegistration_removeMouseListener_1:0
+basic/api/EventRegistration_removeMouseListener_1:1
+basic/api/EventRegistration_removeMouseListener_1:2
+basic/api/History_back_1:0
+basic/api/History_back_1:1
+basic/api/History_back_2:0
+basic/api/History_canBack_1:0
+basic/api/History_canBack_1:1
+basic/api/History_canBack_2:0
+basic/api/History_canForward_1:0
+basic/api/History_canForward_1:1
+basic/api/History_canForward_2:0
+basic/api/History_clearHistory_1:0
+basic/api/History_clearHistory_2:0
+basic/api/History_forward_1:0
+basic/api/History_forward_1:1
+basic/api/History_forward_2:0
+basic/api/History_getBackList:0
+basic/api/History_getBackList:1
+basic/api/History_getBackList:2
+basic/api/History_getBackList:3
+basic/api/History_getCurrentHistoryIndex:0
+basic/api/History_getCurrentHistoryIndex:1
+basic/api/History_getCurrentHistoryIndex:2
+basic/api/History_getCurrentHistoryIndex:3
+basic/api/History_getForwardList:0
+basic/api/History_getForwardList:1
+basic/api/History_getForwardList:2
+basic/api/History_getForwardList:3
+basic/api/History_getHistoryEntry:0
+basic/api/History_getHistoryEntry:1
+basic/api/History_getHistoryEntry:2
+basic/api/History_getHistoryEntry:3
+basic/api/History_getHistoryLength_1:0
+basic/api/History_getHistoryLength_2:0
+basic/api/History_getHistory_1:0
+basic/api/History_getHistory_2:0
+basic/api/History_getHistory_2:1
+basic/api/History_getHistory_2:2
+basic/api/History_getURLForIndex:0
+basic/api/History_getURLForIndex:1
+basic/api/History_getURLForIndex:2
+basic/api/History_getURLForIndex:3
+basic/api/History_setCurrentHistoryIndex_1:0
+basic/api/History_setCurrentHistoryIndex_1:1
+basic/api/History_setCurrentHistoryIndex_1:2
+basic/api/History_setCurrentHistoryIndex_1:3
+basic/api/History_setCurrentHistoryIndex_1:4
+basic/api/History_setCurrentHistoryIndex_2:0
+basic/api/Navigation_loadURL_1:0
+basic/api/Navigation_loadURL_1:1
+basic/api/Navigation_loadURL_2:0
+basic/api/Navigation_loadURL_2:1
+basic/api/Navigation_loadURL_2:2
+basic/api/Navigation_loadURL_3:0
+basic/api/Navigation_loadURL_3:1
+basic/api/Navigation_loadURL_3:2
+basic/api/Navigation_loadURL_3:3
+basic/api/Navigation_refresh_1:0
+basic/api/Navigation_refresh_1:1
+basic/api/Navigation_refresh_1:2
+basic/api/Navigation_refresh_2:0
+basic/api/Navigation_refresh_2:1
+basic/api/Navigation_refresh_2:2
+basic/api/Navigation_refresh_2:3
+basic/api/Navigation_stop:0
+basic/api/Navigation_stop:1
+basic/api/Navigation_stop:2
+basic/api/WindowControl_createWindow:0
+basic/api/WindowControl_createWindow:1
+basic/api/WindowControl_createWindow:2
+basic/api/WindowControl_createWindow:3
+basic/api/WindowControl_createWindow:4
+basic/api/WindowControl_getNativeWebShell
+basic/api/WindowControl_moveWindowTo:0
+basic/api/WindowControl_moveWindowTo:1
+basic/api/WindowControl_moveWindowTo:2
+basic/api/WindowControl_moveWindowTo:3
+basic/api/WindowControl_moveWindowTo:4
+basic/api/WindowControl_moveWindowTo:5
+basic/api/WindowControl_moveWindowTo:6
+basic/api/WindowControl_moveWindowTo:7
+basic/api/WindowControl_moveWindowTo:8
+basic/api/WindowControl_setBounds:0
+basic/api/WindowControl_setBounds:1
+basic/api/WindowControl_setBounds:2
+basic/api/WindowControl_setBounds:3
+basic/stress/LongBack
+basic/stress/LongLoad
diff --git a/mozilla/java/webclient/test/automated/src/run/autorun.pl b/mozilla/java/webclient/test/automated/src/run/autorun.pl
new file mode 100644
index 00000000000..8094caef38a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/run/autorun.pl
@@ -0,0 +1,636 @@
+#!/perl
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+###################################################################
+# This script is used to invoke automated test cases for Webclient API
+# and to record their results
+#
+
+# Attach Perl Libraries
+###################################################################
+use Cwd;
+use Cwd 'abs_path';
+use File::Copy;
+#For waitpid
+use POSIX ":sys_wait_h";
+
+###################################################################
+#Initialization procedure
+#
+# STILL_ALIVE is a constant defined in winbase.h and indicates what
+# process still alive
+###################################################################
+sub init() {
+ #assume, that script is placed to build/run directory
+ $depth="../..";
+ $topdir = abs_path($depth);
+ $curdir = cwd();
+ $start_date = localtime();
+ $date=$start_date;
+ $date =~ s/[ :]/_/g;
+
+ $logdir = "$topdir/log/$date";
+ mkdir($logdir, 0777);
+
+ $COMMON_LOG_FILE = "$logdir/BWTestRun.log";
+ $COMMON_RESULT_FILE = "$logdir/BWTest.txt";
+ $COMMON_RESULT_HTML_FILE = "$logdir/BWTest.html";
+
+ $TEST_LOG_FILE = "$curdir/WebclientTest.log";
+ $TEST_RESULT_FILE = "$curdir/WebclientTest.res";
+ $TEST_INIT_FILE = "$curdir/StartProperties";
+
+ $COMMON_PARAMS_FILE = "$topdir/config/CommonProperties";
+
+ $test_params_file_name = "TestProperties";
+ $runner_class = "org.mozilla.webclient.test.basic.TestRunner";
+ %params=();
+ $delimiter="###################################################\n";
+ if ($^O=~/Win32/) {
+ $STILL_ALIVE = 0x103;
+ $path_separator = ";";
+ $file_separator = "\\";
+ $JAVA="java.exe";
+ } else { #Unix systems
+ $path_separator = ":";
+ $file_separator = "\/";
+ $JAVA="java";
+ }
+ $javahome=$ENV{"JAVAHOME"};
+ unless(-f "$javahome$file_separator$JAVA") {
+ die "Can't find java executable $javahome$file_separator$JAVA";
+ }
+}
+##################################################################
+# Usage
+##################################################################
+sub usage() {
+
+ print "\n";
+ print "##################################################################\n";
+ print " perl autorun.pl [ -m ] [ -f ]\n";
+ print "\n";
+ print " where is file with test cases list.\n";
+ print "\n";
+ print "or:\n";
+ print " perl autorun.pl [ -m ] [ -t ]\n";
+ print "\n";
+ print " where is one of the test cases IDs\n";
+ print " for ex: basic/api/History_getURLForIndex:2\n";
+ print "\n";
+ print "The [ -m ] switch is used to run \"mixed\" tests.\n";
+ print "\n";
+ print "##################################################################\n";
+ print "\n";
+
+}
+
+##################################################################
+# Title display
+##################################################################
+sub title() {
+
+ print "\n";
+ print "##################################################################\n";
+ print " Automated Execution of Java Webclient TestSuite\n";
+ print "##################################################################\n";
+ print "\n";
+ print "\n";
+}
+
+#########################################################################
+#
+# Construct LogFile Header. The Log file is always appended with entries
+#
+#########################################################################
+sub constructLogHeader() {
+ print COMMON_LOG_FILE "\n";
+ print COMMON_LOG_FILE "\n";
+ print COMMON_LOG_FILE $delimiter;
+ print COMMON_LOG_FILE "Logging Test Run on $start_date ...\n";
+ print COMMON_LOG_FILE $delimiter;
+ print COMMON_LOG_FILE "\n";
+
+ print "All Log Entries are maintained in LogFile $COMMON_LOG_FILE\n";
+ print "\n";
+}
+
+#########################################################################
+#
+# Construct LogFile Footer.
+#
+#########################################################################
+sub constructLogFooter() {
+ print "\n";
+ print COMMON_LOG_FILE $delimiter;
+ $date = localtime;
+ print COMMON_LOG_FILE "End of Logging Test $date ...\n";
+ print COMMON_LOG_FILE $delimiter;
+ print "\n";
+}
+
+########################################################################
+#
+# Construct Log String
+#
+########################################################################
+sub constructLogString {
+ my $logstring = shift(@_);
+ print COMMON_LOG_FILE "$logstring\n";
+
+}
+
+#########################################################################
+#
+# Construct Output HTML file indicating status of each run
+#
+#########################################################################
+
+sub constructHTML() {
+ unless(open(LOGHTML,">$COMMON_RESULT_HTML_FILE")) {
+ print("WARNING: Can't open output HTML file\n");
+ return;
+ }
+ print LOGHTML "\n";
+ print LOGHTML "Webclient API Test Status\n";
+ print LOGHTML "\n";
+ print LOGHTML "\n";
+ print LOGHTML "Webclient API Automated TestRun Results
\n";
+ print LOGHTML "",getParam("BUILD_DESCRIPTION"),"
\n";
+ print LOGHTML "Started: ", $start_date,"
\n";
+ $date=localtime();
+ print LOGHTML "Ended: ", $date,"
\n";
+ print LOGHTML "
";
+ print LOGHTML "\n";
+ print LOGHTML "\n";
+ print LOGHTML "| Test Case | \n";
+ print LOGHTML "Result | \n";
+ print LOGHTML "Comment | \n";
+ print LOGHTML "
\n";
+ if (open(LOGTXT,$COMMON_RESULT_FILE)) {
+ my @all_lines = ;
+ close( LOGTXT ) || print "WARNING: Can't close $LOGTXT,HTML_LOG may be incorrect\n";
+ my $line;
+ foreach $line ( @all_lines ) {
+ chop $line;
+ $line=~/^(.*?=)(.*?=)(.*)$/;
+ $class = $1;
+ $status = $2;
+ $comment = $3;
+ $class =~ s/=$//g;
+ $status =~ s/=$//g;
+ $detailed_log="$class.log";
+ $detailed_log=~ s/\/|:/_/g;
+ print LOGHTML "| ",$class," | ";
+ if ($status=~/FAILED/) {
+ print LOGHTML "",$status," | \n";
+ } elsif ($status=~/UNIMPLEMENTED/) {
+ print LOGHTML "",$status," | \n";
+ } else {
+ print LOGHTML "",$status," | \n";
+ }
+ print LOGHTML "",$comment," |
\n"
+ }
+ } else {
+ print "WARNING: Can't open $LOGTXT,HTML_LOG may be incorrect\n";
+ }
+ print LOGHTML "
\n";
+}
+
+
+########################################################################
+#
+# Safely append to file : open, append, close.
+#
+########################################################################
+sub safeAppend {
+ my $file = shift(@_);
+ my $line = shift(@_);
+ open (FILE, ">>$file") or die ("Can't open $file");
+ print FILE $line;
+ close FILE;
+}
+
+########################################################################
+#
+# Loading all parameters for current testcase
+#
+########################################################################
+sub loadAllParams {
+ my $testcase = shift(@_);
+ my %params=();
+ %params = loadParams($COMMON_PARAMS_FILE,\%params);
+ %params = loadParams(getTestDir($testcase).$file_separator.$test_params_file_name,\%params);
+ return %params;
+}
+########################################################################
+#
+# Loading parameters
+#
+########################################################################
+sub loadParams {
+ my $file = shift(@_);
+ my $params = shift(@_);
+ my $key;
+ my $value;
+ open (PARAMS, "<$file") || die "ERROR: Can't open parameters file $file\n";
+ while ($pair = ) {
+ chomp($pair);
+ $pair=~s#^\s*|\s*$##g;
+ ($key,$value) = split('=', $pair);
+ $$params{$key} = $value;
+ }
+ close(PARAMS) || print "WARNING: Can't close parameters file $file\n";
+ return %$params;
+}
+########################################################################
+#
+# Getting parameter
+#
+########################################################################
+sub getParam {
+ return $params{shift(@_)};
+}
+
+########################################################################
+#
+# Getting test directory from testcase
+#
+########################################################################
+sub getTestDir {
+ my $path = shift(@_);
+ print "$path\n";
+ $path =~ s/:.*$//;
+ print "$path\n";
+ return "$topdir/build/test/$path";
+}
+########################################################################
+#
+# copy set of test parameters
+#
+########################################################################
+sub getCurrentTestArguments {
+ my $testcase = shift(@_);
+ my $num = $testcase;
+ my $tp="";
+ if (($num =~ /:/) and ($num =~ s/^.*:|\s*$//g)) {
+ my $path = getTestDir($testcase);
+ print "+++++$path+++\n";
+ my $list = "$path/Test.lst";
+ open (LST, $list) || die "ERROR: Can't open file $list\n";
+ while ($tp = ){
+ print "--$tp--$num--\n";
+ unless($tp =~ /^\s*\#/) { #Avoid comments
+ if ($tp =~ /$num:/) {
+ $tp =~ s/$num://;
+ $tp =~ s/^\s*|\s*$//g;
+ print "--Current args are: \"$tp\"\n";
+ close (LST);
+ return $tp;
+ }
+ }
+ }
+ close (LST);
+ }
+ return "";
+}
+########################################################################
+#
+# Verify results of test execution
+#
+########################################################################
+sub checkResultFile {
+ my $logstring = "";
+ my $resstring = "";
+ my $result = "";
+ if (open(TEST_RESULT, $TEST_RESULT_FILE)) {
+ $result = ;
+ chomp $result;
+ $result=~s#^\s*|\s*$##g;
+ close(TEST_RESULT) || constructLogString "WARNING: Can't close $TEST_RESULT_FILE";
+ if ($result=~/^PASSED/){
+ $resstring="$testcase=$result";
+ $logstring="PASSED due to execution result - $result";
+ } elsif ($result=~/^FAILED/){
+ $resstring="$testcase=$result";
+ $logstring="FAILED due to execution result - $result";
+ } elsif($result=~/^UNIMPLEMENTED/) {
+ $resstring="$testcase=$result";
+ $logstring="UNIMPLEMENTED due to execution result - $result";
+ }else {
+ $resstring="$testcase=FAILED=By autorun.pl. Unknown content of result file - $result";
+ $logstring="FAILED due to strnge content of result file - $result";
+ }
+ } else {
+ $resstring = "$testcase=FAILED=By autorun.pl: Can't open file with result.Test aborted or execution time so small";
+ $logstring = "FAILED by autorun.pl: Can't open file with result.Test aborted or execution time so small";
+ }
+ if (-e "$curdir/core") {
+ unless($ignorecore) {
+ $resstring = "$testcase=FAILED=By autorun.pl. Test dumped core. The result of execution was: $resstring";
+ $logstring = "FAILED by autorun.pl. Test DUMPED CORE. Original log was: $logstring";
+ }else {
+ $resstring.= " Warning: Coredump was ignored.";
+ $logstring.= " Warning: Coredump was ignored."
+ }
+ }
+ safeAppend $COMMON_RESULT_FILE, "$resstring\n";
+ constructLogString "$logstring";
+}
+########################################################################
+#
+# running one test case
+#
+########################################################################
+sub runTestCase {
+ my $testcase = shift(@_);
+ %params=loadAllParams($testcase);
+ $DELAY_EXTERNAL=getParam("DELAY_EXTERNAL");
+ $DELAY_OF_CYCLE=getParam("DELAY_OF_CYCLE");
+ if ($^O=~/Win32/) {
+ runTestCaseWin($testcase);
+ } else {
+ print "Unix systems isn't well tested now. Should be done\n";
+ runTestCaseUx($testcase);
+ }
+}
+########################################################################
+#
+# running one test case under Unix
+#
+########################################################################
+sub runTestCaseUx {
+ my $testcase = shift(@_);
+
+ print "========================================\n";
+ $logstr="Running TestCase $testcase....";
+ print "$logstr\n";
+ constructLogString "$logstr";
+
+ $nom = $testcase;
+ $nom =~ s/\/|:/_/g;
+ $testlog = "$logdir/$nom.log";
+
+ if (open( TST, ">".$TEST_INIT_FILE)) {
+ print TST "TEST_TOP_DIR=$topdir\n";
+ print TST "BROWSER_BIN_DIR=".getParam("BROWSER_BIN_DIR")."\n";
+ print TST "TEST_ID=$testcase\n";
+ print TST "TEST_ARGUMENTS=".getCurrentTestArguments($testcase);
+ close( TST) || print "WARNING: Can't close $TEST_INIT_FILE\n";
+ } else {
+ die "ERROR: Can't create $TEST_INIT_FILE $!\n";
+ }
+
+#Remove log files from previous execution
+ (-f "$TEST_LOG_FILE") && unlink("$TEST_LOG_FILE");
+ (-f "$TEST_RESULT_FILE") && unlink("$TEST_RESULT_FILE");
+ (-f "$curdir/core") && unlink("$curdir/core");
+ if (!defined($pid = fork())) {
+ die "Can't fork: $!";
+ } elsif ($pid == 0) { #Child process
+ $args="-native -Djava.library.path=".getParam("BROWSER_BIN_DIR").":".$ENV{"LD_LIBRARY_PATH"};
+ $ENV{"PATH"}=$ENV{"PATH"}.";".getParam("BROWSER_BIN_DIR");
+ print "--Starting $javahome/$JAVA $args $runner_class $modifier $TEST_INIT_FILE\n";
+ open( SAVEOUT, ">&STDOUT" ) || print "WARNING: Cann't backup STDOUT\n";
+ open( SAVEERR, ">&STDERR" ) || print "WARNING: Cann't backup STDERR\n";
+ open( STDOUT, ">$testlog" ) || print "WARNING: Cann't redirect STDOUT\n";
+ open( STDERR, ">&STDOUT" ) || print "WARNING: Cann't redirect STDOUT\n";
+ select STDERR; $|=1; select STDOUT; $|=1;
+ exec("$javahome/$JAVA $args $runner_class $modifier $TEST_INIT_FILE") or print STDERR "ERROR:cann't start $javahome/$JAVA\n";
+ die "Unfortunately exec behaviour .";
+ }
+ #Parent process
+ $cnt = 0;
+ while (true) {
+ sleep($DELAY_OF_CYCLE);
+ if (waitpid($pid,&WNOHANG)) { #If process aleady died ..
+ checkResultFile();
+ last;
+ } else { #If process is still alive
+ $cnt += $DELAY_OF_CYCLE;
+ if ( $cnt >= $DELAY_EXTERNAL) {
+ constructLogString "WARNING: Process doesn't succesfuly died. DELAY_OF_CYCLE should be increased";
+ checkResultFile();
+ kill 9, $pid;
+ sleep(1);
+ wait();# take exit code
+ last;
+ }
+ }
+ } # while with sleep
+
+ if (open(TEST_LOG, "$TEST_LOG_FILE")) {
+ while () {
+ chomp($_);
+ constructLogString $_;
+ }
+ close(TEST_LOG);
+ unlink("$TEST_LOG_FILE");
+ }
+ (-f "$TEST_RESULT_FILE") && unlink("$TEST_RESULT_FILE");
+ (-f "$TEST_INIT_FILE") && unlink("$TEST_INIT_FILE");
+
+}
+########################################################################
+#
+# running one test case under Win32
+#
+########################################################################
+
+sub runTestCaseWin {
+ my $testcase = shift(@_);
+ do 'Win32\Process.pm' || die "Can't do Win32\Process.pm $!";
+
+ print "========================================\n";
+ $logstr="Running TestCase $testcase....";
+ print "$logstr\n";
+ constructLogString "$logstr";
+
+ $nom = $testcase;
+ $nom =~ s/\/|:/_/g;
+ $testlog = "$logdir/$nom.log";
+
+ if (open( TST, ">".$TEST_INIT_FILE)) {
+ print TST "TEST_TOP_DIR=$topdir\n";
+ print TST "BROWSER_BIN_DIR=".getParam("BROWSER_BIN_DIR")."\n";
+ print TST "TEST_ID=$testcase\n";
+ print TST "TEST_ARGUMENTS=".getCurrentTestArguments($testcase);
+ close( TST) || print "WARNING: Can't close $TEST_INIT_FILE\n";
+ } else {
+ die "ERROR: Can't create $TEST_INIT_FILE $!\n";
+ }
+
+#Remove log files from previous execution
+ (-f "$TEST_LOG_FILE") && unlink("$TEST_LOG_FILE");
+ (-f "$TEST_RESULT_FILE") && unlink("$TEST_RESULT_FILE");
+
+ $args="-Djava.library.path=".getParam("BROWSER_BIN_DIR");
+ $ENV{"PATH"}=$ENV{"PATH"}.";".getParam("BROWSER_BIN_DIR");
+ print "--Starting $javahome/$JAVA $args $runner_class $modifier $TEST_INIT_FILE\n";
+ open( SAVEOUT, ">&STDOUT" ) || print "WARNING: Cann't backup STDOUT\n";
+ open( SAVEERR, ">&STDERR" ) || print "WARNING: Cann't backup STDERR\n";
+ open( STDOUT, ">$testlog" ) || print "WARNING: Cann't redirect STDOUT\n";
+ open( STDERR, ">&STDOUT" ) || print "WARNING: Cann't redirect STDOUT\n";
+ Win32::Process::Create($ProcessObj,
+ "$javahome/$JAVA",
+ "$javahome/$JAVA $args $runner_class $modifier $TEST_INIT_FILE",
+ 1,
+ NORMAL_PRIORITY_CLASS,
+ "$curdir" ) || die "ERROR:cann't start $JAVA\n";
+ close( STDOUT ) || print "WARNING: Cann't close redirected STDOUT\n";
+ close( STDERR ) || print "WARNING: Cann't close redirected STDERR\n";
+ open( STDOUT, ">&SAVEOUT" ) || print "WARNING: Cann't restore STDOUT\n";
+ open( STDERR, ">&SAVEERR" ) || print "WARNING: Cann't restore STDERR\n";
+
+ $cnt = 0;
+ while (true) {
+ sleep($DELAY_OF_CYCLE);
+ #print("Running $topdir\\utils\\Killer.exe $testlog\n");
+ system("$topdir\\utils\\Killer.exe $testlog");
+ $ProcessObj->GetExitCode($exit_code);
+ if ( $exit_code != $STILL_ALIVE ) { #If process aleady died ..
+ constructLogString "Test terminated with exit code $exit_code.";
+ checkResultFile() ;
+ #if ( (! $temp_result) or ($exit_code != 0)) {
+ last;
+ } else { #If process is still alive
+ $cnt += $DELAY_OF_CYCLE;
+ if ( $cnt >= $DELAY_EXTERNAL) {
+ checkResultFile();
+ $ProcessObj->Kill(0);
+ last;
+ }
+ }
+ } # while with sleep
+
+ if (open(TEST_LOG, "$TEST_LOG_FILE")) {
+ while () {
+ chomp($_);
+ print("Construct log string: $_");
+ constructLogString $_;
+ }
+ close(TEST_LOG);
+ unlink("$TEST_LOG_FILE");
+ }
+ (-f "$TEST_RESULT_FILE") && unlink("$TEST_RESULT_FILE");
+ (-f "$TEST_INIT_FILE") && unlink("$TEST_INIT_FILE");
+
+}
+##################################################################
+# main
+##################################################################
+
+title();
+init();
+# process command-line parameters
+# and check for valid usage
+
+$i=0;
+$modifier = "";
+$testcase = undef;
+$ignorecore = undef;
+$LST_IN = undef;
+$runtype = -1;
+while($i<=$#ARGV) {
+ if ($ARGV[$i] eq "-i") {
+ $ignorecore=1;
+ $i++;
+ next;
+ }elsif ($ARGV[$i] eq "-m") {
+ $modifier="-m";
+ if($runtype==-1) {
+ $runtype = 2;
+ $LST_IN = "BWMixedTest.lst";
+ }
+ $i++;
+ next;
+ }elsif ($ARGV[$i] eq "-t") {
+ if(defined $LST_IN) {
+ usage();
+ exit -1;
+ }
+ if(defined $ARGV[$i+1]) {
+ $testcase = $ARGV[$i+1];
+ $runtype = 1;
+ $i+=2;
+ next;
+ } else {
+ usage;
+ exit -1;
+ }
+ }elsif ($ARGV[$i] eq "-f") {
+ if(defined $testcase) {
+ usage();
+ exit -1;
+ }
+ if(defined $ARGV[$i+1]) {
+ $LST_IN = $ARGV[$i+1];
+ $runtype = 2;
+ $i+=2;
+ next;
+ } else {
+ usage;
+ exit -1;
+ }
+ }else {
+ usage();
+ exit -1;
+ }
+}
+if($runtype==-1) {
+ $modifier = "";
+ $testcase = "";
+ $LST_IN = "BWTest.lst";
+ $runtype = 2;
+}
+
+# Prepare TXT log stream
+open( COMMON_LOG_FILE, ">$COMMON_LOG_FILE" ) || die("ERROR: Can't open $COMMON_LOG_FILE file... $!\n");
+select COMMON_LOG_FILE; $| = 1; select STDOUT;
+
+constructLogHeader();
+
+if ($runtype == 1){
+ runTestCase($testcase);
+} else {
+ (-f $LST_IN ) or die "ERROR: File $LST_IN doesn't exist";
+ open( LST_IN, $LST_IN ) || die("ERROR: Can't open $LST_IN...\n");
+ while( $testcase = ) {
+ chomp $testcase;
+ $testcase=~s#^\s*|\s*$##g;
+ if ( ($testcase =~ /^\s*#/)||($testcase eq "")) {
+ next;
+ }
+ runTestCase($testcase);
+ }
+}
+
+constructLogFooter();
+constructHTML();
+chdir($curdir);
+
+
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/run/forceful.pl b/mozilla/java/webclient/test/automated/src/run/forceful.pl
new file mode 100644
index 00000000000..24b3a5c12b1
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/run/forceful.pl
@@ -0,0 +1,101 @@
+#!/perl
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code is mozilla.org code.
+#
+# The Initial Developer of the Original Code is Sun Microsystems,
+# Inc. Portions created by Sun are
+# Copyright (C) 1999 Sun Microsystems, Inc. All
+# Rights Reserved.
+#
+# Contributor(s):
+
+###################################################################
+# This script is used to reinforced testing of Webclient API.
+# It invokes autorun.pl script a several times and then compare
+# results.
+# Webclient M4 isn't stable under Solaris and this tool can be used
+# to get more truthfull results
+
+
+##################################################################
+# Usage
+##################################################################
+sub usage() {
+
+ print "\n";
+ print "##################################################################\n";
+ print " Usage: perl forceful.pl n -o \n";
+ print "\n";
+ print " where n is number between 2 and 9 (2 <= n <= 9)\n\n";
+ print " is file for writing comarison table\n\n";
+ print " and are valid autorun.pl script arguments.\n";
+ print "\n";
+ print "##################################################################\n";
+ print "\n";
+}
+
+##################################################################
+# Main
+##################################################################
+
+unless (($#ARGV !=-1)&&($ARGV[0]=~/[2-9]/)&&($ARGV[1] eq "-o")) {
+ usage();
+ exit -1;
+}
+# Declare
+$DEPTH="../..";
+$repeat="";
+$autorun_args="";
+%logs;
+
+
+
+
+$repeat=shift @ARGV;
+$output_file = shift @ARGV; #avoid -o switch
+$output_file = shift @ARGV; #avoid -o switch
+$autorun_args = join(" ",@ARGV);
+%logs=split(/,/,join(",1,",<$DEPTH/log/*>).",1");
+while($repeat>0) {
+ print "$autorun_args \n";
+ system("perl autorun.pl $autorun_args");
+ $repeat--;
+}
+%new_logs=split(/,/,join(",1,",<$DEPTH/log/*>).",1");
+$logcount=0;
+foreach $logdir (keys %new_logs) {
+ unless(defined($logs{$logdir})) {
+ print "Unique: $logdir -------- $logs{$logdir}\n";
+ if(-f "$logdir/BWTest.txt") {
+ $logfiles[$logcount] = "$logdir/BWTest.txt";
+ $logcount++;
+ }
+ }
+}
+if($#logfiles<=0) {
+ print "Error. Aren't enouth logs for creating diff\n";
+ exit -1;
+}
+
+print "Execute perl $DEPTH/utils/compare.pl -b -o $output_file ".join(" ",@logfiles);
+system("perl $DEPTH/utils/compare.pl -b -o $output_file ".join(" ",@logfiles));
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/Waiting.cgi b/mozilla/java/webclient/test/automated/src/test/basic/Waiting.cgi
new file mode 100644
index 00000000000..f9ad80fee70
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/Waiting.cgi
@@ -0,0 +1,7 @@
+#!/perl
+
+print "Content-type: text/html\n\n";
+print "";
+print "This script waits X0 seconds";
+sleep (20);
+print "";
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_children/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_children/Test.lst
new file mode 100644
index 00000000000..fe573329490
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_children/Test.lst
@@ -0,0 +1,3 @@
+0:0
+1:1
+2:2
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_children/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_children/TestProperties
new file mode 100644
index 00000000000..68058828021
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_children/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_children
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getAllowsChildren/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getAllowsChildren/Test.lst
new file mode 100644
index 00000000000..fed8b022ee4
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getAllowsChildren/Test.lst
@@ -0,0 +1,4 @@
+0:0
+1:1
+2:2
+3:3
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getAllowsChildren/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getAllowsChildren/TestProperties
new file mode 100644
index 00000000000..a3879460242
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getAllowsChildren/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_getAllowsChildren
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildAt/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildAt/Test.lst
new file mode 100644
index 00000000000..ed258eaf615
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildAt/Test.lst
@@ -0,0 +1,5 @@
+0:0,1
+1:1,1
+2:2,1
+3:3,
+4:4,
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildAt/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildAt/TestProperties
new file mode 100644
index 00000000000..6353a249759
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildAt/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_getChildAt
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildCount/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildCount/Test.lst
new file mode 100644
index 00000000000..fe573329490
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildCount/Test.lst
@@ -0,0 +1,3 @@
+0:0
+1:1
+2:2
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildCount/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildCount/TestProperties
new file mode 100644
index 00000000000..b7258cfab9f
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getChildCount/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_getChildCount
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getIndex/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getIndex/Test.lst
new file mode 100644
index 00000000000..f21a319719c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getIndex/Test.lst
@@ -0,0 +1,5 @@
+0:0
+1:1
+2:2
+3:3
+4:4
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getIndex/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getIndex/TestProperties
new file mode 100644
index 00000000000..881e0ab059e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getIndex/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_getIndex
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getParent/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getParent/Test.lst
new file mode 100644
index 00000000000..fed8b022ee4
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getParent/Test.lst
@@ -0,0 +1,4 @@
+0:0
+1:1
+2:2
+3:3
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getParent/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getParent/TestProperties
new file mode 100644
index 00000000000..1f7115e60bd
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getParent/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_getParent
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getProperties/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getProperties/Test.lst
new file mode 100644
index 00000000000..fe573329490
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getProperties/Test.lst
@@ -0,0 +1,3 @@
+0:0
+1:1
+2:2
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getProperties/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getProperties/TestProperties
new file mode 100644
index 00000000000..4560d6a41bd
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_getProperties/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_getProperties
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_insert/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_insert/Test.lst
new file mode 100644
index 00000000000..08ca9c6ba54
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_insert/Test.lst
@@ -0,0 +1,5 @@
+0:0,1
+1:1,1
+2:2,0
+3:3,
+4:4,
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_insert/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_insert/TestProperties
new file mode 100644
index 00000000000..954ab613503
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_insert/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_insert
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isFolder/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isFolder/Test.lst
new file mode 100644
index 00000000000..fed8b022ee4
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isFolder/Test.lst
@@ -0,0 +1,4 @@
+0:0
+1:1
+2:2
+3:3
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isFolder/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isFolder/TestProperties
new file mode 100644
index 00000000000..875e15fa11d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isFolder/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_isFolder
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isLeaf/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isLeaf/Test.lst
new file mode 100644
index 00000000000..39db799ea43
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isLeaf/Test.lst
@@ -0,0 +1,2 @@
+0:0
+1:1
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isLeaf/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isLeaf/TestProperties
new file mode 100644
index 00000000000..5f867002504
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_isLeaf/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_isLeaf
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_removeFromParent/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_removeFromParent/Test.lst
new file mode 100644
index 00000000000..39db799ea43
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_removeFromParent/Test.lst
@@ -0,0 +1,2 @@
+0:0
+1:1
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_removeFromParent/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_removeFromParent/TestProperties
new file mode 100644
index 00000000000..3e0911856eb
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_removeFromParent/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_removeFromParent
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_1/Test.lst
new file mode 100644
index 00000000000..49b585149a3
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_1/Test.lst
@@ -0,0 +1,4 @@
+0:0,1
+1:1,0
+2:2,
+3:3,
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_1/TestProperties
new file mode 100644
index 00000000000..482483190af
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_1/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_remove_1
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_2/Test.lst
new file mode 100644
index 00000000000..39db799ea43
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_2/Test.lst
@@ -0,0 +1,2 @@
+0:0
+1:1
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_2/TestProperties
new file mode 100644
index 00000000000..82090c13c23
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_remove_2/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_remove_2
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setParent/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setParent/Test.lst
new file mode 100644
index 00000000000..39db799ea43
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setParent/Test.lst
@@ -0,0 +1,2 @@
+0:0
+1:1
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setParent/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setParent/TestProperties
new file mode 100644
index 00000000000..2317630bef8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setParent/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_setParent
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setUserObject/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setUserObject/Test.lst
new file mode 100644
index 00000000000..39db799ea43
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setUserObject/Test.lst
@@ -0,0 +1,2 @@
+0:0
+1:1
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setUserObject/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setUserObject/TestProperties
new file mode 100644
index 00000000000..8a3e87126d4
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BookmarkEntry_setUserObject/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BookmarkEntry_setUserObject
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_addBookmark/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_addBookmark/Test.lst
new file mode 100644
index 00000000000..47f4e816f6e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_addBookmark/Test.lst
@@ -0,0 +1,6 @@
+0:0,folder_name
+1:1,name
+2:0,null
+3:1,null
+4:0,
+5:1,
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_addBookmark/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_addBookmark/TestProperties
new file mode 100644
index 00000000000..44c62b672ad
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_addBookmark/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Bookmarks_addBookmark
+TEST_ID=basic/api/Bookmarks_addBookmark
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_getBookmarks/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_getBookmarks/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_getBookmarks/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_getBookmarks/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_getBookmarks/TestProperties
new file mode 100644
index 00000000000..012879d524e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_getBookmarks/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Bookmarks_getBookmarks
+TEST_ID=basic/api/Bookmarks_getBookmarks
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkEntry/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkEntry/Test.lst
new file mode 100644
index 00000000000..924a0aa020c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkEntry/Test.lst
@@ -0,0 +1,3 @@
+0:http://java.sun.com
+1:null
+2:
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkEntry/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkEntry/TestProperties
new file mode 100644
index 00000000000..9c485c386c0
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkEntry/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Bookmarks_newBookmarkEntry
+TEST_ID=basic/api/Bookmarks_newBookmarksEntry
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkFolder/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkFolder/Test.lst
new file mode 100644
index 00000000000..a7b71e2e89e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkFolder/Test.lst
@@ -0,0 +1,3 @@
+0:folder_name
+1:null
+2:
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkFolder/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkFolder/TestProperties
new file mode 100644
index 00000000000..e94e21929d6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_newBookmarkFolder/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Bookmarks_newBookmarkFolder
+TEST_ID=basic/api/Bookmarks_newBookmarksFolder
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_removeBookmark/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_removeBookmark/Test.lst
new file mode 100644
index 00000000000..c041d418b32
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_removeBookmark/Test.lst
@@ -0,0 +1,3 @@
+0:null
+1:exist
+2:unexist
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_removeBookmark/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_removeBookmark/TestProperties
new file mode 100644
index 00000000000..c286b171e5d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Bookmarks_removeBookmark/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Bookmarks_removeBookmark
+TEST_ID=basic/api/Bookmarks_removeBookmark
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_addNotify/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_addNotify/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_addNotify/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_addNotify/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_addNotify/TestProperties
new file mode 100644
index 00000000000..567c0467111
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_addNotify/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BrowserControlCanvas_addNotify
+TEST_ID=basic/api/BrowserControlCanvas_addNotify
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_getWebShell/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_getWebShell/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_getWebShell/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_getWebShell/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_getWebShell/TestProperties
new file mode 100644
index 00000000000..46ce57f5c14
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_getWebShell/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BrowserControlCanvas_getWebShell
+TEST_ID=basic/api/BrowserControlCanvas_getWebShell
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds/Test.lst
new file mode 100644
index 00000000000..b0263ccc6ed
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds/Test.lst
@@ -0,0 +1,15 @@
+0:4,23,1000,700
+1:,5,200,200
+2:,5,200,200
+3:0,5,200,200
+4:5,,200,200
+5:5,,200,200
+6:5,0,200,200
+7:5,5,,200
+8:5,5,,200
+9:5,5,0,200
+10:5,5,200,
+11:5,5,200,
+12:5,5,200,0
+13:0,0,0,0
+14:200,10,100,300
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds/TestProperties
new file mode 100644
index 00000000000..d719bfe7912
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BrowserControlCanvas_setBounds
+TEST_ID=basic/api/BrowserControlCanvas_setBounds
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds_rect/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds_rect/Test.lst
new file mode 100644
index 00000000000..a94227d66b0
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds_rect/Test.lst
@@ -0,0 +1,2 @@
+0:4,23,1000,700
+1:0,0,0,0
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds_rect/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds_rect/TestProperties
new file mode 100644
index 00000000000..574131158f5
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/BrowserControlCanvas_setBounds_rect/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.BrowserControlCanvas_setBounds_rect
+TEST_ID=basic/api/BrowserControlCanvas_setBounds_rect
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_copyCurSel/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_copyCurSel/Test.lst
new file mode 100644
index 00000000000..cb5c5741ac3
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_copyCurSel/Test.lst
@@ -0,0 +1,3 @@
+0:0, null
+1:1,/test/basic/bastest1.html
+2:2,/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_copyCurSel/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_copyCurSel/TestProperties
new file mode 100644
index 00000000000..71c25b1b393
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_copyCurSel/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_copyCurSel
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_findInPage_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_findInPage_1/Test.lst
new file mode 100644
index 00000000000..e95be040a5c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_findInPage_1/Test.lst
@@ -0,0 +1,5 @@
+0:0,/test/basic/bastest1.html
+1:1,/test/basic/bastest1.html
+2:2,/test/basic/bastest1.html
+3:3,null
+4:4,/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_findInPage_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_findInPage_1/TestProperties
new file mode 100644
index 00000000000..6778f4bed2f
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_findInPage_1/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_findInPage_1
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getCurURL/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getCurURL/Test.lst
new file mode 100644
index 00000000000..26b4f0be843
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getCurURL/Test.lst
@@ -0,0 +1,3 @@
+0:0,/test/basic/bastest1.html,/test/basic/bastest1.html
+1:1,/test/basic/bastest1.html,/test/basic/Waiting.cgi
+2:2,null,null
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getCurURL/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getCurURL/TestProperties
new file mode 100644
index 00000000000..2aef45e4eb3
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getCurURL/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_getCurURL
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getDOM/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getDOM/Test.lst
new file mode 100644
index 00000000000..a826b902404
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getDOM/Test.lst
@@ -0,0 +1,2 @@
+0:null
+1:/test/basic/bastest2.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getDOM/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getDOM/TestProperties
new file mode 100644
index 00000000000..493cffe8f53
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getDOM/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_getDOM
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getPageInfo/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getPageInfo/Test.lst
new file mode 100644
index 00000000000..63d93cc7d44
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getPageInfo/Test.lst
@@ -0,0 +1,3 @@
+0:0,null
+1:1,/test/basic/bastest1.html
+
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getPageInfo/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getPageInfo/TestProperties
new file mode 100644
index 00000000000..8fdbc04a078
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getPageInfo/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_getPageInfo
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSource/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSource/Test.lst
new file mode 100644
index 00000000000..a826b902404
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSource/Test.lst
@@ -0,0 +1,2 @@
+0:null
+1:/test/basic/bastest2.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSource/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSource/TestProperties
new file mode 100644
index 00000000000..0e2e124939a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSource/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_getSource
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSourceBytes/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSourceBytes/Test.lst
new file mode 100644
index 00000000000..cd4abe37454
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSourceBytes/Test.lst
@@ -0,0 +1,4 @@
+0:null,true
+1:/test/basic/bastest2.html,true
+2:null,false
+3:/test/basic/bastest2.html,false
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSourceBytes/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSourceBytes/TestProperties
new file mode 100644
index 00000000000..d7bdbfb385c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_getSourceBytes/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_getSourceBytes
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_resetFind/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_resetFind/Test.lst
new file mode 100644
index 00000000000..7b5b6a1a479
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_resetFind/Test.lst
@@ -0,0 +1,3 @@
+0:0, null
+1:1,/test/basic/bastest2.html
+2:2,/test/basic/bastest2.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_resetFind/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_resetFind/TestProperties
new file mode 100644
index 00000000000..0b1b5016e31
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_resetFind/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_resetFind
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_selectAll/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_selectAll/Test.lst
new file mode 100644
index 00000000000..25f07010375
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_selectAll/Test.lst
@@ -0,0 +1,2 @@
+0:0, null
+1:1,/test/basic/bastest2.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_selectAll/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_selectAll/TestProperties
new file mode 100644
index 00000000000..de5892990df
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/CurrentPage_selectAll/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.CurrentPage_selectAll
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_1/Test.lst
new file mode 100644
index 00000000000..05fd526b285
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_1/Test.lst
@@ -0,0 +1,8 @@
+0:0,START_DOCUMENT_LOAD_EVENT_MASK,/test/basic/bastest1.html
+1:1,END_DOCUMENT_LOAD_EVENT_MASK,/test/basic/bastest1.html
+2:2,START_URL_LOAD_EVENT_MASK,www.mozilla.org
+3:3,END_URL_LOAD_EVENT_MASK,www.mozilla.org
+4:4,PROGRESS_URL_LOAD_EVENT_MASK,www.mozilla.org
+5:5,STATUS_URL_LOAD_EVENT_MASK,www.mozilla.org
+6:6,UNKNOWN_CONTENT_EVENT_MASK,/test/basic/bastest11.html
+7:7,FETCH_INTERRUPT_EVENT_MASK,www.mozilla.org
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_1/TestProperties
new file mode 100644
index 00000000000..2c11db30b14
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_1/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.EventRegistration_addDocLoadListener_1
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_2/Test.lst
new file mode 100644
index 00000000000..756ebb1047d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_2/Test.lst
@@ -0,0 +1,3 @@
+0:0,/test/basic/bastest1.html
+1:1,/test/basic/bastest1.html
+2:2,/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_2/TestProperties
new file mode 100644
index 00000000000..0a7e9e7494b
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_addDocLoadListener_2/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.EventRegistration_addDocLoadListener_2
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeDocLoadListener/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeDocLoadListener/Test.lst
new file mode 100644
index 00000000000..756ebb1047d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeDocLoadListener/Test.lst
@@ -0,0 +1,3 @@
+0:0,/test/basic/bastest1.html
+1:1,/test/basic/bastest1.html
+2:2,/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeDocLoadListener/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeDocLoadListener/TestProperties
new file mode 100644
index 00000000000..7a860bb8063
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeDocLoadListener/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.EventRegistration_removeDocLoadListener
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeMouseListener_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeMouseListener_1/Test.lst
new file mode 100644
index 00000000000..756ebb1047d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeMouseListener_1/Test.lst
@@ -0,0 +1,3 @@
+0:0,/test/basic/bastest1.html
+1:1,/test/basic/bastest1.html
+2:2,/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeMouseListener_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeMouseListener_1/TestProperties
new file mode 100644
index 00000000000..2436985d5e9
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/EventRegistration_removeMouseListener_1/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.EventRegistration_removeMouseListener_1
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_1/Test.lst
new file mode 100644
index 00000000000..30adbb44036
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_1/Test.lst
@@ -0,0 +1,2 @@
+0:0
+1:2
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_1/TestProperties
new file mode 100644
index 00000000000..26beef0c04c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_1/TestProperties
@@ -0,0 +1,4 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_back
+TEST_ID=basic/api/History_back_1
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
+#PAGES_TO_LOAD=http://earth:11111,http://sirius,http://router,http://dubhe
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_2/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_2/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_2/TestProperties
new file mode 100644
index 00000000000..0d6a1548080
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_back_2/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_back
+TEST_ID=basic/api/History_back_2
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_1/Test.lst
new file mode 100644
index 00000000000..9261051442a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_1/Test.lst
@@ -0,0 +1,2 @@
+0:2
+1:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_1/TestProperties
new file mode 100644
index 00000000000..c169c60e530
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_1/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_canBack
+TEST_ID=basic/api/History_canBack_1
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_2/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_2/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_2/TestProperties
new file mode 100644
index 00000000000..1a0bb05b4ff
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canBack_2/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_canBack
+TEST_ID=basic/api/History_canBack_2
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_1/Test.lst
new file mode 100644
index 00000000000..7110a9014d0
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_1/Test.lst
@@ -0,0 +1,2 @@
+0:2
+1:3
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_1/TestProperties
new file mode 100644
index 00000000000..76246dcd5d6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_1/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_canForward
+TEST_ID=basic/api/History_canForward_1
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_2/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_2/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_2/TestProperties
new file mode 100644
index 00000000000..7ceb28ddcbc
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_canForward_2/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_canForward
+TEST_ID=basic/api/History_canForward_2
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_1/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_1/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_1/TestProperties
new file mode 100644
index 00000000000..8fc9d315261
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_1/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_clearHistory
+TEST_ID=basic/api/History_clearHistory_1
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_2/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_2/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_2/TestProperties
new file mode 100644
index 00000000000..ed9fb6ba052
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_clearHistory_2/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_clearHistory
+TEST_ID=basic/api/History_clearHistory_2
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_1/Test.lst
new file mode 100644
index 00000000000..5fca45b4cfd
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_1/Test.lst
@@ -0,0 +1,2 @@
+0:3
+1:1
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_1/TestProperties
new file mode 100644
index 00000000000..9d3ab7c0fc6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_1/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_forward
+TEST_ID=basic/api/History_forward_1
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_2/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_2/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_2/TestProperties
new file mode 100644
index 00000000000..11f28eb42c6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_forward_2/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_forward
+TEST_ID=basic/api/History_forward_2
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getBackList/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getBackList/Test.lst
new file mode 100644
index 00000000000..40f8ff71fbe
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getBackList/Test.lst
@@ -0,0 +1,4 @@
+0:0
+1:1
+2:3
+3:-1
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getBackList/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getBackList/TestProperties
new file mode 100644
index 00000000000..f54435d9904
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getBackList/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getBackList
+TEST_ID=basic/api/History_getBackList
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html,/test/basic/bastest5.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getCurrentHistoryIndex/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getCurrentHistoryIndex/Test.lst
new file mode 100644
index 00000000000..2562f86c6d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getCurrentHistoryIndex/Test.lst
@@ -0,0 +1,5 @@
+0:0
+1:3
+2:2
+3:-1
+
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getCurrentHistoryIndex/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getCurrentHistoryIndex/TestProperties
new file mode 100644
index 00000000000..4e36357682a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getCurrentHistoryIndex/TestProperties
@@ -0,0 +1,4 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getCurrentHistoryIndex
+TEST_ID=basic/api/History_getCurrentHistoryIndex
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html,/test/basic/bastest5.html
+#PAGES_TO_LOAD=http://earth:11111,http://sirius,http://router,http://dubhe
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getForwardList/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getForwardList/Test.lst
new file mode 100644
index 00000000000..736ef4fb4a6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getForwardList/Test.lst
@@ -0,0 +1,4 @@
+0:4
+1:3
+2:1
+3:-1
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getForwardList/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getForwardList/TestProperties
new file mode 100644
index 00000000000..25035d5b108
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getForwardList/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getForwardList
+TEST_ID=basic/api/History_getForwardList
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html,/test/basic/bastest5.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryEntry/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryEntry/Test.lst
new file mode 100644
index 00000000000..3092435058a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryEntry/Test.lst
@@ -0,0 +1,4 @@
+0:
+1:
+2:0
+3:2
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryEntry/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryEntry/TestProperties
new file mode 100644
index 00000000000..c507680be5f
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryEntry/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getHistoryEntry
+TEST_ID=basic/api/History_getHistoryEntry
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_1/Test.lst
new file mode 100644
index 00000000000..f98be3258f4
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_1/Test.lst
@@ -0,0 +1 @@
+0:4
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_1/TestProperties
new file mode 100644
index 00000000000..6803fe10660
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_1/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getHistoryLength
+TEST_ID=basic/api/History_getHistoryLength
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_2/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_2/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_2/TestProperties
new file mode 100644
index 00000000000..7143676b48e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistoryLength_2/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getHistoryLength
+TEST_ID=basic/api/History_getHistoryLength_2
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_1/Test.lst
new file mode 100644
index 00000000000..8f38db999d8
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_1/Test.lst
@@ -0,0 +1 @@
+0:0
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_1/TestProperties
new file mode 100644
index 00000000000..87fd7ab3ecc
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_1/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getHistory
+TEST_ID=basic/api/History_getHistory_1
+PAGES_TO_LOAD=/test/basic/bastest1.html
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_2/Test.lst
new file mode 100644
index 00000000000..58a04830ce5
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_2/Test.lst
@@ -0,0 +1,3 @@
+0:1
+1:2
+2:3
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_2/TestProperties
new file mode 100644
index 00000000000..fbf474aa67c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getHistory_2/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getHistory
+TEST_ID=basic/api/History_getHistory_2
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html,/test/basic/bastest5.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/History_getURLForIndex.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/History_getURLForIndex.lst
new file mode 100644
index 00000000000..31f55fdea19
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/History_getURLForIndex.lst
@@ -0,0 +1,4 @@
+1:
+2:
+3:0
+4:3
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/Test.lst
new file mode 100644
index 00000000000..3092435058a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/Test.lst
@@ -0,0 +1,4 @@
+0:
+1:
+2:0
+3:2
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/TestProperties
new file mode 100644
index 00000000000..5e4a6ff9d2a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_getURLForIndex/TestProperties
@@ -0,0 +1,4 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_getURLForIndex
+TEST_ID=basic/api/History_getURLForIndex
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html
+
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_1/Test.lst
new file mode 100644
index 00000000000..f5cea6b20ae
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_1/Test.lst
@@ -0,0 +1,5 @@
+0:
+1:
+2:0
+3:2
+4:3
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_1/TestProperties
new file mode 100644
index 00000000000..33b10e65c04
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_1/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_setCurrentHistoryIndex
+TEST_ID=basic/api/History_setCurrentHistoryIndex_1
+PAGES_TO_LOAD=/test/basic/bastest1.html,/test/basic/bastest2.html,/test/basic/bastest3.html,/test/basic/bastest4.html
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_2/Test.lst
new file mode 100644
index 00000000000..6f8616ee376
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_2/Test.lst
@@ -0,0 +1 @@
+0:0
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_2/TestProperties
new file mode 100644
index 00000000000..737b91b62aa
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/History_setCurrentHistoryIndex_2/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.History_setCurrentHistoryIndex
+TEST_ID=basic/api/History_setCurrentHistoryIndex_2
+PAGES_TO_LOAD=
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadFromStream/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadFromStream/Test.lst
new file mode 100644
index 00000000000..f21a319719c
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadFromStream/Test.lst
@@ -0,0 +1,5 @@
+0:0
+1:1
+2:2
+3:3
+4:4
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadFromStream/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadFromStream/TestProperties
new file mode 100644
index 00000000000..768c0847dc2
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadFromStream/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Navigation_loadFromStream
+PAGES_TO_LOAD=
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_1/Test.lst
new file mode 100644
index 00000000000..2f132fcd309
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_1/Test.lst
@@ -0,0 +1,3 @@
+0:0
+1:1
+
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_1/TestProperties
new file mode 100644
index 00000000000..f80f34e840e
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_1/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Navigation_loadURL_1
+PAGES_TO_LOAD=
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_2/Test.lst
new file mode 100644
index 00000000000..b9da49801a6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_2/Test.lst
@@ -0,0 +1,3 @@
+0:0,/test/basic/bastest1.html,null
+1:1,/test/basic/bastest1.html,/test/basic/bastest2.html
+2:2,/test/basic/Waiting.cgi,/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_2/TestProperties
new file mode 100644
index 00000000000..0915c71e52f
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_2/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Navigation_loadURL_2
+PAGES_TO_LOAD=
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_3/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_3/Test.lst
new file mode 100644
index 00000000000..ab83724e168
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_3/Test.lst
@@ -0,0 +1,4 @@
+0:0,/test/basic/bastest1.html
+1:1,
+2:2,
+3:3,tcpip://router
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_3/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_3/TestProperties
new file mode 100644
index 00000000000..ce88bcb0d3a
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_loadURL_3/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Navigation_loadURL_3
+PAGES_TO_LOAD=
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_1/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_1/Test.lst
new file mode 100644
index 00000000000..f75dda988c1
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_1/Test.lst
@@ -0,0 +1,4 @@
+0:0,null,/test/basic/bastest1.html
+1:1,/test/basic/bastest1.html,/test/basic/Waiting.cgi
+2:2,/test/basic/bastest1.html,/test/basic/bastest1.html
+
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_1/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_1/TestProperties
new file mode 100644
index 00000000000..f2eacf8b8a4
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_1/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Navigation_refresh_1
+PAGES_TO_LOAD=
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_2/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_2/Test.lst
new file mode 100644
index 00000000000..828054577bc
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_2/Test.lst
@@ -0,0 +1,4 @@
+0:0
+1:512
+2:-9223372036854775808
+3:9223372036854775807
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_2/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_2/TestProperties
new file mode 100644
index 00000000000..9cd37eecbea
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_refresh_2/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Navigation_refresh_2
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_stop/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_stop/Test.lst
new file mode 100644
index 00000000000..3c63fa38f90
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_stop/Test.lst
@@ -0,0 +1,3 @@
+0:0,null,/test/basic/bastest1.html
+1:1,/test/basic/bastest1.html,/test/basic/bastest1.html
+2:2,/test/basic/bastest1.html,/test/basic/Waiting.cgi
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_stop/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_stop/TestProperties
new file mode 100644
index 00000000000..0b04169fea7
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/Navigation_stop/TestProperties
@@ -0,0 +1,2 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.Navigation_stop
+PAGES_TO_LOAD=
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_createWindow/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_createWindow/Test.lst
new file mode 100644
index 00000000000..f3c99176534
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_createWindow/Test.lst
@@ -0,0 +1,5 @@
+0:well|100|100|300|400
+1:well|null
+2:0|100|100|300|400
+3:|100|100|300|400
+4:|100|100|300|400
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_createWindow/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_createWindow/TestProperties
new file mode 100644
index 00000000000..fff9912efb6
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_createWindow/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.WindowControl_createWindow
+TEST_ID=basic/api/WindowControl_createWindow
+PAGES_TO_LOAD=/test/basic/bastest1.html
\ No newline at end of file
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_getNativeWebShell/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_getNativeWebShell/TestProperties
new file mode 100644
index 00000000000..7a14d763e7d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_getNativeWebShell/TestProperties
@@ -0,0 +1,3 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.WindowControl_getNativeWebShell
+TEST_ID=basic/api/WindowControl_getNativeWebShell
+PAGES_TO_LOAD=/test/basic/bastest1.html
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_moveWindowTo/Test.lst b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_moveWindowTo/Test.lst
new file mode 100644
index 00000000000..745a652dc6d
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_moveWindowTo/Test.lst
@@ -0,0 +1,9 @@
+0:,100
+1:,100
+2:100,
+3:100,
+4:-1,100
+5:100,-1
+6:0,0
+7:100,100
+8:9000,9000
diff --git a/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_moveWindowTo/TestProperties b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_moveWindowTo/TestProperties
new file mode 100644
index 00000000000..5d605288ff9
--- /dev/null
+++ b/mozilla/java/webclient/test/automated/src/test/basic/api/WindowControl_moveWindowTo/TestProperties
@@ -0,0 +1,4 @@
+TEST_CLASS=org.mozilla.webclient.test.basic.api.WindowControl_moveWindowTo
+TEST_ID=basic/api/WindowControl_moveWindowTo
+PAGES_TO_LOAD=