diff --git a/mozilla/java/webclient/test/manual/README b/mozilla/java/webclient/test/manual/README new file mode 100644 index 00000000000..458d024a0b6 --- /dev/null +++ b/mozilla/java/webclient/test/manual/README @@ -0,0 +1,30 @@ + Webclient manual testbase. + +1. How to build. + + Before building of manual testbase you need to edit + CommonProperties config file (/config/CommonProperties). + Please change HTML_ROOT, HTML_ROOT_DIR, CGI_BIN_ROOT, CGI_BIN_ROOT_DIR + properties to your values. This config file is self documented + and contain example values. + + After that please cd to the TOP_MANUAL/build directory and do make + +2. Requirements. + + To use manual testbase you need a HTTP server. Please + configure and run this server before building. Testbase + was verified on Apache/1.3.1 (Unix) and JavaWebServer2.0 + (sparc, Solaris 2.6). + + Also you need to build Mozilla and webclient. + +3. How to use. + + After performing step 1 and 2 + run webclient (i.e cd to /mozilla/java/webclient/src_moz + runem http://sunweb.central or whatever ) + and perform the following steps: + - load $(HTML_ROOT)/manual/index.html. + - select the subset of tests to execute + - execute tests and see the log of execution diff --git a/mozilla/java/webclient/test/manual/build/Makefile b/mozilla/java/webclient/test/manual/build/Makefile new file mode 100644 index 00000000000..df5a77418ac --- /dev/null +++ b/mozilla/java/webclient/test/manual/build/Makefile @@ -0,0 +1,68 @@ +# 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=.. +SRC=$(DEPTH)/src +CONFIG=$(DEPTH)/config/ +UTILS=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CLASSES=$(BUILD_DIR)/classes +include html.list +include $(CONFIG)/CommonProperties + +all: html cgi lst classes + +html: images + @echo Proceed HTML files ... + @for i in $(HTML_LIST) ;do \ + perl $(UTILS)/configurator.pl $(CONFIG)/CommonProperties $(HTML_ROOT_DIR)/$${i} $(SRC)/html/$${i} ; \ + done + @echo Creating chkbox group in $(START_HTML) ... + @perl $(UTILS)/lst_gen.pl $(HTML_ROOT_DIR)/$(START_HTML) $(CONFIG)/$(LST_FILE) + +images: + @echo Copy images ... + @mkdir -p $(HTML_ROOT_DIR)/log + @mkdir -p $(HTML_ROOT_DIR)/images + @cp -f $(SRC)/images/*.gif $(HTML_ROOT_DIR)/images + +cgi: + @echo Proceed CGI scripts ... + @perl $(UTILS)/configurator.pl $(CONFIG)/CommonProperties $(CGI_BIN_ROOT_DIR)/results.cgi $(SRC)/cgi/results.cgi + @chmod a+x $(CGI_BIN_ROOT_DIR)/results.cgi + @perl $(UTILS)/configurator.pl $(CONFIG)/CommonProperties $(CGI_BIN_ROOT_DIR)/start.cgi $(SRC)/cgi/start.cgi + @chmod a+x $(CGI_BIN_ROOT_DIR)/start.cgi + @perl $(UTILS)/configurator.pl $(CONFIG)/CommonProperties $(CGI_BIN_ROOT_DIR)/finish.cgi $(SRC)/cgi/finish.cgi + @chmod a+x $(CGI_BIN_ROOT_DIR)/finish.cgi + @perl $(UTILS)/configurator.pl $(CONFIG)/CommonProperties $(CGI_BIN_ROOT_DIR)/stop.cgi $(SRC)/cgi/stop.cgi + @chmod a+x $(CGI_BIN_ROOT_DIR)/stop.cgi + +lst: + @echo Copy list file ... + @cp -f $(CONFIG)/WebClientTests.lst $(CGI_BIN_ROOT_DIR) + +classes:: + @echo Making classes ... + @cd $(CLASSES);$(MAKE) + + + + + diff --git a/mozilla/java/webclient/test/manual/build/Makefile.win b/mozilla/java/webclient/test/manual/build/Makefile.win new file mode 100644 index 00000000000..8ad4adafee1 --- /dev/null +++ b/mozilla/java/webclient/test/manual/build/Makefile.win @@ -0,0 +1,86 @@ +#!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=.. +SRC=$(DEPTH)\src +CONFIG=$(DEPTH)\config +UTILS=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CLASSES=$(BUILD_DIR)\classes +!include html.list +!include $(CONFIG)\CommonProperties +DIRS=classes + +all: html images cgi lst + @set MAKE_ARGS=$@ + @$(MAKE) /NOLOGO -f Makefile.win $(DIRS) + + +html:: + @echo Proceed HTML files ... + @$(MAKE) /NOLOGO /f Makefile.win $(HTML_LIST) + @echo Creating chkbox group in $(START_HTML) ... + @perl $(UTILS)\lst_gen.pl $(HTML_ROOT_DIR)/$(START_HTML) $(CONFIG)/$(LST_FILE) + +$(HTML_LIST):: + @perl $(UTILS)\configurator.pl \ + $(CONFIG)\CommonProperties \ + $(HTML_ROOT_DIR)\$@ \ + $(SRC)\html\$@ +images: + @echo Copy images ... + @if not exist $(HTML_ROOT_DIR)\log \ + @mkdir $(HTML_ROOT_DIR)\log + @if not exist $(HTML_ROOT_DIR)\images \ + @mkdir $(HTML_ROOT_DIR)\images + @copy $(SRC)\images\*.gif $(HTML_ROOT_DIR)\images + +cgi: + @echo Proceed CGI scripts ... + @perl $(UTILS)\configurator.pl $(CONFIG)/CommonProperties $(CGI_BIN_ROOT_DIR)/results.cgi $(SRC)/cgi/results.cgi + @perl $(UTILS)\configurator.pl $(CONFIG)/CommonProperties $(CGI_BIN_ROOT_DIR)/start.cgi $(SRC)/cgi/start.cgi + @perl $(UTILS)\configurator.pl $(CONFIG)/CommonProperties $(CGI_BIN_ROOT_DIR)/finish.cgi $(SRC)/cgi/finish.cgi + @perl $(UTILS)\configurator.pl $(CONFIG)/CommonProperties $(CGI_BIN_ROOT_DIR)/stop.cgi $(SRC)/cgi/stop.cgi + +lst: + @echo Copy list file ... + @copy $(CONFIG)\WebClientTests.lst $(CGI_BIN_ROOT_DIR) + +clobber: + @set MAKE_ARGS=$@ + @$(MAKE) /NOLOGO -f makefile.win $(DIRS) + @-del /Q /S $(HTML_ROOT_DIR)\images\*.* + @-del /Q /S $(HTML_ROOT_DIR)\*.html + @-del /Q $(CGI_BIN_ROOT_DIR)\WebclientTests.lst + @-del /Q $(CGI_BIN_ROOT_DIR)\start.cgi + @-del /Q $(CGI_BIN_ROOT_DIR)\results.cgi + @-del /Q $(CGI_BIN_ROOT_DIR)\finish.cgi + @-del /Q $(CGI_BIN_ROOT_DIR)\stop.cgi + +$(DIRS):: + @echo Making $(MAKE_ARGS) in $@ + @cd $@ + @$(MAKE) /NOLOGO -f Makefile.win $(MAKE_ARGS) + @cd .. + + + diff --git a/mozilla/java/webclient/test/manual/build/classes/Makefile b/mozilla/java/webclient/test/manual/build/classes/Makefile new file mode 100644 index 00000000000..58c6c0bbe79 --- /dev/null +++ b/mozilla/java/webclient/test/manual/build/classes/Makefile @@ -0,0 +1,46 @@ +# 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=../.. +SRC=$(DEPTH)/src +CONFIG=$(DEPTH)/config/ +UTILS=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +BUILD_CLASSES=$(BUILD_DIR)/classes +JAVAC=javac +include ./java.list +include $(CONFIG)/CommonProperties + + +all: + @for i in $(JAVA_SRC);do \ + mkdir -p `dirname $(HTML_ROOT_DIR)/$${i}`; \ + $(JAVAC) -d `dirname $(HTML_ROOT_DIR)/$${i}` $(SRC)/classes/$${i}; \ + done + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/build/classes/Makefile.win b/mozilla/java/webclient/test/manual/build/classes/Makefile.win new file mode 100644 index 00000000000..1974cde2716 --- /dev/null +++ b/mozilla/java/webclient/test/manual/build/classes/Makefile.win @@ -0,0 +1,53 @@ +# 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=..\.. +SRC=$(DEPTH)\src +CONFIG=$(DEPTH)\config +UTILS=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +BUILD_CLASSES=$(BUILD_DIR)\classes +SRC_DIR=$(DEPTH)\src +CLASSES_SRC=$(SRC_DIR)\classes +PACKAGE_SUFFIX=manual\rendering +JAVAC=javac +!include .\java.list +!include $(CONFIG)\CommonProperties + +DIRS = applets \ + javascript \ + $(NULL) + +all: $(DIRS) + +$(DIRS):: + @echo Compile Java files in $(CLASSES_SRC)\$(PACKAGE_SUFFIX)\$@ + @if not exist $(HTML_ROOT_DIR)\$(PACKAGE_SUFFIX)\$@ mkdir $(HTML_ROOT_DIR)\$(PACKAGE_SUFFIX)\$@ + @$(JAVAC) -d $(HTML_ROOT_DIR)\$(PACKAGE_SUFFIX)\$@ $(SRC)\classes\$(PACKAGE_SUFFIX)\$@\*.java + +clobber: + @echo Remove all $(PACKAGE_SUFFIX) files ... + @-del /Q /S $(HTML_ROOT_DIR)\$(PACKAGE_SUFFIX)\*.class + + + + + + + diff --git a/mozilla/java/webclient/test/manual/build/classes/java.list b/mozilla/java/webclient/test/manual/build/classes/java.list new file mode 100644 index 00000000000..17d8f506f28 --- /dev/null +++ b/mozilla/java/webclient/test/manual/build/classes/java.list @@ -0,0 +1,4 @@ +JAVA_SRC = \ + manual/rendering/applets/MouseTest.java \ + manual/rendering/javascript/DemoApplet.java \ + $(NULL) \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/build/html.list b/mozilla/java/webclient/test/manual/build/html.list new file mode 100644 index 00000000000..b549725ba5a --- /dev/null +++ b/mozilla/java/webclient/test/manual/build/html.list @@ -0,0 +1,100 @@ +HTML_LIST= \ + manual/finish.html \ + manual/index.html \ + manual/rendering/html/1.html \ + manual/rendering/html/2.html \ + manual/rendering/html/3.html \ + manual/rendering/html/4.html \ + manual/rendering/html/5.html \ + manual/rendering/html/6.html \ + manual/rendering/html/7.html \ + manual/rendering/tables/1.html \ + manual/rendering/tables/2.html \ + manual/rendering/tables/3.html \ + manual/rendering/tables/4.html \ + manual/rendering/tables/4.1.html \ + manual/rendering/tables/4.2.html \ + manual/rendering/tables/5.html \ + manual/rendering/tables/6.html \ + manual/rendering/tables/6.1.html \ + manual/rendering/tables/6.2.html \ + manual/rendering/targets/1.html \ + manual/rendering/targets/2.1.html \ + manual/rendering/targets/2.2.html \ + manual/rendering/targets/2.html \ + manual/rendering/targets/3.1.html \ + manual/rendering/targets/3.2.html \ + manual/rendering/targets/3.html \ + manual/rendering/targets/4.1.html \ + manual/rendering/targets/4.2.html \ + manual/rendering/targets/4.html \ + manual/rendering/targets/5.1.1.html \ + manual/rendering/targets/5.1.2.html \ + manual/rendering/targets/5.1.html \ + manual/rendering/targets/5.2.html \ + manual/rendering/targets/5.html \ + manual/rendering/targets/6.html \ + manual/rendering/targets/7.html \ + manual/rendering/frames/1.1.html \ + manual/rendering/frames/1.2.html \ + manual/rendering/frames/1.3.html \ + manual/rendering/frames/1.html \ + manual/rendering/frames/2.1.html \ + manual/rendering/frames/2.2.html \ + manual/rendering/frames/2.3.html \ + manual/rendering/frames/2.html \ + manual/rendering/frames/3.1.1.html \ + manual/rendering/frames/3.1.2.html \ + manual/rendering/frames/3.1.html \ + manual/rendering/frames/3.2.html \ + manual/rendering/frames/3.html \ + manual/rendering/frames/4.1.1.html \ + manual/rendering/frames/4.1.html \ + manual/rendering/frames/4.2.html \ + manual/rendering/frames/4.html \ + manual/rendering/frames/5.1.html \ + manual/rendering/frames/5.2.html \ + manual/rendering/frames/5.html \ + manual/rendering/frames/6.1.html \ + manual/rendering/frames/6.2.html \ + manual/rendering/frames/6.html \ + manual/rendering/javascript/1.html \ + manual/rendering/javascript/2.html \ + manual/rendering/javascript/3.html \ + manual/rendering/javascript/4.html \ + manual/features/bookmarks/1.html \ + manual/features/dom/1.html \ + manual/features/edit/1.html \ + manual/features/edit/2.html \ + manual/features/protocols/1.html \ + manual/features/protocols/1.1.html \ + manual/features/protocols/1.2.html \ + manual/features/protocols/2.html \ + manual/features/protocols/2.1.html \ + manual/features/protocols/2.2.html \ + manual/features/protocols/3.html \ + manual/features/protocols/3.1.html \ + manual/features/protocols/3.2.html \ + manual/features/protocols/4.html \ + manual/features/protocols/4.1.html \ + manual/features/protocols/4.2.html \ + manual/features/protocols/5.html \ + manual/features/protocols/5.1.html \ + manual/features/protocols/5.2.html \ + manual/features/refresh/1.html \ + manual/features/search/1.html \ + manual/features/search/2.html \ + manual/features/search/3.html \ + manual/features/search/4.html \ + manual/features/stop/1.html \ + manual/features/view/1.html \ + manual/features/window/1.html \ + manual/features/window/2.html \ + manual/features/window/3.html \ + manual/features/window/4.html \ + $(NULL) + + + + + diff --git a/mozilla/java/webclient/test/manual/config/CommonProperties b/mozilla/java/webclient/test/manual/config/CommonProperties new file mode 100644 index 00000000000..ac7d36e2021 --- /dev/null +++ b/mozilla/java/webclient/test/manual/config/CommonProperties @@ -0,0 +1,85 @@ +############################################################################## +# This file contains common properties for manual Webclient TestBase # +# (please change prop values before making and using testbase) # +# # +############################################################################## + +################################ HTML_ROOT ################################### +# HTML_ROOT should be pointed to your HTTPD server entry +# for example on http://myserv.com/webclient + +HTML_ROOT=http://rampriya.eng:8080/webclient/manual + +############################## 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=/opt/JavaWebServer1.1.3/public_html/webclient/manual + +############################## 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://rampriya.eng:8080/cgi-bin/webclient/manual + +############################## 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=/opt/JavaWebServer1.1.3/public_html/cgi-bin/webclient/manual + +################################ 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 or /pkg/gnu/bin + +PERL_DIR=/pkg/gnu/bin + + + +############################## HTTP_URL ############################## +# HTTP_URL should be equals to well http url +# for example on http://earth:8080/index.html + +HTTP_HOST=http://rampriya.eng:8080/ + +############################## HTTP_URL ############################## +# HTTPS_URL should be equals to well https url +# for example on https://www.verisign.com/ + +HTTPS_URL=https://www.verisign.com/ + +############################## FTP_URL ############################## +# FTP_URL should be equals to well ftp url with username and passwd if needed +# for example on ftp://guest:guest@polar + +# FTP_URL=ftp://guest:guest@polar + +############################## FILE_URL ############################## +# FILE_URL should be equals to well file:/// url +# for example on file:///tmp/1.html + +FILE_URL=file:///tmp/ + +############################## GOPHER_URL ############################## +# GOPHER_URL should be equals to well gopher url +# doesn't know gopher servers. Should be removed ? + +GOPHER_URL= + + +############################################################################## +# +# Additional parameters. In common case you MUST NOT change it. +# +################################################################################ + +TEMP_LST_FILE=WebClientTests.lst.selected +LST_FILE=WebClientTests.lst +CURRENT_LOG_DIR=CurrentLog +RESULT_FILE=result.txt +START_HTML=manual/index.html +FINISH_HTML=manual/finish.html + diff --git a/mozilla/java/webclient/test/manual/config/WebClientTests.lst b/mozilla/java/webclient/test/manual/config/WebClientTests.lst new file mode 100644 index 00000000000..10ce5e04eb2 --- /dev/null +++ b/mozilla/java/webclient/test/manual/config/WebClientTests.lst @@ -0,0 +1,51 @@ +manual/features/bookmarks/1 +manual/features/dom/1 +manual/features/edit/1 +manual/features/edit/2 +manual/features/protocols/1 +manual/features/protocols/2 +manual/features/protocols/3 +manual/features/protocols/4 +manual/features/protocols/5 +manual/features/refresh/1 +manual/features/search/1 +manual/features/search/2 +manual/features/search/3 +manual/features/search/4 +manual/features/stop/1 +manual/features/view/1 +manual/features/window/1 +manual/features/window/2 +manual/features/window/3 +manual/features/window/4 +manual/rendering/html/1 +manual/rendering/html/2 +manual/rendering/html/3 +manual/rendering/html/4 +manual/rendering/html/5 +manual/rendering/html/6 +manual/rendering/html/7 +manual/rendering/tables/1 +manual/rendering/tables/2 +manual/rendering/tables/3 +manual/rendering/tables/4 +manual/rendering/tables/5 +manual/rendering/tables/6 +manual/rendering/targets/1 +manual/rendering/targets/2 +manual/rendering/targets/3 +manual/rendering/targets/4 +manual/rendering/targets/5 +manual/rendering/targets/6 +manual/rendering/targets/7 +manual/rendering/frames/1 +manual/rendering/frames/2 +manual/rendering/frames/3 +manual/rendering/frames/4 +manual/rendering/frames/5 +manual/rendering/frames/6 +manual/rendering/applets/1 +manual/rendering/javascript/1 +manual/rendering/javascript/2 +manual/rendering/javascript/3 +manual/rendering/javascript/4 diff --git a/mozilla/java/webclient/test/manual/doc/index.html b/mozilla/java/webclient/test/manual/doc/index.html new file mode 100644 index 00000000000..72e462e263e --- /dev/null +++ b/mozilla/java/webclient/test/manual/doc/index.html @@ -0,0 +1,6 @@ + + +

Manual webclient testbase

+Preliminary specification + + diff --git a/mozilla/java/webclient/test/manual/doc/manual.txt b/mozilla/java/webclient/test/manual/doc/manual.txt new file mode 100644 index 00000000000..51d6b8ef554 --- /dev/null +++ b/mozilla/java/webclient/test/manual/doc/manual.txt @@ -0,0 +1,48 @@ +1. Parsing and rendering tests + +HTML: +- simple html, with and w/o head,title,body +- page with DOCBASE and images +- bad html w/o close tag, mixed title head and body + +TABLES: + +- simple table, nested table, several tables on one page +- bad unclosed table, with unclosed cell, unclosed row + +TARGETS: + +- link with exist/unexist target, _self, _parent, _top, _new + +FRAMES: + +- page with several frames,nested frameset, w and w/o scroller +- page with "noframes" tag +- unclosed frameset, reqursive framesets + +JAVASCRIPT: + +- using timeout, image changing +- using liveconnect with applet +- using xpconnect with some Mozilla's component(in Mozilla's case) +- javascript with bad syntax + +PLUGINS: + +- pages with object and embed tag +- page with existed plugin +- page with unexisted plugin +- page with pluglet(in Mozilla's case) + +APPLET: + +- page with applet, embedded via applet tag +- page with applet, embedded via object tag + +2. Functions/Featuring tests + + + + + + diff --git a/mozilla/java/webclient/test/manual/doc/preliminary_descr.html b/mozilla/java/webclient/test/manual/doc/preliminary_descr.html new file mode 100644 index 00000000000..25f9b6a34df --- /dev/null +++ b/mozilla/java/webclient/test/manual/doc/preliminary_descr.html @@ -0,0 +1,190 @@ + + +

Rendering/parsing tests

+

Common HTML tests

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test IDTest description
manual/rendering/html/1Simple HTML with background image
manual/rendering/html/2Simple HTML with background color
manual/rendering/html/3Simple HTML without title and head tags
manual/rendering/html/4Simple UNCLOSED HTML (without /body/html
manual/rendering/html/5Test HTML with some text out of html and /html + This text shouldn't be normally shoun.Then couldn't set PASS here
manual/rendering/html/6Simple HTML with mixed title head and body + Please see page source for understood test behavior
manual/rendering/html/7Simple HTML with docbase on images directory + If image loaded then this test PASSED
+

Tables

+ + + + + + + + + + + + + + + + + + + + + + + + + +
manual/rendering/tables/1Simple table: 2 rows and 3 columns
manual/rendering/tables/2Page with nested tables
manual/rendering/tables/3Page with 3 tables
manual/rendering/tables/4Page with unclosed nested table
manual/rendering/tables/5tables with different borders
manual/rendering/tables/6Simple HTML with docbase on images directory + If image loaded then this test PASSED
+ +

Targets

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
manual/rendering/targets/1Simple test for unexisted target (New window should be opened)
manual/rendering/targets/2Simple test for existed target +(Page should be shown in the upper frame)
manual/rendering/targets/3Simple test for target _self
manual/rendering/targets/4Simple test for target _top
manual/rendering/targets/5Simple test for target _parent
manual/rendering/targets/6Simple test for target _blank
manual/rendering/targets/7Simple test for opening new named window +and correct target proceeding
+ + +

Frames

+ + + + + + + + + + + + + + + + + + + + + + + + + +
manual/rendering/frames/1Simple frameset with 3 frames
manual/rendering/frames/2Simple frameset with 3 frames.Two frames with scrolling and one without scrolling
manual/rendering/frames/3Simple test on 2 nested framesets
manual/rendering/frames/4Test on reqursive framesets
manual/rendering/frames/5Simple test on noframes tag
manual/rendering/frames/6Simple test on unclosed frameset
+ +

Features tests

+

Bookmarks

+ + +
manual/features/bookmarks/1Simple test for load URL from Bookmarks frame.
+

DOM

+ + +
manual/features/dom/1Simple test for opening DOM viewer.
+

Edit

+ + + +
manual/features/edit/1Simple test for Select All feature.
manual/features/edit/2Simple test for Copy feature.
+

Protocols

+ + + + + + +
manual/features/protocols/1Simple test for loading page via http protocol.
manual/features/protocols/2Simple test for loading page via ftp protocol.
manual/features/protocols/3Simple test for loading page via file protocol.
manual/features/protocols/4Simple test for loading page via https protocol.
manual/features/protocols/5Simple test for loading page via gopher protocol.
+

Refresh

+ + +
manual/features/refresh/1Simple test for Refresh functionality.
+

Search

+ + + + + +
manual/features/search/1Simple test for loading and functionality of Find dialog.
manual/features/search/2Simple test for find functionality with matching case of symbols.
manual/features/search/3Simple test for backward search in page functionality.
manual/features/search/4Simple test for "find next" functionality.
+

Stop

+ + +
manual/features/stop/1Simple test for Stop ability during loading page.
+

View

+ + +
manual/features/view/1Simple test for View Page Source functionality.
+

Window

+ + + + + +
manual/features/window/1Simple test for resizing window ability.
manual/features/window/2Simple test for scrolling the window.
manual/features/window/3Simple test for moving the window.
manual/features/window/4Simple test for create new browser window.
+ + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/doc/preliminary_descr.html.1 b/mozilla/java/webclient/test/manual/doc/preliminary_descr.html.1 new file mode 100644 index 00000000000..59c1c642a30 --- /dev/null +++ b/mozilla/java/webclient/test/manual/doc/preliminary_descr.html.1 @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test IDTest description
manual/rendering/html/1Simple HTML with background image
manual/rendering/html/2Simple HTML with background color
manual/rendering/html/3Simple HTML without title and head tags
manual/rendering/html/4Simple UNCLOSED HTML (without /body/html
manual/rendering/html/5Test HTML with some text out of html and /html + This text shouldn't be normally shoun.Then couldn't set PASS here
manual/rendering/html/6Simple HTML with mixed title head and body + Please see page source for understood test behavior
manual/rendering/html/7Simple HTML with docbase on images directory + If image loaded then this test PASSED
+

Tables

+ + + + + + + + + + + + + + + + + + + + + + + + + +
manual/rendering/tables/1Simple table: 2 rows and 3 columns
manual/rendering/tables/2Page with nested tables
manual/rendering/tables/3Page with 3 tables
manual/rendering/tables/4Page with unclosed nested table
manual/rendering/tables/5tables with different borders
manual/rendering/tables/6Simple HTML with docbase on images directory + If image loaded then this test PASSED
+ +

Targets

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
manual/rendering/targets/1Simple test for unexisted target (New window should be opened)
manual/rendering/targets/2Simple test for existed target +(Page should be shown in the upper frame)
manual/rendering/targets/3Simple test for target _self
manual/rendering/targets/4Simple test for target _top
manual/rendering/targets/5Simple test for target _parent
manual/rendering/targets/6Simple test for target _blank
manual/rendering/targets/7Simple test for opening new named window +and correct target proceeding
+ + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/doc/preliminary_spec.html b/mozilla/java/webclient/test/manual/doc/preliminary_spec.html new file mode 100644 index 00000000000..b84267c9743 --- /dev/null +++ b/mozilla/java/webclient/test/manual/doc/preliminary_spec.html @@ -0,0 +1,53 @@ + + +
+1. Parsing and rendering tests
+
+HTML:
+- simple html, with and w/o head,title,body
+- page with DOCBASE and images
+- bad html w/o close tag, mixed title head and body
+
+TABLES:
+
+- simple table, nested table, several tables on one page
+- bad unclosed table, with unclosed cell, unclosed row
+
+TARGETS:
+
+- link with exist/unexist target, _self, _parent, _top, _blank
+
+FRAMES:
+
+- page with several frames,nested frameset, w and w/o scroller
+- page with "noframes" tag
+- unclosed frameset, reqursive framesets
+
+JAVASCRIPT:
+
+- using timeout, image changing
+- using liveconnect with applet
+- using xpconnect with some Mozilla's component(in Mozilla's case)
+- javascript with bad syntax
+
+PLUGINS:
+
+- pages with object and embed tag
+- page with existed plugin 
+- page with unexisted plugin
+- page with pluglet(in Mozilla's case)
+
+APPLET:
+
+- page with applet, embedded via applet tag
+- page with applet, embedded via object tag
+
+2. Functions/Featuring tests
+
+ + + + + + + diff --git a/mozilla/java/webclient/test/manual/doc/preliminary_spec.html.1 b/mozilla/java/webclient/test/manual/doc/preliminary_spec.html.1 new file mode 100644 index 00000000000..b84267c9743 --- /dev/null +++ b/mozilla/java/webclient/test/manual/doc/preliminary_spec.html.1 @@ -0,0 +1,53 @@ + + +
+1. Parsing and rendering tests
+
+HTML:
+- simple html, with and w/o head,title,body
+- page with DOCBASE and images
+- bad html w/o close tag, mixed title head and body
+
+TABLES:
+
+- simple table, nested table, several tables on one page
+- bad unclosed table, with unclosed cell, unclosed row
+
+TARGETS:
+
+- link with exist/unexist target, _self, _parent, _top, _blank
+
+FRAMES:
+
+- page with several frames,nested frameset, w and w/o scroller
+- page with "noframes" tag
+- unclosed frameset, reqursive framesets
+
+JAVASCRIPT:
+
+- using timeout, image changing
+- using liveconnect with applet
+- using xpconnect with some Mozilla's component(in Mozilla's case)
+- javascript with bad syntax
+
+PLUGINS:
+
+- pages with object and embed tag
+- page with existed plugin 
+- page with unexisted plugin
+- page with pluglet(in Mozilla's case)
+
+APPLET:
+
+- page with applet, embedded via applet tag
+- page with applet, embedded via object tag
+
+2. Functions/Featuring tests
+
+ + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/cgi/finish.cgi b/mozilla/java/webclient/test/manual/src/cgi/finish.cgi new file mode 100644 index 00000000000..0dcb1e613f0 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/cgi/finish.cgi @@ -0,0 +1,73 @@ +#!/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): +# Client QA Team, St. Petersburg, Russia + +use CGI qw(:standard); + +$LogPath = "/log"; +$URLRoot = "/log"; +$RESULT_FILE = ""; +$CURRENT_LOG = ""; + +#Do not modify this line!!! +$LogNPath = ""; + +&CopyLog; +exit 0; + +sub CopyLog{ + #Open current log + open(FILE, "$LogPath/$CURRENT_LOG/$RESULT_FILE"); + @LINES=; + $time=localtime(time); + $aa = $time; + $time=~s/\ |\:/_/g; + mkdir("$LogPath/$time", 0777) || die "cannot mkdir "; + $LogNPath=$time; + open(FILE_LOG, ">$LogPath/$LogNPath/log.html"); + print FILE_LOG "\n\nLog for Test of Webclient for $aa\n"; + print FILE_LOG "\n

Manual Tests for Webclient

\n

$aa


\n\n\n"; + $SIZE=@LINES; + for ($i=0;$i<=$SIZE;$i++) { + $_=$LINES[$i]; + ($name, $value) = split(/=/, $_); + if($value=~/FAILED/) { + print FILE_LOG "\n"; + }else { + print FILE_LOG "\n"; + } + } + print FILE_LOG "
Test nameValue
$name$value
$name$value
\n"; + close FILE; + close FILE_LOG; + open(FILE_RES, ">$LogPath/$LogNPath/$RESULT_FILE"); + print FILE_RES @LINES; + close FILE_RES; + &ExitRedirect(); + +} + +####################################################################### +sub ExitRedirect { +# Redirect to new log + print redirect("$URLRoot/$LogNPath/log.html"); +} + diff --git a/mozilla/java/webclient/test/manual/src/cgi/results.cgi b/mozilla/java/webclient/test/manual/src/cgi/results.cgi new file mode 100644 index 00000000000..e5fcaf6e493 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/cgi/results.cgi @@ -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): +# Client QA Team, St. Petersburg, Russia + +$LOG_DIR="/log"; +$HTML_ROOT=""; +$LST_FILE=""; +$LOG_FILE="$LOG_DIR//"; +$FINISH_HTML=""; + +#Define routines + +sub getNextID { + my $currentID=shift(@_); + my $found=0; + my $nextID=""; + open(LST,$LST_FILE) || die "Can't open $!"; + while($test=) { + $test=~s/\r|\n|\s//g; + if($currentID eq $test) { + print "Current is $test"; + $found=1; + last; + } + } + if($found==1) { + $nextID=; + $nextID=~s/\r|\n|\s//g; + if($nextID=~/$\s*#/) { + close(LST); + return getNextID($nextID); + } + } + close(LST); + return $nextID; +} + +sub redirect { + $new_url=shift(@_); + print "Status: 301 Redirect\n"; + print "Content-type: text/html\n"; + print "Location: $new_url\n\n\n"; +} + +sub getParameters() { + my $parameters=; + my $testID; + my $result; + ($testID,$result)=split(/\&/,$parameters); + $testID=~s/testID\=//g; + $testID=~s/%2F/\//ig; + $result=~s/good\=|bad\=//g; + return ($testID,$result); +} + +sub addLogEntry { + my $testID = shift(@_); + my $result = shift(@_); + open(LOG,">>".$LOG_FILE) || die "ERROR $!"; + print LOG "$testID=$result\n"; + close(LOG); +} +############################################################################## +# Main +############################################################################## +($currentID,$result)=getParameters(); +addLogEntry($currentID,$result); +$nextID=getNextID($currentID); + unless ($nextID eq "") { + redirect($HTML_ROOT."/".$nextID.".html"); +} else { + redirect("$HTML_ROOT/$FINISH_HTML"); +} + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/cgi/start.cgi b/mozilla/java/webclient/test/manual/src/cgi/start.cgi new file mode 100644 index 00000000000..3cd7bddb4cc --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/cgi/start.cgi @@ -0,0 +1,137 @@ +#!/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): +# Client QA Team, St. Petersburg, Russia + +use CGI; + +$LogPath = "/log"; +$URLRoot = ""; +$LST_FILE = ""; +$RESULT_FILE = ""; +$CURRENT_LOG = ""; +$CGI_BIN_ROOT_DIR = ""; +$TEMP_LST_FILE = ""; + +$LogNPath = ""; + +$query = new CGI; + +@testsToRun = $query->param('TestsToRun'); +$continue = $query->param('continue'); +$stage = $query->param('stage'); +open(LST,">$LST_FILE"); +print LST join("\n",@testsToRun); +close(LST); +MakeLogDir(); +if($stage == 1){ + if($continue =~ /Continue/){ + ContinueTesting($testsToRun[0]); + }else{ + StartTesting($testsToRun[0]); + } +}else{ + StartTesting($testsToRun[0]); +} +exit 0; + +sub MakeLogDir{ + #Open current log + if(-e "$LogPath/$CURRENT_LOG"){ + if(-e "$LogPath/$CURRENT_LOG/$RESULT_FILE"){ + if($continue!~/Continue/){ + unlink("$LogPath/$CURRENT_LOG/$RESULT_FILE"); + } + } + }else{ + mkdir("$LogPath/$CURRENT_LOG", 0777); + } +} + +####################################################################### +sub StartTesting { + my $value = shift(@_); + $value=~s/%2F/\//g; + print "Content-type:text/html\n\n"; + print ""; + #print " + print ""; + print "First test page: $URLRoot/$value.html
"; + print "

\n"; + print "All logs will be temporary placed to the $LogPath/$CURRENT_LOG/$RESULT_FILE.
"; + print "At the end of testing the unique directory will be created in the $LogPath/
"; + print "and all log entries will be copied to this unique directory."; + print "


"; + print "The following tests selected:
"; + print "
    "; + print join("
    \n",@testsToRun); + print "
"; + print ""; +} + +sub ContinueTesting { + my $value = shift(@_); + $value=~s/%2F/\//g; + if(-e ("$LogPath/$CURRENT_LOG/$RESULT_FILE") && ("$CGI_BIN_ROOT_DIR/$TEMP_LST_FILE")){ + open(RES_FILE, "$LogPath/$CURRENT_LOG/$RESULT_FILE"); + open(LST_TEMP, "$CGI_BIN_ROOT_DIR/$TEMP_LST_FILE"); + @LINES_RES = ; + @LINES_LST = ; + close(RES_FILE); + close(LST_TEMP); + @LINES_RES = sort(@LINES_RES); + @LINES_LST = sort(@LINES_LST); + $SIZE_RES = @LINES_RES; + $SIZE_LST = @LINES_LST; + print "Content-type:text/html\n\n"; + print "\n\nSelect / Unselect tests"; + print "\n"; + print "Unselected tests were done in previous session.
Please review/correct checked/unchecked checkboxes and press Continue button.
\n"; + print "
/start.cgi\" method=post>\n"; + $i1 = 0; + for($i=0; $i<$SIZE_LST; $i++){ + ($line, $tmp) = split(/=/, $LINES_RES[$i1]); + #print "$line
$LINES_LST[$i]
i1=$i1"; + if($LINES_LST[$i] =~ /$line/){ + $curID = $LINES_LST[$i] ; + print "$curID
\n"; + $i1++; + }else{ + $curID = $LINES_LST[$i] ; + print "$curID
\n"; + } + } + print "\n

\n"; + print "
\n\n"; + }else{ + print "Content-type:text/html\n\n"; + print "Error: previous session not exist or corrupted"; + #print " + print "\n"; + print "

Error: previous session not exist or corrupted

\n"; + print ""; + print ""; + } + +} + + + + diff --git a/mozilla/java/webclient/test/manual/src/cgi/stop.cgi b/mozilla/java/webclient/test/manual/src/cgi/stop.cgi new file mode 100644 index 00000000000..474e202913e --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/cgi/stop.cgi @@ -0,0 +1,50 @@ +#!/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): +# Client QA Team, St. Petersburg, Russia + +use CGI qw(:standard); + +$| = 1; +&Main; +exit 0; + +sub Main{ + print "Content-type: text/html\n\n"; + print "\n\nStop's test page 1\n\n"; + print "

Stop's test page 1 - Pressing STOP during loading page

\n"; + print "\n\n"; + print "\n"; + print "\n"; + print "
ActionExpected result
1.Now, every second one string will be add to this pageYou should look at this process
2.When you'll see next string: \"This is string number 8\", press Stop button.Webclient should stop loaded this page, and do not hung up.
\n"; + print "
\n

Test PASSED if expected result matched obtained result, and FAILED otherwise.\n"; + print "
/results.cgi method=post>\n"; + print "\n"; + print "\n"; + print "\n"; + print "
"; + for($i=0; $i<=10; $i++){ + print "This is string number $i
\n"; + sleep 1; + } + print "\n"; + print "\n"; +} + diff --git a/mozilla/java/webclient/test/manual/src/classes/manual/rendering/applets/MouseTest.java b/mozilla/java/webclient/test/manual/src/classes/manual/rendering/applets/MouseTest.java new file mode 100644 index 00000000000..819a769a859 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/classes/manual/rendering/applets/MouseTest.java @@ -0,0 +1,204 @@ +/* -*- 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 + */ + + + +/* + * MouseTest.java + * + */ +import java.awt.Graphics; +import java.awt.Color; +import java.awt.event.MouseMotionListener; +import java.awt.event.MouseListener; +import java.awt.event.MouseEvent; +import java.awt.event.ActionListener; +import java.awt.event.ActionEvent; +import java.applet.Applet; +import java.awt.TextArea; +import java.awt.Button; +import java.awt.Panel; +import java.awt.BorderLayout; + +public class MouseTest extends Applet implements MouseMotionListener, MouseListener +{ + + private int[] coords = new int[4]; + private boolean inside = false; + private boolean out = false; + private int lastX = 0; + private int lastY = 0; + private Color defaultColor = Color.red; + private TextArea console = null; + private Button reset = null; + private int appletHeight = 0; + private int appletWidth = 0; + private static String msgLast = ""; + private static int msgNumber =0; + public void init() { + coords[0] = (new Integer(getParameter("X"))).intValue(); + coords[1] = (new Integer(getParameter("Y"))).intValue(); + coords[2] = (new Integer(getParameter("RecWidth"))).intValue(); + coords[3] = (new Integer(getParameter("RecHeight"))).intValue(); + console = new TextArea("",20,20,TextArea.SCROLLBARS_BOTH); + reset = new Button("Reset"); + reset.addActionListener(new ActionListener (){ + public void actionPerformed(ActionEvent e) { + reset(); + } + }); + setLayout(new BorderLayout()); + Panel p = new Panel(); + p.setLayout(new BorderLayout(0,0)); + p.add(console,BorderLayout.NORTH); + p.add(reset,BorderLayout.SOUTH); + add(p,BorderLayout.EAST); + addMouseMotionListener(this); + addMouseListener(this); + } + public void run() { + } + public void paint(Graphics gr) { + //consolePrint("Paint ..."); + gr.setColor(defaultColor); + gr.fillRect(coords[0],coords[1],coords[2],coords[3]); + } + + /* + ********************************* + * Internal methods + ********************************* + */ + private void reset() { + coords[0] = (new Integer(getParameter("X"))).intValue(); + coords[1] = (new Integer(getParameter("Y"))).intValue(); + coords[2] = (new Integer(getParameter("RecWidth"))).intValue(); + coords[3] = (new Integer(getParameter("RecHeight"))).intValue(); + console.setText(""); + defaultColor = Color.red; + repaint(); + } + private boolean curRectCont(int x,int y) { + return (coords[0]<=x)&&((coords[0]+coords[2])>=x)&&(coords[1]<=y)&&((coords[1]+coords[3])>=y); + } + + private void consolePrint(String msg) { + if(msgLast.equals(msg)) { + msgNumber++; + } else { + if(msgNumber>0) { + console.append("Last message repeated " + msgNumber + 1 + " times\n"); + msgNumber=0; + } + msgLast = msg; + console.append(msg); + console.append("\n"); + } + } + + /* + ********************************* + * Listeners section + ********************************* + */ + + /* + ********************************* + * MouseMotionListener section + ********************************* + */ + + public void mouseDragged(MouseEvent e) { + int deltaX = e.getX() - lastX; + int deltaY = e.getY() - lastY; + consolePrint("Mouse dragged"); + inside = curRectCont(e.getX(),e.getY()); + if (inside) { + coords[0]+= deltaX; + coords[1]+= deltaY; + repaint(); + } + lastX = e.getX(); + lastY = e.getY(); + } + + + public void mouseMoved(MouseEvent e) { + int eventX = e.getX(); + int eventY = e.getY(); + inside = curRectCont(e.getX(),e.getY()); + } + + /* + ********************************* + * MouseListener section + ********************************* + */ + + public void mouseClicked(MouseEvent e) { + if(inside) { + consolePrint("Mouse clicked on color rectangle"); + if( defaultColor.equals(Color.blue)) { + defaultColor = Color.red; + } else { + defaultColor = Color.blue; + } + repaint(); + } else { + consolePrint("Mouse clicked ..."); + } + } + + public void mousePressed(MouseEvent e) { + if(inside) { + consolePrint("Mouse pressed on color rectangle"); + lastX=e.getX(); + lastY=e.getY(); + } else { + consolePrint("Mouse pressed ..."); + } + + } + public void mouseReleased(MouseEvent e) { + consolePrint("Mouse released ..."); + } + + public void mouseEntered(MouseEvent e) { + consolePrint("Mouse entered in applet area ..."); + } + + public void mouseExited(MouseEvent e) { + consolePrint("Mouse exited from applet area ..."); + } + + +} + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/classes/manual/rendering/javascript/DemoApplet.java b/mozilla/java/webclient/test/manual/src/classes/manual/rendering/javascript/DemoApplet.java new file mode 100644 index 00000000000..c433679b53a --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/classes/manual/rendering/javascript/DemoApplet.java @@ -0,0 +1,49 @@ +/* -*- 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): + */ +import java.applet.*; +import java.awt.*; + +public class DemoApplet extends Applet { + + public Dimension dim=null; + public String str=""; + public int val1; + + public void init () { + } + + public void paint (Graphics g) { + + Rectangle d = getBounds (); + String s=(dim==null ? "NULL" : dim.toString()); + + g.setColor (Color.black); + g.fillRect (d.x,d.y,d.width,d.height); + g.setColor (Color.green); + g.drawString (str,40,40); + } + + public boolean objectArg (String s) { + this.str=s; + repaint (); + return true; + } +} diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/bookmarks/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/bookmarks/1.html new file mode 100644 index 00000000000..617970c6b3b --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/bookmarks/1.html @@ -0,0 +1,42 @@ + + + + +Bookmarks's test page 1 + + +

Bookmarks's test page 1 - test on Load from bookmarks functionality

+Note: Please, first read all this table. + + + + +
ActionExpected result
1.Press button "Bookmarks" on button bar.Webclient should create Bookmarks window and correctly displays it with bookmarks tree inside.
2.Press mouse button on any leaf in bookmarks tree.Webclient should display URL from this leaf in currect window. To submit a tesult of test, press back button to return to this page.
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +/results.cgi method=post> + + + + + + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/dom/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/dom/1.html new file mode 100644 index 00000000000..d5a29ce8772 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/dom/1.html @@ -0,0 +1,40 @@ + + + + +DOM's test page 1 + + +

DOM's test page 1 - test on DOM Viewer functionality

+ + + +
ActionExpected result
1.Press button "Dom Viewer" on button bar.Webclient should create DOM viewer window and correctly displays DOM of current page.
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/edit/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/edit/1.html new file mode 100644 index 00000000000..94effa9f337 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/edit/1.html @@ -0,0 +1,40 @@ + + + + +Edit's test page 1 + + +

Edit's test page 1 - test on Select all function

+ + + +
ActionExpected result
1.Start from menu: Edit->Select All.In currect window Webclient should select all symbols.
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/edit/2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/edit/2.html new file mode 100644 index 00000000000..9b3e1be1d2e --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/edit/2.html @@ -0,0 +1,46 @@ + + + + +Edit's test page 2 + + +

Edit's test page 2 - test on Copy function

+ + + + + +
ActionExpected result
1.Select on page some symbols.In currect window Webclient should correct select symbols.
2.Start from menu: Edit->Copy.Webclient should copy selected symbols to system clipboard.
3.Paste texts on external application.You should see text which you select before in Webclient.
+
+ +
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.1.html new file mode 100644 index 00000000000..68e50dd24bc --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.1.html @@ -0,0 +1,40 @@ + + + + +perfecto + + +

Protocols test page 1 - test on http protocol

+ + + +
ActionExpected result
1.Press on this link.In bottom frame Webclient must correct load url via http protocol. To edit http url, please, correct file "CommonProperties".
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.2.html new file mode 100644 index 00000000000..0d31876d994 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.2.html @@ -0,0 +1,32 @@ + + + + +blank + + +
+This is a blank html. +
In this frame must load URL via file protocol. + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.html new file mode 100644 index 00000000000..b37847be343 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/1.html @@ -0,0 +1,35 @@ + + + + +Protocols's test page 1 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.1.html new file mode 100644 index 00000000000..148815c841b --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.1.html @@ -0,0 +1,40 @@ + + + + +perfecto + + +

Protocols test page 2 - test on ftp protocol

+ + + +
ActionExpected result
1.Press on this link.In bottom frame Webclient must correct load url via ftp protocol. To edit ftp url, please, correct file "CommonProperties".
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.2.html new file mode 100644 index 00000000000..69fdcb8be5d --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.2.html @@ -0,0 +1,32 @@ + + + + +blank + + +
+This is a blank html. +
In this frame must load URL via ftp protocol. + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.html new file mode 100644 index 00000000000..6fb06eefcc5 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/2.html @@ -0,0 +1,35 @@ + + + + +Protocols's test page 2 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.1.html new file mode 100644 index 00000000000..529a8f37964 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.1.html @@ -0,0 +1,40 @@ + + + + +perfecto + + +

Protocols test page 3 - test on file protocol

+ + + +
ActionExpected result
1.Press on this link.In bottom frame Webclient must correct load url via file protocol. To edit file url, please, correct file "CommonProperties".
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.2.html new file mode 100644 index 00000000000..0d31876d994 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.2.html @@ -0,0 +1,32 @@ + + + + +blank + + +
+This is a blank html. +
In this frame must load URL via file protocol. + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.html new file mode 100644 index 00000000000..b1ba4fe2858 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/3.html @@ -0,0 +1,35 @@ + + + + +Protocols's test page 3 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.1.html new file mode 100644 index 00000000000..eb9567d446f --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.1.html @@ -0,0 +1,40 @@ + + + + +perfecto + + +

Protocols test page 4 - test on https protocol

+ + + +
ActionExpected result
1.Press on this link.In bottom frame Webclient must correct load url via https protocol. To edit https url, please, correct file "CommonProperties".
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.2.html new file mode 100644 index 00000000000..e26eec548f6 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.2.html @@ -0,0 +1,32 @@ + + + + +blank + + +
+This is a blank html. +
In this frame must load URL via https protocol. + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.html new file mode 100644 index 00000000000..7c16dbef6a9 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/4.html @@ -0,0 +1,35 @@ + + + + +Protocols's test page 4 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.1.html new file mode 100644 index 00000000000..64603aa412f --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.1.html @@ -0,0 +1,40 @@ + + + + +perfecto + + +

Protocols test page 5 - test on gopher protocol

+ + + +
ActionExpected result
1.Press on this link.In bottom frame Webclient must correct load url via gopher protocol. To edit gopher url, please, correct file "CommonProperties".
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.2.html new file mode 100644 index 00000000000..bb7a8dbf1cd --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.2.html @@ -0,0 +1,32 @@ + + + + +blank + + +
+This is a blank html. +
In this frame must load URL via gopher protocol. + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.html b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.html new file mode 100644 index 00000000000..e9d0a02805a --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/protocols/5.html @@ -0,0 +1,35 @@ + + + + +Protocols's test page 5 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/refresh/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/refresh/1.html new file mode 100644 index 00000000000..d978e7c7eb0 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/refresh/1.html @@ -0,0 +1,40 @@ + + + + +Refresh's test page 1 + + +

Refresh's test page 1 - test on Refresh functionality

+ + + +
ActionExpected result
1.Press button "Refresh" on button bar.Webclient should refresh current page and displays it correctly.
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/search/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/search/1.html new file mode 100644 index 00000000000..8712ff7458d --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/search/1.html @@ -0,0 +1,45 @@ + + + + +Search's test page 1 + + +

Search's test page 1 - test on Find Dialog

+ + + + + +
ActionExpected result
1.Start from menu: Search->Find.Dialog box (Find) must appear
2.Do not check any checkboxes and type search string ("search item" as a search string recommended) in search field. In text field text should correctly displays
3.Press Find button.Webclient should select search string in document.
+
+search item +SEARCH ITEM +
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/search/2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/search/2.html new file mode 100644 index 00000000000..f0252d1c069 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/search/2.html @@ -0,0 +1,45 @@ + + + + +Search's test page 2 + + +

Search's test page 2 - test on Find Dialog

+ + + + + +
ActionExpected result
1.Start from menu: Search->Find.Dialog box (Find) must appear
2.Check "match case" checkbox and type search string ("search item" recommended) in search field. In text field text should correctly displays
3.Press Find button.Webclient should select search sting in document 2 times with checked checkbox and 3 posision with uncheked checkbox.
+
+search item +SEARCH ITEM +
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/search/3.html b/mozilla/java/webclient/test/manual/src/html/manual/features/search/3.html new file mode 100644 index 00000000000..541209fefb6 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/search/3.html @@ -0,0 +1,45 @@ + + + + +Search's test page 3 + + +

Search's test page 3 - test on Find Dialog

+ + + + + +
ActionExpected result
1.Start from menu: Search->Find.Dialog box (Find) must appear
2.Check "Backward" checkbox and type search string ("search item" recommended) in search field. In text field text should correctly displays
3.Press Find button.Webclient should select search sting in document 3 times, first selection should be last in document, all selections in document should be in reverse sequence.
+
+search item +SEARCH ITEM +
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/search/4.html b/mozilla/java/webclient/test/manual/src/html/manual/features/search/4.html new file mode 100644 index 00000000000..e3cab08d23e --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/search/4.html @@ -0,0 +1,47 @@ + + + + +Search's test page 4 + + +

Search's test page 4 - test on Find Next function

+ + + + + + + +
ActionExpected result
1.Start from menu: Search->Find.Dialog box (Find) must appear
2.Do not check any checkbox and type search string ("search item" recommended) in search field. In text field text should correctly displays
3.Press Find button.Webclient should select search sting in document.
4.Close the Find dialog.Webclient should close this dialog without any errors or exceptions.
5.Start from menu: Search->Find Next.Webclient should find next search string in document.
+
+search item +SEARCH ITEM +
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/stop/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/stop/1.html new file mode 100644 index 00000000000..ab545775ac2 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/stop/1.html @@ -0,0 +1,33 @@ + + + + +Stop's test page 1 + + +

Stop's test page 1 - Pressing STOP during loading page

+

This test process only via cgi-script, so you need to load it. Please press button to begin the test.

+
+ +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/view/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/view/1.html new file mode 100644 index 00000000000..d73f70c9ada --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/view/1.html @@ -0,0 +1,42 @@ + + + + +View's test page 1 + + +

View's test page 1 - test on View Page Source function

+Note: Please, first read all this table. + + + + +
ActionExpected result
1.Start from menu: View->View Page Source.In currect window Webclient should display page source.
2.Once more: Start from menu: View->View Page Source. In currect window Webclient should display this html.
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/window/1.html b/mozilla/java/webclient/test/manual/src/html/manual/features/window/1.html new file mode 100644 index 00000000000..3c4dfb0c522 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/window/1.html @@ -0,0 +1,75 @@ + + + + +Window's test page 1 + + +

Window's test page 1 - test on Resize function

+ + + +
ActionExpected result
1.Resize main windowText in window must correctly displays during resizing, also after resize html should correctly displays.
+
+1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/window/2.html b/mozilla/java/webclient/test/manual/src/html/manual/features/window/2.html new file mode 100644 index 00000000000..7affc066a5e --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/window/2.html @@ -0,0 +1,75 @@ + + + + +Window's test page 2 + + +

Window's test page 2 - test on Scroll function

+ + + +
ActionExpected result
1.Scroll text in this windowText in window must correctly displays during scrolling, and also after scrolling html should correctly displays.
+
+1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/window/3.html b/mozilla/java/webclient/test/manual/src/html/manual/features/window/3.html new file mode 100644 index 00000000000..0a820b120de --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/window/3.html @@ -0,0 +1,75 @@ + + + + +Window's test page 3 + + +

Window's test page 3 - test on Move function

+ + + +
ActionExpected result
1.Move the main window to any posision on the screenText in window must correctly displays during moving, and also after moving html should correctly displays.
+
+1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111 +
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/features/window/4.html b/mozilla/java/webclient/test/manual/src/html/manual/features/window/4.html new file mode 100644 index 00000000000..5e66e2136c8 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/features/window/4.html @@ -0,0 +1,40 @@ + + + + +Window's test page 4 + + +

Window's test page 4 - test on New Window function

+ + + +
ActionExpected result
1.Start from menu: File->New WindowWebclient should create new window and displays current URL inside.
+
+

Test PASSED if expected result matched obtained result, and FAILED otherwise. +
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/finish.html b/mozilla/java/webclient/test/manual/src/html/manual/finish.html new file mode 100644 index 00000000000..d9a4d653d6a --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/finish.html @@ -0,0 +1,31 @@ + + + + +The end of Webclient tests + + +
+ +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/index.html b/mozilla/java/webclient/test/manual/src/html/manual/index.html new file mode 100644 index 00000000000..bbe0af29cb9 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/index.html @@ -0,0 +1,40 @@ + + + + +Start page of manual webclient tests + + +

Manual webclient tests

+To continue previous session of test, please click "Continue button".
+To run a new session of tests, please select or unselect tests, that you want run and then press a Start button.
+
+ +
+

+ + + +

+ + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/applets/1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/applets/1.html new file mode 100644 index 00000000000..6317f330340 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/applets/1.html @@ -0,0 +1,42 @@ + + + + + +Test on Mouse Events + + + + + + + + + +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.1.html new file mode 100644 index 00000000000..26a11935cb9 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.1.html @@ -0,0 +1,29 @@ + + + + +Frame test 1 (1 frame) + + +This is 1 frame + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.2.html new file mode 100644 index 00000000000..87627cf1633 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.2.html @@ -0,0 +1,29 @@ + + + + +Frame test 1 (2 frame) + + +This is 2 frame + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.3.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.3.html new file mode 100644 index 00000000000..ca593a7ab8a --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.3.html @@ -0,0 +1,36 @@ + + + + +Frame test 1 (3 frame) + + + +This is 3 frame +
+
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.html new file mode 100644 index 00000000000..a0e82bbc3cd --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/1.html @@ -0,0 +1,36 @@ + + + + +Frame test 1 + + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.1.html new file mode 100644 index 00000000000..6dea96e4357 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.1.html @@ -0,0 +1,60 @@ + + + + +Frame test 2 (1 frame) + + +

This is 1 frame

+The scorbars should be present on this frame. +And last line "this is last line" should be present at the end of frame
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+this is last line + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.2.html new file mode 100644 index 00000000000..764bc33a9e9 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.2.html @@ -0,0 +1,65 @@ + + + + +Frame test 2 (2 frame) + + +

This is 2 frame

+The scollbars MUST NOT be present on this frame.
+ +Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+Line for scrolling
+this is last line + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.3.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.3.html new file mode 100644 index 00000000000..3a4f0ed0f70 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.3.html @@ -0,0 +1,38 @@ + + + + +Frame test 2 (3 frame) + + +This is 3 frame
+This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.This_is_very_long_line.
+
+Horizontal scrollbars should be present on this frame +
+
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.html new file mode 100644 index 00000000000..72d0ee69ba5 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/2.html @@ -0,0 +1,36 @@ + + + + +Frame test 2 + + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.1.html new file mode 100644 index 00000000000..11110a8f721 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.1.html @@ -0,0 +1,29 @@ + + + + +Frame test 3 (1.1 frame) + + +This is 1.1 frame + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.2.html new file mode 100644 index 00000000000..f62bc70c920 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.2.html @@ -0,0 +1,29 @@ + + + + +Frame test 3 (1.2 frame) + + +This is 1.2 frame + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.html new file mode 100644 index 00000000000..3d5e402d509 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.1.html @@ -0,0 +1,35 @@ + + + + +Frame test 3(1 frameset) + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.1.html new file mode 100644 index 00000000000..2937b1722bf --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.1.html @@ -0,0 +1,29 @@ + + + + +perfecto + + +This is left bottom frame + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.2.html new file mode 100644 index 00000000000..0dfe95347a5 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.2.html @@ -0,0 +1,29 @@ + + + + +perfecto + + +This is right bottom frame + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.html new file mode 100644 index 00000000000..3e6cb595f24 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.2.html @@ -0,0 +1,36 @@ + + + + +Frame test 3 (2 frame) + + +This is 2 frame
+ +
+
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.html new file mode 100644 index 00000000000..3ee4c8d654f --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/3.html @@ -0,0 +1,35 @@ + + + + +Frame test 3 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.1.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.1.1.html new file mode 100644 index 00000000000..c74eb9863a7 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.1.1.html @@ -0,0 +1,35 @@ + + + + +Frame test 4(Reqursive frameset) + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.1.html new file mode 100644 index 00000000000..81a0407fc66 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.1.html @@ -0,0 +1,35 @@ + + + + +Frame test 4(Reqursive frameset) + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.2.html new file mode 100644 index 00000000000..a08ade8b52d --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.2.html @@ -0,0 +1,37 @@ + + + + +Frame test 4 (2 frame) + + +This is 2 frame
+If application isn't freezes then this test passed + +
+
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.html new file mode 100644 index 00000000000..d3bf8b28687 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/4.html @@ -0,0 +1,35 @@ + + + + +Frame test 4 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.1.html new file mode 100644 index 00000000000..452f8568f74 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.1.html @@ -0,0 +1,32 @@ + + + + +Frame test 5 (1 frame) + + +This is 1 frame.
+ +If you see this frame and your browser supports frames then this test passed + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.2.html new file mode 100644 index 00000000000..c3b02b14329 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.2.html @@ -0,0 +1,36 @@ + + + + +Frame test 5 (2 frame) + + +This is 2 frame
+ +
+
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.html new file mode 100644 index 00000000000..4d9b7867205 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/5.html @@ -0,0 +1,46 @@ + + + + +Frame test 5 + + + + + + + + +This block shoould be shown only if your browser unsupport frames.<BR> +Else this test FAILED. +<hr> +<form action=<CGI_BIN_ROOT>/results.cgi method=post target="_top"> +<input type=hidden name=testID value=manual/rendering/frames/5> +<input type=submit name=good value=PASSED> +<input type=submit name=bad value=FAILED> +</form> + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.1.html new file mode 100644 index 00000000000..9b6851c0ea7 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.1.html @@ -0,0 +1,30 @@ + + + + +Frame test 6 (1 frame) + + +This is 1 frame.
+ + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.2.html new file mode 100644 index 00000000000..9f4d5670444 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.2.html @@ -0,0 +1,36 @@ + + + + +Frame test 6 (2 frame) + + +This is 2 frame
+ +
+
/results.cgi method=post target="_top"> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.html new file mode 100644 index 00000000000..abd75ec14d4 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/frames/6.html @@ -0,0 +1,42 @@ + + + + +Frame test 6 + + +This is NOFRAMES block. And this page has a UNCLOSED frameset +<hr> +<form action=<CGI_BIN_ROOT>/results.cgi method=post target="_top"> +<input type=hidden name=testID value=manual/rendering/frames/6> +<input type=submit name=good value=PASSED> +<input type=submit name=bad value=FAILED> +</form> + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/1.html new file mode 100644 index 00000000000..69a514d87fd --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/1.html @@ -0,0 +1,36 @@ + + + + +HTML's test page 1 + + +

HTML's test page 1

+This test passed if background image is shown. +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/2.html new file mode 100644 index 00000000000..ad58ef28acb --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/2.html @@ -0,0 +1,36 @@ + + + + +HTML's test page 2 + + +

HTML's test page 2

+This test passed if background color is red. +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/3.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/3.html new file mode 100644 index 00000000000..8d6091f8fad --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/3.html @@ -0,0 +1,33 @@ + + + + +

HTML's test page 3

+It's just a simple html w/o title and head +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/4.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/4.html new file mode 100644 index 00000000000..cb6b7a72760 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/4.html @@ -0,0 +1,31 @@ + + + + +

HTML's test page 4

+It's just a simple html w/o closed tags +
+
/results.cgi method=post> + + + +
diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/5.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/5.html new file mode 100644 index 00000000000..5392f8ef8b3 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/5.html @@ -0,0 +1,32 @@ + + + +HTML's test page 5 + +This is simple page without body tag. +This text shouldn't be normaly shoun +
+
/results.cgi method=post> + + + +
diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/6.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/6.html new file mode 100644 index 00000000000..1a784c687ff --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/6.html @@ -0,0 +1,38 @@ + + + +HTML's test page 6 + + +This text in the head tag + + +

HTML's test page 6

+It's simple html with mixed body head and title tag. +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/7.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/7.html new file mode 100644 index 00000000000..7bf28b68134 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/html/7.html @@ -0,0 +1,40 @@ + + + + +/images/> + +HTML's test page 7 + + + +

HTML's test page 7

+If you see image on this page, then this test passed.
+ +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/1.html new file mode 100644 index 00000000000..56166811166 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/1.html @@ -0,0 +1,89 @@ + + + + + +

Javascript test page 1

+1st link
+2nd link
+3th link
+4th link
+5th link
+
+
/results.cgi method=post> + + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/2.html new file mode 100644 index 00000000000..de9d78a9dce --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/2.html @@ -0,0 +1,49 @@ + + + +LiveConnect.method.argument.object + + + +

Javascript test page 2

+
+ +Check indicates test pass. +
+

Page Content!

+Please, wait for 5 second and if checkbox checked - test is passed + +
+
/results.cgi method=post> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/3.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/3.html new file mode 100644 index 00000000000..de081a04767 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/3.html @@ -0,0 +1,50 @@ + + + +LiveConnect.method.argument.object + + + +

Javascript test page 3

+
+ +Check indicates test pass. +
+

Page Content!

+THis page have error in javascript. Checkbox must be always unchecked and +after 5 seconds you must see javascript error. + +
+
/results.cgi method=post> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/4.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/4.html new file mode 100644 index 00000000000..f064430a76a --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/4.html @@ -0,0 +1,67 @@ + + + +LiveConnect.method.argument.object + + + +

Javascript test page 4

+
+ +Check indicates test pass. +
+

The Applet!

+ + +

Page Content!

+ + +Please, wait for 5 seconds and checkbox must be checked and applet must be shown "right value!". +
+
/results.cgi method=post> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/DemoApplet.java b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/DemoApplet.java new file mode 100644 index 00000000000..c433679b53a --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/javascript/DemoApplet.java @@ -0,0 +1,49 @@ +/* -*- 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): + */ +import java.applet.*; +import java.awt.*; + +public class DemoApplet extends Applet { + + public Dimension dim=null; + public String str=""; + public int val1; + + public void init () { + } + + public void paint (Graphics g) { + + Rectangle d = getBounds (); + String s=(dim==null ? "NULL" : dim.toString()); + + g.setColor (Color.black); + g.fillRect (d.x,d.y,d.width,d.height); + g.setColor (Color.green); + g.drawString (str,40,40); + } + + public boolean objectArg (String s) { + this.str=s; + repaint (); + return true; + } +} diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/1.html new file mode 100644 index 00000000000..f55b9f1c19e --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/1.html @@ -0,0 +1,42 @@ + + + + + +Table test 1 + + + +This page contains a simple table. + + + + +
This is table caption
first row first columnfirst row second columnfirst row third column
second row first columnsecond row second columnsecond row third column
+
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/2.html new file mode 100644 index 00000000000..e12d0673b57 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/2.html @@ -0,0 +1,58 @@ + + + + + +Table test 2 + + + +This page contains nested tables +
+ + + + + + + +
This table contains 2 other tables
first cell + + + + +
This is 1 nested table
12
34
+
+ + + + +
This is 2 nested table
12
34
+
+
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/3.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/3.html new file mode 100644 index 00000000000..c9adc89f31f --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/3.html @@ -0,0 +1,61 @@ + + + + + +Table test 3 + + + +There is a 3 tables on this page + + + + + +
This is 1th table
first cell +second cell +third cell
+ + + + + +
This is 2th table
first cell +second cell +third cell
+ + + + + +
This is 3th table
first cell +second cell +third cell
+
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.1.html new file mode 100644 index 00000000000..2e1d0137799 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.1.html @@ -0,0 +1,38 @@ + + + + + +The following table contains unclosed nested table. + + +
First cell +Text before unclosed table + + + +Text after unclosed table + + +
This table width should be 80% of the Page
first cellsecond cellthird cell
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.2.html new file mode 100644 index 00000000000..2971e791815 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.2.html @@ -0,0 +1,32 @@ + + + + +If upper frame is empty then test failed +
+
/results.cgi method=post name=testForm target=_top> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.html new file mode 100644 index 00000000000..f156bbbabfd --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/4.html @@ -0,0 +1,31 @@ + + + + + +Table test 4 + + + + + + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/5.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/5.html new file mode 100644 index 00000000000..e10b1b0324f --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/5.html @@ -0,0 +1,100 @@ + + + + +Table test 5 + + + +

Tests Table Border Attribute

+ + + +
This Tables Border is Set To equal 0
first cellsecond cellthird cell +
+ + + +
This Tables Border is Set To equal 1
first cellsecond cellthird cell +
+ + + + +
This Tables Border is Set To equal 2
first cellsecond cellthird cell +
+ + + + + +
This Tables Border is Set To equal 3
first cellsecond cellthird cell +
+ + + +
This Tables Border is Set To equal 4
first cellsecond cellthird cell +
+ + + + + + + + +
This Tables Border is Set To equal 5
first cellsecond cellthird cell +
+ + + +
This Tables Border is Set To equal 10
first cellsecond cellthird cell +
+ + + +
This Tables Border is Set To equal 15
first cellsecond cellthird cell +
+ + + +
This Tables Border is Set To equal 25
first cellsecond cellthird cell +
+ + + +
This Tables Border is Set To equal 250
first cellsecond cellthird cell +
+
+
/results.cgi method=post> + + + + +
+ + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.1.html new file mode 100644 index 00000000000..943fb8ba22f --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.1.html @@ -0,0 +1,30 @@ + + + + +The following table contains unclosed rows. + + + +
First cellSecond cell
First cellSecond cell
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.2.html new file mode 100644 index 00000000000..ba8297a2fc3 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.2.html @@ -0,0 +1,32 @@ + + + + +If table in upper frame badly rendered then this test FAILED +
+
/results.cgi method=post target=_top> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.html new file mode 100644 index 00000000000..b6c312d59fe --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/tables/6.html @@ -0,0 +1,31 @@ + + + + + +Table test 6 + + + + + + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/1.html new file mode 100644 index 00000000000..d49e2207e8c --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/1.html @@ -0,0 +1,41 @@ + + + + +Target test 1 + + +

Target test page 1

+This link +is pointed to the www.mozilla.org and unexisted target window. +New window should be opened by default.
+ +If new window opened then this test PASSED + +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.1.html new file mode 100644 index 00000000000..c1a772081a9 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.1.html @@ -0,0 +1,30 @@ + + + + +Target test2 - second frame + + +

This is empty page

+Link from bottom frame should be shown here. + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.1.html new file mode 100644 index 00000000000..e4429dda2c1 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.1.html @@ -0,0 +1,32 @@ + + + + +perfecto + + +This is left bottom frame +This link with target _parent.
+The test passed if this link open document in a bottom frame.
+Press back and continue with next link. + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.2.html new file mode 100644 index 00000000000..748b40986d1 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.2.html @@ -0,0 +1,32 @@ + + + + +perfecto + + +This is right bottom frame +This link with target _top.
+Test passed if link opened index in this window w/o frames.
+Press back and continue with next link. + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.html new file mode 100644 index 00000000000..541b5cfca90 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.2.html @@ -0,0 +1,36 @@ + + + + +Target test2 - second frame + + +This link +should be rendered in the upper frame. +
+
/results.cgi method=post target=_top> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.html new file mode 100644 index 00000000000..58752086c7a --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/2.html @@ -0,0 +1,35 @@ + + + + +Target test 2 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.1.html new file mode 100644 index 00000000000..ba577c0e634 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.1.html @@ -0,0 +1,30 @@ + + + + +Target test 3 - first frame frame + + +Please click on this link.
+New page should be loaded to the this frame. + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.2.html new file mode 100644 index 00000000000..3f1abef2563 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.2.html @@ -0,0 +1,34 @@ + + + + +Target test 3 - second frame + + +
+
/results.cgi method=post target=_top> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.html new file mode 100644 index 00000000000..8d0a64e6893 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/3.html @@ -0,0 +1,35 @@ + + + + +Target test 3 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.1.html new file mode 100644 index 00000000000..38f1b69276e --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.1.html @@ -0,0 +1,31 @@ + + + + +Target test 4 - first frame + + +Please click on this link.
+New page should be loaded to main browser window. Click BACK and then +set PASS or FAIL + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.2.html new file mode 100644 index 00000000000..76c5130dcb3 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.2.html @@ -0,0 +1,34 @@ + + + + +Target test 4 - second frame + + +
+
/results.cgi method=post target=_top> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.html new file mode 100644 index 00000000000..a7826ff3062 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/4.html @@ -0,0 +1,35 @@ + + + + +Target test 4 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.1.html new file mode 100644 index 00000000000..d6070309d65 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.1.html @@ -0,0 +1,31 @@ + + + + +Target test 5 - first frame + + +Please click on this link.
+New page should be loaded to the upper frame. + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.2.html new file mode 100644 index 00000000000..3aa0c5462c1 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.2.html @@ -0,0 +1,29 @@ + + + + +Target test 5 - second frame + + +This is empty page. Just for creating nested framesets + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.html new file mode 100644 index 00000000000..a7b1aa3f6bf --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.1.html @@ -0,0 +1,34 @@ + + + + +Target test 5 - first frameset + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.2.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.2.html new file mode 100644 index 00000000000..faea5eca5c2 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.2.html @@ -0,0 +1,34 @@ + + + + +Target test 5 - second frame + + +
+
/results.cgi method=post target=_top> + + + +
+ + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.html new file mode 100644 index 00000000000..132c7cd2f97 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/5.html @@ -0,0 +1,35 @@ + + + + +Target test 5 + + + + + + + + + + + diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/6.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/6.html new file mode 100644 index 00000000000..451af97fdc0 --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/6.html @@ -0,0 +1,41 @@ + + + + +Target test 6 + + +

Target test page 6

+This link and +this should be opened in the +2 different new windows. + +If 2 windows opened then this test PASSED + +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/7.html b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/7.html new file mode 100644 index 00000000000..04ca8fc2edf --- /dev/null +++ b/mozilla/java/webclient/test/manual/src/html/manual/rendering/targets/7.html @@ -0,0 +1,42 @@ + + + + +Target test 7 + + +

Target test page 7

+
    +
  1. Open this page
    + - new window(1) with www.mozilla.org should be opened +
  2. Open this page
    + - page should be loaded to the opened window(1) +
+ +
+
/results.cgi method=post> + + + +
+ + \ No newline at end of file diff --git a/mozilla/java/webclient/test/manual/src/images/0.gif b/mozilla/java/webclient/test/manual/src/images/0.gif new file mode 100644 index 00000000000..b9aba9d3989 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/0.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/1.gif b/mozilla/java/webclient/test/manual/src/images/1.gif new file mode 100644 index 00000000000..8007cbb1f76 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/1.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/2.gif b/mozilla/java/webclient/test/manual/src/images/2.gif new file mode 100644 index 00000000000..63fa05e629b Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/2.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/3.gif b/mozilla/java/webclient/test/manual/src/images/3.gif new file mode 100644 index 00000000000..babb3b40b77 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/3.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/4.gif b/mozilla/java/webclient/test/manual/src/images/4.gif new file mode 100644 index 00000000000..14ab60d3178 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/4.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/5.gif b/mozilla/java/webclient/test/manual/src/images/5.gif new file mode 100644 index 00000000000..307925cb479 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/5.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/6.gif b/mozilla/java/webclient/test/manual/src/images/6.gif new file mode 100644 index 00000000000..920856e16be Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/6.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/7.gif b/mozilla/java/webclient/test/manual/src/images/7.gif new file mode 100644 index 00000000000..7e2bd6d6994 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/7.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/8.gif b/mozilla/java/webclient/test/manual/src/images/8.gif new file mode 100644 index 00000000000..7eb131c8924 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/8.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/9.gif b/mozilla/java/webclient/test/manual/src/images/9.gif new file mode 100644 index 00000000000..757a0279ac3 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/9.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/background.gif b/mozilla/java/webclient/test/manual/src/images/background.gif new file mode 100644 index 00000000000..c5fea3e2a63 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/background.gif differ diff --git a/mozilla/java/webclient/test/manual/src/images/passed.gif b/mozilla/java/webclient/test/manual/src/images/passed.gif new file mode 100644 index 00000000000..dc1ebe04b03 Binary files /dev/null and b/mozilla/java/webclient/test/manual/src/images/passed.gif differ diff --git a/mozilla/java/webclient/test/manual/utils/configurator.pl b/mozilla/java/webclient/test/manual/utils/configurator.pl new file mode 100644 index 00000000000..3a13e57225e --- /dev/null +++ b/mozilla/java/webclient/test/manual/utils/configurator.pl @@ -0,0 +1,92 @@ +#!/bin/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): + +################################################################### +# +# configurator.pl - configuration utility +# + + +sub mkdir_p { + my @dirs=split(/$file_separator/,shift(@_)); + my $curdir=""; + for($i=0;$i<$#dirs;$i++) { + $curdir.=$dirs[$i].$file_separator; + mkdir($curdir,0775); + } +} + +if( $#ARGV != 2) { + printf "Usage: perl configurator.pl infile outfile template\n"; + exit 0; +}; + +# Global variables +$infile = $ARGV[0]; +$outfile = $ARGV[1]; +$template = $ARGV[2]; +$infile =~ s#\\#/#g; +$outfile =~s#\\#/#g; +$template=~s#\\#/#g; + +$file_separator = "\/"; + + + +open( IN, $infile ) || die("Can't open $infile for reading. $!\n"); +open( TEMPLATE, $template ) || die ("Can't open template file $template for reading. $!\n"); + +# Now we will read out all the template file lines into the array. +@storage =