Test cases.

git-svn-id: svn://10.0.0.236/trunk@84612 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org 2001-01-08 23:24:11 +00:00
parent e7645cf64f
commit 1707580b5c
33 changed files with 7741 additions and 0 deletions

View File

@ -0,0 +1,41 @@
Browser responsiveness testbase.
1. How to build.
Before building of responsiveness testbase you need to edit
CommonProperties config file (TOP/config/CommonProperties).
Please change HTML_ROOT, HTML_ROOT_DIR, CGI_BIN_ROOT, CGI_BIN_ROOT_DIR,
PERL_DIR properties to your values. This config file is self
documented and contain example values.
After that please cd to the TOP/build directory and do make
2. Requirements.
To use responsiveness testbase you needed in 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).
You may use this testbase with any Browser.
You do not need to build Mozilla and webclient.
3. How to use.
After performing step 1 and 2 run any browser and perform
the following steps:
- load $(HTML_ROOT)/responsiveness/index.html.
- from this html you may run tests (Button "Run Tests")
or manage Testbase logs (to compare logs use Button
"Manager of Test Logs")
- press "Run Tests" button and select select the subset
of tests to execute. Also, add descriptions and Unique
ID of that execution
- execute tests and see the log of execution
- every testcase is self documented and you need to read
instruction about how to process every testcase
- execute tests with different browser and see the log
of execution
- from $(HTML_ROOT)/responsiveness/index.html start
Manager of Tests Logs and compare 2 logs for different
browsers.

View File

@ -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
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)/manager.cgi $(SRC)/cgi/manager.cgi
@chmod a+x $(CGI_BIN_ROOT_DIR)/manager.cgi
@echo Creating chkbox group in start.cgi ...
@perl $(UTILS)/lst_gen.pl $(CGI_BIN_ROOT_DIR)/start.cgi $(CONFIG)/$(LST_FILE)
lst:
@echo Copy list file ...
@cp -f $(CONFIG)/WebClientTests.lst $(CGI_BIN_ROOT_DIR)

View File

@ -0,0 +1,66 @@
#!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
all: html cgi lst
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
@echo Creating chkbox group in $(START_HTML) ...
@perl $(UTILS)/lst_gen.pl $(HTML_ROOT_DIR)/$(START_HTML) $(CONFIG)/$(LST_FILE)
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)/manager.cgi $(SRC)/cgi/manager.cgi
@echo Creating chkbox group in start.cgi ...
@perl $(UTILS)/lst_gen.pl $(CGI_BIN_ROOT_DIR)/start.cgi $(CONFIG)/$(LST_FILE)
lst:
@echo Copy list file ...
@copy -f $(CONFIG)/WebClientTests.lst $(CGI_BIN_ROOT_DIR)

View File

@ -0,0 +1,26 @@
HTML_LIST= \
responsiveness/finish.html \
responsiveness/index.html \
responsiveness/start.html \
responsiveness/images/1.html \
responsiveness/images/large_1.html \
responsiveness/large/1.html \
responsiveness/large/large_1.html \
responsiveness/large/2.html \
responsiveness/large/large_2.html \
responsiveness/resize/1.html \
responsiveness/resize/large_1.html \
responsiveness/resize/2.html \
responsiveness/resize/large_2.html \
responsiveness/resize/3.html \
responsiveness/resize/large_3.html \
responsiveness/search/1.html \
responsiveness/search/large_1.html \
responsiveness/table/1.html \
responsiveness/table/large_1.html \
$(NULL)

View File

@ -0,0 +1,90 @@
##############################################################################
# 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://earth:11111/webclient_resp
HTML_ROOT=http://rampriya.eng:8080/webclient/resp
############################## 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=/set/Mozilla/sva/httpd/docroot/webclient_resp
HTML_ROOT_DIR=/opt/JavaWebServer1.1.3/public_html/webclient/resp
############################## 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://earth:11111/cgi-bin/webclient/resp
CGI_BIN_ROOT=http://rampriya.eng:8080/cgi-bin/webclient/resp
############################## 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=/set/Mozilla/sva/httpd/cgi-bin/webclient/resp
CGI_BIN_ROOT_DIR=/opt/JavaWebServer1.1.3/public_html/cgi-bin/webclient/resp
############################## HTTP_URL ##############################
# HTTP_URL should be equals to well http url
# for example on http://earth:8080/index.html
# HTTP_URL=http://earth:11111/
HTTP_URL=http://rampriya.eng:8080/
############################## PERL_DIR ##############################
# PERL_DIR should be pointed to directory on your filesystem
# where perl program located
# for example on /usr/local/bin
# PERL_DIR=/usr/local/bin
PERL_DIR=/pkg/gnu/bin
############################## 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=responsiveness/start.html
START_HTML_NAME=start.html
FINISH_HTML=responsiveness/finish.html
DESCRIPTION_FILE=description
COMPARISIONS_FOLDER_NAME=Comparisions

View File

@ -0,0 +1,8 @@
responsiveness/images/1
responsiveness/large/1
responsiveness/large/2
responsiveness/resize/1
responsiveness/resize/2
responsiveness/resize/3
responsiveness/search/1
responsiveness/table/1

View File

@ -0,0 +1,80 @@
#!<PERL_DIR>/perl
use CGI qw(:standard);
#/*
# * 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):
# */
$LogPath = "<HTML_ROOT_DIR>/log";
$URLRoot = "<HTML_ROOT>/log";
$RESULT_FILE = "<RESULT_FILE>";
$CURRENT_LOG = "<CURRENT_LOG_DIR>";
$DESCRIPTION_FILE = "<DESCRIPTION_FILE>";
#Do not modify this line!!!
$LogNPath = "";
&CopyLog;
exit 0;
sub CopyLog{
#Open current log
open(DESCR, "$LogPath/$CURRENT_LOG/$DESCRIPTION_FILE");
@LINES1=<DESCR>;
($tmp, $uid) = split(/=/, $LINES1[0]);
($tmp, $description) = split(/=/, $LINES1[1]);
close(DESCR);
unlink("$LogPath/$CURRENT_LOG/$DESCRIPTION_FILE");
open(FILE, "$LogPath/$CURRENT_LOG/$RESULT_FILE");
@LINES=<FILE>;
$time=localtime(time);
$aa = $time;
$time=~s/\ |\:/_/g;
chomp($uid);
$LogNPath=$uid;
mkdir("$LogPath/$LogNPath", 0777) || die "cannot mkdir ";
open(FILE_LOG, ">$LogPath/$LogNPath/log.html");
print FILE_LOG "<html>\n<head>\n<title>Log for Responsiveness Test of Current Browser for $aa</title>\n</head>";
print FILE_LOG "<body>\n<center><H1>Responsiveness Tests for Browser</H1>\n<H1>$aa</H1><H1>Unique ID: $uid</H1><hr hoshade></center>\n<p><b>DESCRIPTIONS of these tests:&nbsp</b>$description</p>\n<table bgcolor=\"#99FFCC\" border=1>\n<tr bgcolor=\"lightblue\"><td>Test name</td><td>Time (seconds)</td></tr>\n";
$SIZE=@LINES;
for ($i=0;$i<=$SIZE;$i++) {
$_=$LINES[$i];
($name, $value) = split(/=/, $_);
print FILE_LOG "<tr><td>$name</td><td><center>$value</center></td></tr>\n";
}
print FILE_LOG "</table>\n</body></html>";
close FILE;
close FILE_LOG;
open(FILE_DESCR, ">$LogPath/$LogNPath/$DESCRIPTION_FILE");
print FILE_DESCR @LINES1;
print FILE_DESCR "time=$aa";
close FILE_DESCR;
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");
}

View File

@ -0,0 +1,228 @@
#!<PERL_DIR>/perl
use CGI;
#/*
# * 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):
# */
$LogPath = "<HTML_ROOT_DIR>/log";
$URLRoot = "<HTML_ROOT>/log";
$LST_FILE = "<TEMP_LST_FILE>";
$RESULT_FILE = "<RESULT_FILE>";
$CURRENT_LOG = "<CURRENT_LOG_DIR>";
$DESCR_FILE = "$LogPath/<CURRENT_LOG_DIR>/<DESCRIPTION_FILE>";
$DESCRIPTION_FILE_NAME = "<DESCRIPTION_FILE>";
$COMPARISIONS_FOLDER_NAME = "<COMPARISIONS_FOLDER_NAME>";
$LogNPath = "";
$file_name = "";
$query = new CGI;
######################### Main ########################################
$stage = $query->param('stage');
if($stage == 1){
CreateLogsList();
}elsif($stage == 2){
$gold_res = $query->param('gold');
$comp_res = $query->param('compared');
#@logsToDiff = $query->param('LogsToDiff');
DiffIt();
}
exit 0;
#######################################################################
sub CreateLogsList{
opendir THATDIR, $LogPath;
@allfiles = grep -d, map "$LogPath/$_", grep !/^\.\.?$/, readdir THATDIR;
closedir THATDIR;
$size = @allfiles;
%IDs = ();
for($i=0; $i<$size; $i++){
$_ = $allfiles[$i];
s#$LogPath/##;
if($_=~/CurrentLog/){
}else{
if((-e "$LogPath/$_/$RESULT_FILE") && (-e "$LogPath/$_/$DESCRIPTION_FILE_NAME")){
open(DESCR_FILE, "$LogPath/$_/$DESCRIPTION_FILE_NAME");
@LINES = <DESCR_FILE>;
close(DESCR_FILE);
($tmp, $descr) = split(/=/, $LINES[1]);
($tmp, $time) = split(/=/, $LINES[2]);
chomp($descr);
chomp($time);
$descr = cutString($descr);
$tmp = "Unique ID: $_ \\nExecution date and time: \\n$time \\nDescription: \\n$descr";
$IDs{$_} = $tmp;
#print "<tr><td><input type=checkbox name=TestsToDiff value=\"$_\">$_</td><td>$time</td><td>$descr</td></tr>\n";
}else{
#print "no file in : $_\n";
}
}
}
$javascript0 =" function checkit() {\n if(document.form1.gold.selectedIndex==document.form1.compared.selectedIndex) {\n";
$javascript0 .=" alert(\"You cannot diff equals logs\\n\"+\n \"Please select a different logs to diff.\")\n";
$javascript0 .=" }else{\n document.form1.submit();\n }\n";
$javascript0 .=" }\n";
$javascript1 .=" function Change_comment1() {\n";
$javascript2 .=" function Change_comment2() {\n";
$i=0;
foreach $key(keys(%IDs)){
$javascript1 .=" if (document.form1.gold.selectedIndex==$i) document.form1.first.value=\"$IDs{$key}\";\n";
$javascript2 .=" if (document.form1.compared.selectedIndex==$i) document.form1.second.value=\"$IDs{$key}\";\n";
$i++;
$options_string1 .= "\n <OPTION value=\"$key\" >$key</OPTION>";
$options_string2 .= "\n <OPTION value=\"$key\" >$key</OPTION>";
}
$javascript1 .= " }\n";
$javascript2 .= " }\n";
$javascript = "<script language=\"JavaScript\">\n".$javascript0.$javascript1.$javascript2."</script>\n";
print "Content-type:text/html\n\n";
print "<html>\n<head>\n<title>Select Log of responsiveness test for making diff</title>\n</head>\n";
print "<body onload=\"Change_comment2();Change_comment1()\">\n$javascript\n<center><H1>Select Log of responsiveness test for making diff</H1></center>\n";
print "<form action=\"<CGI_BIN_ROOT>/manager.cgi\" name=form1 method=post>\n<table border=0>\n";
print "<tr>\n <td width=\"30%\" align=right><b>Gold:</b> <SELECT name=gold onchange=\"Change_comment1()\">";
print "$options_string1</SELECT>\n </td>\n <td><textarea name=first readonly rows=5 cols=40></textarea></td>\n</tr>\n";
print "<tr>\n <td align=right><b>Compared:</b> <SELECT name=compared onchange=\"Change_comment2()\">$options_string2</SELECT>";
print "</td>\n <td ><textarea name=second readonly rows=5 cols=40></textarea></td>\n</tr>\n";
print "</table>\n";
print "<input type=hidden name=stage value=2>\n<!input type=submit value=\"Make diff!\">\n";
print "<input type=button name=but1 value=\"Make Diff!\" onclick=\"checkit()\">";
print "</form>\n";
print "</body>\n</html>";
}
#######################################################################
sub DiffIt{
open(RESULT_FILE_GOLD, "$LogPath/$gold_res/$RESULT_FILE");
@LINES_GOLD = <RESULT_FILE_GOLD>;
close(RESULT_FILE_GOLD);
open(RESULT_FILE_COMP, "$LogPath/$comp_res/$RESULT_FILE");
@LINES_COMP = <RESULT_FILE_COMP>;
close(RESULT_FILE_COMP);
$SIZE_GOLD = @LINES_GOLD;
$SIZE_COMP = @LINES_COMP;
open(DESCRIPTION_FILE_GOLD, "$LogPath/$gold_res/$DESCRIPTION_FILE_NAME");
@LINES_DESCR_GOLD = <DESCRIPTION_FILE_GOLD>;
close(DESCRIPTION_FILE_GOLD);
open(DESCRIPTION_FILE_COMP, "$LogPath/$comp_res/$DESCRIPTION_FILE_NAME");
@LINES_DESCR_COMP = <DESCRIPTION_FILE_COMP>;
close(DESCRIPTION_FILE_COMP);
($tmp, $descr_gold) = split(/=/, $LINES_DESCR_GOLD[1]);
($tmp, $time_gold) = split(/=/, $LINES_DESCR_GOLD[2]);
chomp($descr_gold);
chomp($time_gold);
($tmp, $descr_comp) = split(/=/, $LINES_DESCR_COMP[1]);
($tmp, $time_comp) = split(/=/, $LINES_DESCR_COMP[2]);
chomp($descr_comp);
chomp($time_comp);
for($i=0;$i<$SIZE_GOLD;$i++){
($test_id, $result) = split(/=/, $LINES_GOLD[$i]);
chomp($result);
$TestRes{$test_id} = $result;
}
for($i=0;$i<$SIZE_COMP;$i++){
($test_id, $result) = split(/=/, $LINES_COMP[$i]);
chomp($result);
if(defined $TestRes{$test_id}){
$tmp = $TestRes{$test_id};
$TestRes{$test_id} = "$tmp".";"."$result";
}else{
$TestRes{$test_id} = "0;"."$result";
}
}
foreach $key(keys(%TestRes)){
if($TestRes{$key}=~/;/){}else{
$TestRes{$key} = $TestRes{$key}.";0";
}
}
$file_name = "$gold_res"."_"."$comp_res".".html";
if(-d "$LogPath/$COMPARISIONS_FOLDER_NAME"){
open(FILE_COMPARISION, ">$LogPath/$COMPARISIONS_FOLDER_NAME/$file_name");
}else{
mkdir("$LogPath/$COMPARISIONS_FOLDER_NAME", 0777) || die "cannot mkdir ";
open(FILE_COMPARISION, ">$LogPath/$COMPARISIONS_FOLDER_NAME/$file_name");
}
print FILE_COMPARISION "<html>\n<head>\n<title>Diff of two tests</title>\n</head>\n";
print FILE_COMPARISION "<body>\n<H1>Diff between two tests, UID\'s is: $gold_res & $comp_res</H1>\n";
print FILE_COMPARISION "<font color=blue size=+1>Gold tests is: </font><br>\n<blockquote><b>Unique ID:</b> $gold_res<br>\n<b>Time:</b> $time_gold<br>\n<b>Description:</b> $descr_gold\n</blockquote>";
print FILE_COMPARISION "<font color=red size=+1>Compared tests is: </font><br>\n<blockquote><b>Unique ID:</b> $comp_res<br>\n<b>Time:</b> $time_comp<br>\n<b>Description:</b> $descr_comp\n</blockquote>\n";
print FILE_COMPARISION "<table border=1>\n";
print FILE_COMPARISION "<tr>\n <td align=center><b>Test name</b></td>\n <td align=center><b>Gold Result</b></td>\n <td align=center><b>Compared Result</b></td>\n <td align=center><b> % </b></td>\n</tr>\n";
foreach $key(keys(%TestRes)){
($gold, $comp) = split(/;/, $TestRes{$key});
if($gold!=0 && $comp!=0){
$proc = $gold - $comp / $gold;
$proc = $proc * 100;
}else{
if($gold==0){
$gold = "<b>undef</b>";
}
if($comp==0){
$comp = "<b>undef</b>";
}
$proc = "<b>undef</b>";
}
print FILE_COMPARISION "<tr>\n <td>$key</td>\n <td align=center>$gold</td>\n <td align=center>$comp</td>\n <td align=center>";
if($proc=~/undef/){
print FILE_COMPARISION "$proc";
}else{
printf FILE_COMPARISION "%d", $proc;
}
print FILE_COMPARISION "</td>\n</tr>\n";
}
print FILE_COMPARISION "</table>\n";
print FILE_COMPARISION "</body>\n</html>";
close FILE_COMPARISION;
redirect("$URLRoot/$COMPARISIONS_FOLDER_NAME/$file_name");
}
#######################################################################
sub cutString {
$input = shift(@_);
$in = 35;
$output = "";
$old_index = 0;
$tmp = $input;
while($in<length($input)) {
$index = index($input, " ", $in);
if($index!=-1){
$output .= substr($tmp, 0, $index-$old_index)."\\n";
$old_index = $index+1;
$tmp = substr($input, $old_index, length($input));
$in=$index+30;
}else{
$in+=30;
}
}
return $output.$tmp;
}
#######################################################################
sub redirect {
$new_url=shift(@_);
print "Status: 301 Redirect\n";
print "Content-type: text/html\n";
print "Location: $new_url\n\n\n";
}
#######################################################################

View File

@ -0,0 +1,102 @@
#!<PERL_DIR>/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):
#*/
$LOG_DIR="<HTML_ROOT_DIR>/log";
$HTML_ROOT="<HTML_ROOT>";
$LST_FILE="<TEMP_LST_FILE>";
$LOG_FILE="$LOG_DIR/<CURRENT_LOG_DIR>/<RESULT_FILE>";
$FINISH_HTML="<FINISH_HTML>";
#Define routines
sub getNextID {
my $currentID=shift(@_);
my $found=0;
my $nextID="";
open(LST,$LST_FILE) || die "Can't open $!";
while($test=<LST>) {
$test=~s/\r|\n|\s//g;
if($currentID eq $test) {
print "Current is $test";
$found=1;
last;
}
}
if($found==1) {
$nextID=<LST>;
$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=<STDIN>;
my $testID;
my $result;
my $time;
($testID,$time,$result)=split(/\&/,$parameters);
$testID=~s/testID\=//g;
$testID=~s/%2F/\//ig;
$time=~s/time=//g;
return ($testID,$time);
}
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");
}

View File

@ -0,0 +1,109 @@
#!<PERL_DIR>/perl
use CGI;
# /*
# * 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):
# */
$LogPath = "<HTML_ROOT_DIR>/log";
$URLRoot = "<HTML_ROOT>";
$LST_FILE = "<TEMP_LST_FILE>";
$RESULT_FILE = "<RESULT_FILE>";
$CURRENT_LOG = "<CURRENT_LOG_DIR>";
$DESCR_FILE = "$LogPath/<CURRENT_LOG_DIR>/<DESCRIPTION_FILE>";
$LogNPath = "";
$query = new CGI;
@testsToRun = $query->param('TestsToRun');
$descr = $query->param('description');
$uid = $query->param('uid');
open(LST,">$LST_FILE");
print LST join("\n",@testsToRun);
close(LST);
MakeLogDir();
if(-d "$LogPath/$uid"){
NewUidRequest();
}else{
CreateDescriptionFile();
StartTesting($testsToRun[0]);
}
exit 0;
sub MakeLogDir{
#Open current log
if(-e "$LogPath/$CURRENT_LOG"){
if(-e "$LogPath/$CURRENT_LOG/$RESULT_FILE"){
unlink("$LogPath/$CURRENT_LOG/$RESULT_FILE");
}
}else{
mkdir("$LogPath/$CURRENT_LOG", 0777);
}
}
#######################################################################
sub CreateDescriptionFile{
if(-e $DESCR_FILE){
unlink($DESCR_FILE);
}
open(LOG,">>".$DESCR_FILE) || die "ERROR $!";
print LOG "uid=$uid\n";
print LOG "description=$descr\n";
close(LOG);
}
sub NewUidRequest{
print "Content-type:text/html\n\n";
print "<html>\n<head>\n<title>Draft version of manual responsiveness tests.</title>\n</head>";
print "<body bgcolor=white>\n<b><font color=red>Error, such uid : $uid already exist in logs, please enter new Unique ID</font></b><BR>\n Draft version of manual responsiveness tests.<BR>";
print "Please select or unselect tests, that you want run, enter UID and Descriptions (it may be Browser, platform, OS etc.) of tests and then press a <B>Start</B> button.<hr>";
print "<form action=\"<CGI_BIN_ROOT>/start.cgi\" method=post>\n<CHECKBOX_GROUP>\n<hr>\n";
print "Please also enter a Description and UID of tests.<br>\n<table border=0 width=\"60\%\">\n";
print "<tr><td><b>Description: </b></td><td><textarea name=description rows=5 cols=40 >$descr</textarea></td></tr>\n";
print "<tr><td colspan=2><b><font color=red>Please enter another Unique ID</font></b></td></tr>";
print "<tr><td><b>Unique ID: </b></td><td><input type=text name=uid value=\"\" size=47><br></td></tr>\n";
print "</table>\n<input type=submit value=\"Start\">\n</form>\n</body>\n</html>";
}
#######################################################################
sub StartTesting {
my $value = shift(@_);
$value=~s/%2F/\//g;
print "Content-type:text/html\n\n";
print "<html><head>";
#print "<meta http-equiv=refresh content=\"5,$URLRoot/$value.html\">
print "</head><body bgcolor=white>";
print "First test page: <A href=$URLRoot/$value.html>$URLRoot/$value.html</A><BR>";
print "<HR><P align=left>\n";
print "All logs will be temporary placed to the <b>$LogPath/$CURRENT_LOG/$RESULT_FILE</b>.<BR>";
print "At the end of testing all log entries will be copied to unique directory: <b>$LogPath/$uid/</b>";
print "</P><HR>";
print "The following tests selected:<BR>";
print "<OL>";
print join("<BR>\n",@testsToRun);
print "</OL>";
print "</body></html>";
}

View File

@ -0,0 +1,32 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>The end of Webclient tests</title>
</head>
<body>
<form action="<CGI_BIN_ROOT>/finish.cgi" method=post>
<input type=submit value="Show me a log">
</form>
<body>
</html>

View File

@ -0,0 +1,40 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Loading document with large images</title>
</head>
<body >
<H1>Test on Load document with large images 1 - Loading two huge images.</H1>
<b>Note: Please, first read all the information below <b>
<table border=1>
<tr><td>&nbsp</td><td width="50%">Action</td><td>Expected result</td></tr>
<tr><td>1.</td><td>You need to measure page loading time via using external timer/clock. Press "Proceed" to load page with two big images.</td><td>Browser should load url with images now.</td></tr>
<tr><td>2.</td><td>When page is loaded completley, you need to enter a time of page loading and press button "SUBMIT"</td><td>Browser will continue with the tests. </td></tr>
</table>
<br>
<form >
<input type=button value=Proceed onClick="window.location='large_1.html'">
</form>
</body>
</html>

View File

@ -0,0 +1,40 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Loading document with large images</title>
</head>
<body >
<H1>Test Loading document with large images - Loading two huge images.</H1>
<img src="<HTML_ROOT>/images/Diagram1.gif" alt="First big image">
<br>
<img src="<HTML_ROOT>/images/Diagram2.gif" alt="Second big image">
<hr>
To process tests, please enter the "Loading time" in textbox and press SUBMIT button.
<form action=<CGI_BIN_ROOT>/results.cgi method=post>
<input type=hidden name=testID value=responsiveness/images/1>
<b>Loading time</b>&nbsp&nbsp<input type=text name=time value="" size=4><br><br>
<input type=submit name=good value=SUBMIT>
</form>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Responsiveness test base.</title>
</head>
<body>
<H1>Start page of responsiveness test base.</H1>
<form action="<CGI_BIN_ROOT>/manager.cgi" method=post>
<input type=hidden name=stage value=1>
<input type=submit value="Manager of Test Logs">
<input type=button name=new value="Run Tests" onClick="window.location='<START_HTML_NAME>'">
</form>
</body>
</html>

View File

@ -0,0 +1,40 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Large document Load test page 1</title>
</head>
<body >
<H1>Test on Large Document Load 1 - Loading a Huge Document.</H1>
<b>Note: Please, first read all the information below .<b>
<table border=1>
<tr><td>&nbsp</td><td width="50%">Action</td><td>Expected result</td></tr>
<tr><td>1.</td><td>You need to measure page loading time via using external timer/clock. Press "Proceed" to load huge page.</td><td>Browser should load huge url now.</td></tr>
<tr><td>2.</td><td>When page will be loaded, you need to enter a time of page loading and press button "SUBMIT"</td><td>Browser will continue with the tests. </td></tr>
</table>
<br>
<form>
<input type=button name=good value=Proceed onClick="window.location='large_1.html'">
</form>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Large document Load test page 2</title>
</head>
<body >
<H1>Test on Large Document Load 2 - Loading a source of Huge Document.</H1>
<b>Note: Please, first read all the information below <b>
<table border=1>
<tr><td>&nbsp</td><td width="50%">Action</td><td>Expected result</td></tr>
<tr><td>1.</td><td>Press "Proceed" to load huge page.</td><td>Browser should load huge url now.</td></tr>
<tr><td>2.</td><td>When Browser finishes loading the page, start View->View Page Source and measure loading time via external timer/clock. </td><td>Browser should correctly load source of html. </td></tr>
<tr><td>3.</td><td>Return to the html view (View->View Page Source) and submit loading time to the specific textbox and press "SUBMIT" button to continue the tests. </td><td>Browser should correctly load html and all components inside. Browser will continue with the tests.</td></tr>
</table>
<br>
<form>
<input type=button name=good value=Proceed onClick="window.location='large_2.html'">
</form>
</body>
</html>

View File

@ -0,0 +1,85 @@
<!--
/*
* 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):
*/
-->
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
1st large document for large document loading tests
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<b>Start of large document</b>
<hr>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Standard&nbsp;Edition</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="overview-tree.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For All Packages</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A HREF="java/applet/package-tree.html">java.applet</A>, <A HREF="java/awt/package-tree.html">java.awt</A>, <A HREF="java/awt/color/package-tree.html">java.awt.color</A>, <A HREF="java/awt/datatransfer/package-tree.html">java.awt.datatransfer</A>, <A HREF="java/awt/dnd/package-tree.html">java.awt.dnd</A>, <A HREF="java/awt/event/package-tree.html">java.awt.event</A>, <A HREF="java/awt/font/package-tree.html">java.awt.font</A>, <A HREF="java/awt/geom/package-tree.html">java.awt.geom</A>, <A HREF="java/awt/im/package-tree.html">java.awt.im</A>, <A HREF="java/awt/image/package-tree.html">java.awt.image</A>, <A HREF="java/awt/image/renderable/package-tree.html">java.awt.image.renderable</A>, <A HREF="java/awt/print/package-tree.html">java.awt.print</A>, <A HREF="java/beans/package-tree.html">java.beans</A>, <A HREF="java/beans/beancontext/package-tree.html">java.beans.beancontext</A>, <A HREF="java/io/package-tree.html">java.io</A>, <A HREF="java/lang/package-tree.html">java.lang</A>, <A HREF="java/lang/ref/package-tree.html">java.lang.ref</A>, <A HREF="java/lang/reflect/package-tree.html">java.lang.reflect</A>, <A HREF="java/math/package-tree.html">java.math</A>, <A HREF="java/net/package-tree.html">java.net</A>, <A HREF="java/rmi/package-tree.html">java.rmi</A>, <A HREF="java/rmi/activation/package-tree.html">java.rmi.activation</A>, <A HREF="java/rmi/dgc/package-tree.html">java.rmi.dgc</A>, <A HREF="java/rmi/registry/package-tree.html">java.rmi.registry</A>, <A HREF="java/rmi/server/package-tree.html">java.rmi.server</A>, <A HREF="java/security/package-tree.html">java.security</A>, <A HREF="java/security/acl/package-tree.html">java.security.acl</A>, <A HREF="java/security/cert/package-tree.html">java.security.cert</A>, <A HREF="java/security/interfaces/package-tree.html">java.security.interfaces</A>, <A HREF="java/security/spec/package-tree.html">java.security.spec</A>, <A HREF="java/sql/package-tree.html">java.sql</A>, <A HREF="java/text/package-tree.html">java.text</A>, <A HREF="java/util/package-tree.html">java.util</A>, <A HREF="java/util/jar/package-tree.html">java.util.jar</A>, <A HREF="java/util/zip/package-tree.html">java.util.zip</A>, <A HREF="javax/accessibility/package-tree.html">javax.accessibility</A>, <A HREF="javax/swing/package-tree.html">javax.swing</A>, <A HREF="javax/swing/border/package-tree.html">javax.swing.border</A>, <A HREF="javax/swing/colorchooser/package-tree.html">javax.swing.colorchooser</A>, <A HREF="javax/swing/event/package-tree.html">javax.swing.event</A>, <A HREF="javax/swing/filechooser/package-tree.html">javax.swing.filechooser</A>, <A HREF="javax/swing/plaf/package-tree.html">javax.swing.plaf</A>, <A HREF="javax/swing/plaf/basic/package-tree.html">javax.swing.plaf.basic</A>, <A HREF="javax/swing/plaf/metal/package-tree.html">javax.swing.plaf.metal</A>, <A HREF="javax/swing/plaf/multi/package-tree.html">javax.swing.plaf.multi</A>, <A HREF="javax/swing/table/package-tree.html">javax.swing.table</A>, <A HREF="javax/swing/text/package-tree.html">javax.swing.text</A>, <A HREF="javax/swing/text/html/package-tree.html">javax.swing.text.html</A>, <A HREF="javax/swing/text/html/parser/package-tree.html">javax.swing.text.html.parser</A>, <A HREF="javax/swing/text/rtf/package-tree.html">javax.swing.text.rtf</A>, <A HREF="javax/swing/tree/package-tree.html">javax.swing.tree</A>, <A HREF="javax/swing/undo/package-tree.html">javax.swing.undo</A>, <A HREF="org/omg/CORBA/package-tree.html">org.omg.CORBA</A>, <A HREF="org/omg/CORBA/DynAnyPackage/package-tree.html">org.omg.CORBA.DynAnyPackage</A>, <A HREF="org/omg/CORBA/ORBPackage/package-tree.html">org.omg.CORBA.ORBPackage</A>, <A HREF="org/omg/CORBA/portable/package-tree.html">org.omg.CORBA.portable</A>, <A HREF="org/omg/CORBA/TypeCodePackage/package-tree.html">org.omg.CORBA.TypeCodePackage</A>, <A HREF="org/omg/CosNaming/package-tree.html">org.omg.CosNaming</A>, <A HREF="org/omg/CosNaming/NamingContextPackage/package-tree.html">org.omg.CosNaming.NamingContextPackage</A></DL>
<HR>
<H2>
Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">class java.lang.<A HREF="java/lang/Object.html"><B>Object</B></A><UL>
<LI TYPE="circle">class javax.swing.<A HREF="javax/swing/AbstractAction.html"><B>AbstractAction</B></A> (implements javax.swing.<A HREF="javax/swing/Action.html">Action</A>, java.lang.<A HREF="java/lang/Cloneable.html">Cloneable</A>, java.io.<A HREF="java/io/Serializable.html">Serializable</A>)
<UL>

View File

@ -0,0 +1,85 @@
<!--
/*
* 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):
*/
-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:16:14 PDT 1999 -->
<TITLE>
2nd large document for large document loading tests
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<b>Start of large document</b>
<hr>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Standard&nbsp;Edition</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="overview-tree.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For All Packages</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A HREF="java/applet/package-tree.html">java.applet</A>, <A HREF="java/awt/package-tree.html">java.awt</A>, <A HREF="java/awt/color/package-tree.html">java.awt.color</A>, <A HREF="java/awt/datatransfer/package-tree.html">java.awt.datatransfer</A>, <A HREF="java/awt/dnd/package-tree.html">java.awt.dnd</A>, <A HREF="java/awt/event/package-tree.html">java.awt.event</A>, <A HREF="java/awt/font/package-tree.html">java.awt.font</A>, <A HREF="java/awt/geom/package-tree.html">java.awt.geom</A>, <A HREF="java/awt/im/package-tree.html">java.awt.im</A>, <A HREF="java/awt/image/package-tree.html">java.awt.image</A>, <A HREF="java/awt/image/renderable/package-tree.html">java.awt.image.renderable</A>, <A HREF="java/awt/print/package-tree.html">java.awt.print</A>, <A HREF="java/beans/package-tree.html">java.beans</A>, <A HREF="java/beans/beancontext/package-tree.html">java.beans.beancontext</A>, <A HREF="java/io/package-tree.html">java.io</A>, <A HREF="java/lang/package-tree.html">java.lang</A>, <A HREF="java/lang/ref/package-tree.html">java.lang.ref</A>, <A HREF="java/lang/reflect/package-tree.html">java.lang.reflect</A>, <A HREF="java/math/package-tree.html">java.math</A>, <A HREF="java/net/package-tree.html">java.net</A>, <A HREF="java/rmi/package-tree.html">java.rmi</A>, <A HREF="java/rmi/activation/package-tree.html">java.rmi.activation</A>, <A HREF="java/rmi/dgc/package-tree.html">java.rmi.dgc</A>, <A HREF="java/rmi/registry/package-tree.html">java.rmi.registry</A>, <A HREF="java/rmi/server/package-tree.html">java.rmi.server</A>, <A HREF="java/security/package-tree.html">java.security</A>, <A HREF="java/security/acl/package-tree.html">java.security.acl</A>, <A HREF="java/security/cert/package-tree.html">java.security.cert</A>, <A HREF="java/security/interfaces/package-tree.html">java.security.interfaces</A>, <A HREF="java/security/spec/package-tree.html">java.security.spec</A>, <A HREF="java/sql/package-tree.html">java.sql</A>, <A HREF="java/text/package-tree.html">java.text</A>, <A HREF="java/util/package-tree.html">java.util</A>, <A HREF="java/util/jar/package-tree.html">java.util.jar</A>, <A HREF="java/util/zip/package-tree.html">java.util.zip</A>, <A HREF="javax/accessibility/package-tree.html">javax.accessibility</A>, <A HREF="javax/swing/package-tree.html">javax.swing</A>, <A HREF="javax/swing/border/package-tree.html">javax.swing.border</A>, <A HREF="javax/swing/colorchooser/package-tree.html">javax.swing.colorchooser</A>, <A HREF="javax/swing/event/package-tree.html">javax.swing.event</A>, <A HREF="javax/swing/filechooser/package-tree.html">javax.swing.filechooser</A>, <A HREF="javax/swing/plaf/package-tree.html">javax.swing.plaf</A>, <A HREF="javax/swing/plaf/basic/package-tree.html">javax.swing.plaf.basic</A>, <A HREF="javax/swing/plaf/metal/package-tree.html">javax.swing.plaf.metal</A>, <A HREF="javax/swing/plaf/multi/package-tree.html">javax.swing.plaf.multi</A>, <A HREF="javax/swing/table/package-tree.html">javax.swing.table</A>, <A HREF="javax/swing/text/package-tree.html">javax.swing.text</A>, <A HREF="javax/swing/text/html/package-tree.html">javax.swing.text.html</A>, <A HREF="javax/swing/text/html/parser/package-tree.html">javax.swing.text.html.parser</A>, <A HREF="javax/swing/text/rtf/package-tree.html">javax.swing.text.rtf</A>, <A HREF="javax/swing/tree/package-tree.html">javax.swing.tree</A>, <A HREF="javax/swing/undo/package-tree.html">javax.swing.undo</A>, <A HREF="org/omg/CORBA/package-tree.html">org.omg.CORBA</A>, <A HREF="org/omg/CORBA/DynAnyPackage/package-tree.html">org.omg.CORBA.DynAnyPackage</A>, <A HREF="org/omg/CORBA/ORBPackage/package-tree.html">org.omg.CORBA.ORBPackage</A>, <A HREF="org/omg/CORBA/portable/package-tree.html">org.omg.CORBA.portable</A>, <A HREF="org/omg/CORBA/TypeCodePackage/package-tree.html">org.omg.CORBA.TypeCodePackage</A>, <A HREF="org/omg/CosNaming/package-tree.html">org.omg.CosNaming</A>, <A HREF="org/omg/CosNaming/NamingContextPackage/package-tree.html">org.omg.CosNaming.NamingContextPackage</A></DL>
<HR>
<H2>
Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">class java.lang.<A HREF="java/lang/Object.html"><B>Object</B></A><UL>
<LI TYPE="circle">class javax.swing.<A HREF="javax/swing/AbstractAction.html"><B>AbstractAction</B></A> (implements javax.swing.<A HREF="javax/swing/Action.html">Action</A>, java.lang.<A HREF="java/lang/Cloneable.html">Cloneable</A>, java.io.<A HREF="java/io/Serializable.html">Serializable</A>)
<UL>

View File

@ -0,0 +1,40 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Resize's test page 1</title>
</head>
<body >
<H1>Test on Resize N 1 - Resize to a full screen browser with huge document.</H1>
<b>Note: Please, first read all information below .<b>
<table border=1>
<tr><td>&nbsp</td><td width="50%">Action</td><td>Expected result</td></tr>
<tr><td>1.</td><td>You need to measure resizing time of document. Please, wait until page completely loads, then resize window to a "full screen" and measure this time via using external timer/clock. Press "Proceed" to load page with heavy contents.</td><td>Browser should load url now.</td></tr>
<tr><td>2.</td><td>When page is loaded, you need to enter a time of resizing page and press button "SUBMIT"</td><td>Browser will continue the tests. </td></tr>
</table>
<br>
<form>
<input type=button name=good value=Proceed onClick="window.location='large_1.html'">
</form>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Resize's test page 2</title>
</head>
<body >
<H1>Test on Resize N 2 - Scroll to the bottom of the page and resize the window to the "full screen".</H1>
<b>Note: Please, first read all the information below .<b>
<table border=1>
<tr><td>&nbsp</td><td width="50%">Action</td><td>Expected result</td></tr>
<tr><td>1.</td><td>Press "Proceed" to load page with heavy contents.</td><td>Browser should load url now.</td></tr>
<tr><td>2.</td><td>Scroll to the bottom of the page and resize the window to the "full screen", and measure this time via external timer/clock.</td><td>Browser should correctly display the page during this action.</td></tr>
<tr><td>2.</td><td>Once done, you need to enter a time of resizing/scrolling page and press button "SUBMIT"</td><td>Browser will continue with the tests. </td></tr>
</table>
<br>
<form>
<input type=button name=good value=Proceed onClick="window.location='large_2.html'">
</form>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Resize's test page 3</title>
</head>
<body >
<H1>Test on Resize N 3 - Scrolling a page with big images.</H1>
<b>Note: Please, first read all information below <b>
<table border=1>
<tr><td>&nbsp</td><td width="50%">Action</td><td>Expected result</td></tr>
<tr><td>1.</td><td>Make the window size small. Press "Proceed" to load page with large images.</td><td>Browser should load url now.</td></tr>
<tr><td>2.</td><td>Scroll the display screen up and down., and measure this time via external timer/clock.</td><td>Browser should correctly display page during this action.</td></tr>
<tr><td>2.</td><td>Once done, you need to enter a time of scrolling page and press button "SUBMIT"</td><td>Browser will continue the tests. </td></tr>
</table>
<br>
<form>
<input type=button name=good value=Proceed onClick="window.location='large_3.html'">
</form>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!--
/*
* 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):
*/
-->
<HTML>
<HEAD>
<TITLE>
1st large document for resize's tests
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<b>Start of large document</b>
<hr>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Standard&nbsp;Edition</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="overview-tree.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For All Packages</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A HREF="java/applet/package-tree.html">java.applet</A>, <A HREF="java/awt/package-tree.html">java.awt</A>, <A HREF="java/awt/color/package-tree.html">java.awt.color</A>, <A HREF="java/awt/datatransfer/package-tree.html">java.awt.datatransfer</A>, <A HREF="java/awt/dnd/package-tree.html">java.awt.dnd</A>, <A HREF="java/awt/event/package-tree.html">java.awt.event</A>, <A HREF="java/awt/font/package-tree.html">java.awt.font</A>, <A HREF="java/awt/geom/package-tree.html">java.awt.geom</A>, <A HREF="java/awt/im/package-tree.html">java.awt.im</A>, <A HREF="java/awt/image/package-tree.html">java.awt.image</A>, <A HREF="java/awt/image/renderable/package-tree.html">java.awt.image.renderable</A>, <A HREF="java/awt/print/package-tree.html">java.awt.print</A>, <A HREF="java/beans/package-tree.html">java.beans</A>, <A HREF="java/beans/beancontext/package-tree.html">java.beans.beancontext</A>, <A HREF="java/io/package-tree.html">java.io</A>, <A HREF="java/lang/package-tree.html">java.lang</A>, <A HREF="java/lang/ref/package-tree.html">java.lang.ref</A>, <A HREF="java/lang/reflect/package-tree.html">java.lang.reflect</A>, <A HREF="java/math/package-tree.html">java.math</A>, <A HREF="java/net/package-tree.html">java.net</A>, <A HREF="java/rmi/package-tree.html">java.rmi</A>, <A HREF="java/rmi/activation/package-tree.html">java.rmi.activation</A>, <A HREF="java/rmi/dgc/package-tree.html">java.rmi.dgc</A>, <A HREF="java/rmi/registry/package-tree.html">java.rmi.registry</A>, <A HREF="java/rmi/server/package-tree.html">java.rmi.server</A>, <A HREF="java/security/package-tree.html">java.security</A>, <A HREF="java/security/acl/package-tree.html">java.security.acl</A>, <A HREF="java/security/cert/package-tree.html">java.security.cert</A>, <A HREF="java/security/interfaces/package-tree.html">java.security.interfaces</A>, <A HREF="java/security/spec/package-tree.html">java.security.spec</A>, <A HREF="java/sql/package-tree.html">java.sql</A>, <A HREF="java/text/package-tree.html">java.text</A>, <A HREF="java/util/package-tree.html">java.util</A>, <A HREF="java/util/jar/package-tree.html">java.util.jar</A>, <A HREF="java/util/zip/package-tree.html">java.util.zip</A>, <A HREF="javax/accessibility/package-tree.html">javax.accessibility</A>, <A HREF="javax/swing/package-tree.html">javax.swing</A>, <A HREF="javax/swing/border/package-tree.html">javax.swing.border</A>, <A HREF="javax/swing/colorchooser/package-tree.html">javax.swing.colorchooser</A>, <A HREF="javax/swing/event/package-tree.html">javax.swing.event</A>, <A HREF="javax/swing/filechooser/package-tree.html">javax.swing.filechooser</A>, <A HREF="javax/swing/plaf/package-tree.html">javax.swing.plaf</A>, <A HREF="javax/swing/plaf/basic/package-tree.html">javax.swing.plaf.basic</A>, <A HREF="javax/swing/plaf/metal/package-tree.html">javax.swing.plaf.metal</A>, <A HREF="javax/swing/plaf/multi/package-tree.html">javax.swing.plaf.multi</A>, <A HREF="javax/swing/table/package-tree.html">javax.swing.table</A>, <A HREF="javax/swing/text/package-tree.html">javax.swing.text</A>, <A HREF="javax/swing/text/html/package-tree.html">javax.swing.text.html</A>, <A HREF="javax/swing/text/html/parser/package-tree.html">javax.swing.text.html.parser</A>, <A HREF="javax/swing/text/rtf/package-tree.html">javax.swing.text.rtf</A>, <A HREF="javax/swing/tree/package-tree.html">javax.swing.tree</A>, <A HREF="javax/swing/undo/package-tree.html">javax.swing.undo</A>, <A HREF="org/omg/CORBA/package-tree.html">org.omg.CORBA</A>, <A HREF="org/omg/CORBA/DynAnyPackage/package-tree.html">org.omg.CORBA.DynAnyPackage</A>, <A HREF="org/omg/CORBA/ORBPackage/package-tree.html">org.omg.CORBA.ORBPackage</A>, <A HREF="org/omg/CORBA/portable/package-tree.html">org.omg.CORBA.portable</A>, <A HREF="org/omg/CORBA/TypeCodePackage/package-tree.html">org.omg.CORBA.TypeCodePackage</A>, <A HREF="org/omg/CosNaming/package-tree.html">org.omg.CosNaming</A>, <A HREF="org/omg/CosNaming/NamingContextPackage/package-tree.html">org.omg.CosNaming.NamingContextPackage</A></DL>
<HR>
<H2>
Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">class java.lang.<A HREF="java/lang/Object.html"><B>Object</B></A><UL>
<LI TYPE="circle">class javax.swing.<A HREF="javax/swing/AbstractAction.html"><B>AbstractAction</B></A> (implements javax.swing.<A HREF="javax/swing/Action.html">Action</A>, java.lang.<A HREF="java/lang/Cloneable.html">Cloneable</A>, java.io.<A HREF="java/io/Serializable.html">Serializable</A>)
<UL>

View File

@ -0,0 +1,85 @@
<!--
/*
* 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):
*/
-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:16:14 PDT 1999 -->
<TITLE>
2nd large document for resize's tests
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<b>Start of large document</b>
<hr>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Standard&nbsp;Edition</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="overview-tree.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For All Packages</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A HREF="java/applet/package-tree.html">java.applet</A>, <A HREF="java/awt/package-tree.html">java.awt</A>, <A HREF="java/awt/color/package-tree.html">java.awt.color</A>, <A HREF="java/awt/datatransfer/package-tree.html">java.awt.datatransfer</A>, <A HREF="java/awt/dnd/package-tree.html">java.awt.dnd</A>, <A HREF="java/awt/event/package-tree.html">java.awt.event</A>, <A HREF="java/awt/font/package-tree.html">java.awt.font</A>, <A HREF="java/awt/geom/package-tree.html">java.awt.geom</A>, <A HREF="java/awt/im/package-tree.html">java.awt.im</A>, <A HREF="java/awt/image/package-tree.html">java.awt.image</A>, <A HREF="java/awt/image/renderable/package-tree.html">java.awt.image.renderable</A>, <A HREF="java/awt/print/package-tree.html">java.awt.print</A>, <A HREF="java/beans/package-tree.html">java.beans</A>, <A HREF="java/beans/beancontext/package-tree.html">java.beans.beancontext</A>, <A HREF="java/io/package-tree.html">java.io</A>, <A HREF="java/lang/package-tree.html">java.lang</A>, <A HREF="java/lang/ref/package-tree.html">java.lang.ref</A>, <A HREF="java/lang/reflect/package-tree.html">java.lang.reflect</A>, <A HREF="java/math/package-tree.html">java.math</A>, <A HREF="java/net/package-tree.html">java.net</A>, <A HREF="java/rmi/package-tree.html">java.rmi</A>, <A HREF="java/rmi/activation/package-tree.html">java.rmi.activation</A>, <A HREF="java/rmi/dgc/package-tree.html">java.rmi.dgc</A>, <A HREF="java/rmi/registry/package-tree.html">java.rmi.registry</A>, <A HREF="java/rmi/server/package-tree.html">java.rmi.server</A>, <A HREF="java/security/package-tree.html">java.security</A>, <A HREF="java/security/acl/package-tree.html">java.security.acl</A>, <A HREF="java/security/cert/package-tree.html">java.security.cert</A>, <A HREF="java/security/interfaces/package-tree.html">java.security.interfaces</A>, <A HREF="java/security/spec/package-tree.html">java.security.spec</A>, <A HREF="java/sql/package-tree.html">java.sql</A>, <A HREF="java/text/package-tree.html">java.text</A>, <A HREF="java/util/package-tree.html">java.util</A>, <A HREF="java/util/jar/package-tree.html">java.util.jar</A>, <A HREF="java/util/zip/package-tree.html">java.util.zip</A>, <A HREF="javax/accessibility/package-tree.html">javax.accessibility</A>, <A HREF="javax/swing/package-tree.html">javax.swing</A>, <A HREF="javax/swing/border/package-tree.html">javax.swing.border</A>, <A HREF="javax/swing/colorchooser/package-tree.html">javax.swing.colorchooser</A>, <A HREF="javax/swing/event/package-tree.html">javax.swing.event</A>, <A HREF="javax/swing/filechooser/package-tree.html">javax.swing.filechooser</A>, <A HREF="javax/swing/plaf/package-tree.html">javax.swing.plaf</A>, <A HREF="javax/swing/plaf/basic/package-tree.html">javax.swing.plaf.basic</A>, <A HREF="javax/swing/plaf/metal/package-tree.html">javax.swing.plaf.metal</A>, <A HREF="javax/swing/plaf/multi/package-tree.html">javax.swing.plaf.multi</A>, <A HREF="javax/swing/table/package-tree.html">javax.swing.table</A>, <A HREF="javax/swing/text/package-tree.html">javax.swing.text</A>, <A HREF="javax/swing/text/html/package-tree.html">javax.swing.text.html</A>, <A HREF="javax/swing/text/html/parser/package-tree.html">javax.swing.text.html.parser</A>, <A HREF="javax/swing/text/rtf/package-tree.html">javax.swing.text.rtf</A>, <A HREF="javax/swing/tree/package-tree.html">javax.swing.tree</A>, <A HREF="javax/swing/undo/package-tree.html">javax.swing.undo</A>, <A HREF="org/omg/CORBA/package-tree.html">org.omg.CORBA</A>, <A HREF="org/omg/CORBA/DynAnyPackage/package-tree.html">org.omg.CORBA.DynAnyPackage</A>, <A HREF="org/omg/CORBA/ORBPackage/package-tree.html">org.omg.CORBA.ORBPackage</A>, <A HREF="org/omg/CORBA/portable/package-tree.html">org.omg.CORBA.portable</A>, <A HREF="org/omg/CORBA/TypeCodePackage/package-tree.html">org.omg.CORBA.TypeCodePackage</A>, <A HREF="org/omg/CosNaming/package-tree.html">org.omg.CosNaming</A>, <A HREF="org/omg/CosNaming/NamingContextPackage/package-tree.html">org.omg.CosNaming.NamingContextPackage</A></DL>
<HR>
<H2>
Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">class java.lang.<A HREF="java/lang/Object.html"><B>Object</B></A><UL>
<LI TYPE="circle">class javax.swing.<A HREF="javax/swing/AbstractAction.html"><B>AbstractAction</B></A> (implements javax.swing.<A HREF="javax/swing/Action.html">Action</A>, java.lang.<A HREF="java/lang/Cloneable.html">Cloneable</A>, java.io.<A HREF="java/io/Serializable.html">Serializable</A>)
<UL>

View File

@ -0,0 +1,40 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Resize's test page 3</title>
</head>
<body >
<H1>Test on Resize N 3 - Scrolling a page with big images.</H1>
<img src="<HTML_ROOT>/images/Diagram1.gif" alt="First big image">
<br>
<img src="<HTML_ROOT>/images/Diagram2.gif" alt="Second big image">
<hr>
To process tests, please enter to "Scrolling time" in seconds in the textbox and press SUBMIT button.
<form action=<CGI_BIN_ROOT>/results.cgi method=post>
<input type=hidden name=testID value=responsiveness/resize/3>
<b>Scrolling time</b>&nbsp&nbsp<input type=text name=time value="" size=4><br><br>
<input type=submit name=good value=SUBMIT>
</form>
</body>
</html>

View File

@ -0,0 +1,42 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Search in huge document</title>
</head>
<body >
<H1>Test on Search in huge document 1 - Searching in a huge document.</H1>
<b>Note: Please, first read all the information below <b>
<table border=1>
<tr><td>&nbsp</td><td width="50%">Action</td><td>Expected result</td></tr>
<tr><td>1.</td><td>Press "Proceed" to load huge page.</td><td>Browser should load huge url now.</td></tr>
<tr><td>2.</td><td>When Browser finishes loading the page, start Search->Find and enter next string to find: "search string". </td><td>Browser should correctly display this text in the dialog. </td></tr>
<tr><td>3.</td><td>Press Find button in dialog and measure a time of searching. </td><td>Browser should find the specific string in the document. </td></tr>
<tr><td>4.</td><td>Submit searching time to the specific textbox and press "SUBMIT" button to continue the tests.</td><td>Browser will continue the tests.</td></tr>
</table>
<br>
<form>
<input type=button name=good value=Proceed onClick="window.location='large_1.html'">
</form>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!--
/*
* 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):
*/
-->
<HTML>
<HEAD>
<TITLE>
1st large document for search's tests
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<b>Start of large document</b>
<hr>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Standard&nbsp;Edition</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="overview-tree.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For All Packages</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A HREF="java/applet/package-tree.html">java.applet</A>, <A HREF="java/awt/package-tree.html">java.awt</A>, <A HREF="java/awt/color/package-tree.html">java.awt.color</A>, <A HREF="java/awt/datatransfer/package-tree.html">java.awt.datatransfer</A>, <A HREF="java/awt/dnd/package-tree.html">java.awt.dnd</A>, <A HREF="java/awt/event/package-tree.html">java.awt.event</A>, <A HREF="java/awt/font/package-tree.html">java.awt.font</A>, <A HREF="java/awt/geom/package-tree.html">java.awt.geom</A>, <A HREF="java/awt/im/package-tree.html">java.awt.im</A>, <A HREF="java/awt/image/package-tree.html">java.awt.image</A>, <A HREF="java/awt/image/renderable/package-tree.html">java.awt.image.renderable</A>, <A HREF="java/awt/print/package-tree.html">java.awt.print</A>, <A HREF="java/beans/package-tree.html">java.beans</A>, <A HREF="java/beans/beancontext/package-tree.html">java.beans.beancontext</A>, <A HREF="java/io/package-tree.html">java.io</A>, <A HREF="java/lang/package-tree.html">java.lang</A>, <A HREF="java/lang/ref/package-tree.html">java.lang.ref</A>, <A HREF="java/lang/reflect/package-tree.html">java.lang.reflect</A>, <A HREF="java/math/package-tree.html">java.math</A>, <A HREF="java/net/package-tree.html">java.net</A>, <A HREF="java/rmi/package-tree.html">java.rmi</A>, <A HREF="java/rmi/activation/package-tree.html">java.rmi.activation</A>, <A HREF="java/rmi/dgc/package-tree.html">java.rmi.dgc</A>, <A HREF="java/rmi/registry/package-tree.html">java.rmi.registry</A>, <A HREF="java/rmi/server/package-tree.html">java.rmi.server</A>, <A HREF="java/security/package-tree.html">java.security</A>, <A HREF="java/security/acl/package-tree.html">java.security.acl</A>, <A HREF="java/security/cert/package-tree.html">java.security.cert</A>, <A HREF="java/security/interfaces/package-tree.html">java.security.interfaces</A>, <A HREF="java/security/spec/package-tree.html">java.security.spec</A>, <A HREF="java/sql/package-tree.html">java.sql</A>, <A HREF="java/text/package-tree.html">java.text</A>, <A HREF="java/util/package-tree.html">java.util</A>, <A HREF="java/util/jar/package-tree.html">java.util.jar</A>, <A HREF="java/util/zip/package-tree.html">java.util.zip</A>, <A HREF="javax/accessibility/package-tree.html">javax.accessibility</A>, <A HREF="javax/swing/package-tree.html">javax.swing</A>, <A HREF="javax/swing/border/package-tree.html">javax.swing.border</A>, <A HREF="javax/swing/colorchooser/package-tree.html">javax.swing.colorchooser</A>, <A HREF="javax/swing/event/package-tree.html">javax.swing.event</A>, <A HREF="javax/swing/filechooser/package-tree.html">javax.swing.filechooser</A>, <A HREF="javax/swing/plaf/package-tree.html">javax.swing.plaf</A>, <A HREF="javax/swing/plaf/basic/package-tree.html">javax.swing.plaf.basic</A>, <A HREF="javax/swing/plaf/metal/package-tree.html">javax.swing.plaf.metal</A>, <A HREF="javax/swing/plaf/multi/package-tree.html">javax.swing.plaf.multi</A>, <A HREF="javax/swing/table/package-tree.html">javax.swing.table</A>, <A HREF="javax/swing/text/package-tree.html">javax.swing.text</A>, <A HREF="javax/swing/text/html/package-tree.html">javax.swing.text.html</A>, <A HREF="javax/swing/text/html/parser/package-tree.html">javax.swing.text.html.parser</A>, <A HREF="javax/swing/text/rtf/package-tree.html">javax.swing.text.rtf</A>, <A HREF="javax/swing/tree/package-tree.html">javax.swing.tree</A>, <A HREF="javax/swing/undo/package-tree.html">javax.swing.undo</A>, <A HREF="org/omg/CORBA/package-tree.html">org.omg.CORBA</A>, <A HREF="org/omg/CORBA/DynAnyPackage/package-tree.html">org.omg.CORBA.DynAnyPackage</A>, <A HREF="org/omg/CORBA/ORBPackage/package-tree.html">org.omg.CORBA.ORBPackage</A>, <A HREF="org/omg/CORBA/portable/package-tree.html">org.omg.CORBA.portable</A>, <A HREF="org/omg/CORBA/TypeCodePackage/package-tree.html">org.omg.CORBA.TypeCodePackage</A>, <A HREF="org/omg/CosNaming/package-tree.html">org.omg.CosNaming</A>, <A HREF="org/omg/CosNaming/NamingContextPackage/package-tree.html">org.omg.CosNaming.NamingContextPackage</A></DL>
<HR>
<H2>
Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">class java.lang.<A HREF="java/lang/Object.html"><B>Object</B></A><UL>
<LI TYPE="circle">class javax.swing.<A HREF="javax/swing/AbstractAction.html"><B>AbstractAction</B></A> (implements javax.swing.<A HREF="javax/swing/Action.html">Action</A>, java.lang.<A HREF="java/lang/Cloneable.html">Cloneable</A>, java.io.<A HREF="java/io/Serializable.html">Serializable</A>)
<UL>

View File

@ -0,0 +1,42 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Draft version of manual responsiveness tests.</title>
</head>
<body bgcolor=white>
Draft version of manual responsiveness tests.<BR>
Please select or unselect tests, that you want run, enter UID and Descriptions (it may be Browser, platform, OS etc.) of tests and then press a <B>Start</B> button.<hr>
<form action="<CGI_BIN_ROOT>/start.cgi" method=post>
<CHECKBOX_GROUP>
<hr>
Please also enter a Description and UID of tests.<br>
<table border=0 width="60%">
<tr><td><b>Description: </b></td><td><textarea name=description rows=5 cols=40></textarea></td></tr>
<tr><td><b>Unique ID: </b></td><td><input type=text name=uid value="" size=47><br></td></tr>
</table>
<input type=submit value="Start">
</form>
</body>
</html>

View File

@ -0,0 +1,38 @@
<!--
/*
* 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):
*/
-->
<html>
<head>
<title>Loading large document with nested table test page 1</title>
</head>
<body >
<H1>Loading large document with nested table test page 1 - Loading document with many nested tables.</H1>
<b>Note: Please, first read all the information below .<b>
<table border=1>
<tr><td>&nbsp</td><td width="50%">Action</td><td>Expected result</td></tr>
<tr><td>1.</td><td>You need to measure page loading time via using external timer/clock. Press "Proceed" to load huge page.</td><td>Browser should correctly load huge html with nested tables.</td></tr>
<tr><td>2.</td><td>When page is loaded, enter a time for page loading and press button "SUBMIT"</td><td>Browser will continue with the tests. </td></tr>
</table>
<br>
<input type=submit name=good value=Proceed onClick="window.location='large_1.html'">
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

View File

@ -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 = <TEMPLATE>;
while( $l = <IN> ) {
if( ($l !=~ /$\s*\#/) && ($l =~ /=/) ) {
$l=~s/\r|\n|\s//g;
($keyname,$keyvalue) = split('=',$l);
$pattern = "<".$keyname.">";
for( $i=0; $i<= $#storage; $i++ ) {
$line = $storage[$i];
if( $line =~ /$pattern/ ) {
$line=~s/$pattern/$keyvalue/g;
$storage[$i] = $line;
} # if
} # for
} # if
} # while
close(TEMPLATE);
close(IN);
# end-of-search
# preparing the output file
#Create necessary directories
mkdir_p($outfile);
open( OUT, ">".$outfile) || die("Can't open $outfile for writing. $!\n");
for( $i=0; $i <= $#storage; $i++ ) {
print OUT $storage[$i];
}
close(OUT);

View File

@ -0,0 +1,78 @@
#!/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):
###################################################################
#
# lst_gen.pl - configuration utility. Cretate checkbox group in
# the index.html
sub getCheckBoxes {
my $lst_file = shift(@_);
my $curID="";
my $checkBoxLine="";
open( LST, $lst_file) || die ("Can't open lst file $lst_file for reading. $!\n");
while($curID = <LST>) {
$curID =~ s/\s*//g; #ID shouldn't contains spaces inside, so remove it from begin and end
unless(($curID=~/^\s*\#/)||($curID=~/^\s*$/)) {
$checkBoxLine.="<input type=checkbox name=TestsToRun checked value=$curID>$curID<BR>\n";
}
}
close(LST);
return $checkBoxLine;
}
###########################
# Main procedure
##########################
if( $#ARGV != 1) {
printf "Usage: perl lst_gen.pl <html file> <input lst file>\n";
exit 0;
};
$html = $ARGV[0];
$lst = $ARGV[1];
$checkBoxLine = getCheckBoxes($lst);
@html_storage;
$i=0;
open( HTML, $html ) || die("Can't open $html for reading. $!\n");
while( $line = <HTML> ) {
if( $line =~ /<CHECKBOX_GROUP>/ ) {
$line=~s/<CHECKBOX_GROUP>/$checkBoxLine/g;
} # if
$html_storage[$i]=$line;
$i++;
} # while
#Rewriting html file
close(HTML);
open( HTML, ">$html") || die("Can't open $html for writing. $!\n");
print HTML @html_storage;
close(HTML);