mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Added redirectxml.html and changes the scripts
accordingly to reflect the new file.
This commit is contained in:
parent
600b432a7e
commit
514a515586
@ -29,7 +29,7 @@ For Solaris
|
||||
BW_XMLTEST (URL where test.xml file are located. Used if you run
|
||||
tests through TestLoader applet)
|
||||
|
||||
5) Copy redirect.html, test.html and test.xml files to your Web-Servers DOCUMENT_ROOT
|
||||
5) Copy redirect.html, redirectxml.html, test.html and test.xml files to your Web-Servers DOCUMENT_ROOT
|
||||
(By default it is assumed that they can be accessed as
|
||||
http://<server name>/redirect.html).
|
||||
or
|
||||
@ -53,7 +53,8 @@ NOTE: All Test Cases are reocorded in file BWTestClass.lst.ORIG
|
||||
Assumption:
|
||||
|
||||
I assume that u have copied the files test.xml
|
||||
and redirect.html test.html to your DOCUMENT_ROOT of your WebServer.
|
||||
and redirect.html, redirectxml.html, test.html to your DOCUMENT_ROOT of
|
||||
your WebServer.
|
||||
The URL it tries to load is http://<servername>/redirect.html.
|
||||
|
||||
If it is set in users public_html then open file autorun.sh
|
||||
|
@ -101,7 +101,7 @@ TestLoader applet.</b></td>
|
||||
<tr>
|
||||
<td><b><font color="#FF6666"><font size=+1>BW_XMTEST</font></font></b></td>
|
||||
|
||||
<td><b>URL where redirect.html, test.xml files are located. Used if you</b>
|
||||
<td><b>URL where redirectxml.html, test.xml files are located. Used if you</b>
|
||||
<br><b>run tests through TestLoader applet</b></td>
|
||||
</tr>
|
||||
</table></center>
|
||||
@ -110,7 +110,7 @@ TestLoader applet.</b></td>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<b><font size=+1>Copy <font color="#FF6666">redirect.html, test.html</font> and <font color="#FF6666">test.xml</font>
|
||||
<b><font size=+1>Copy <font color="#FF6666">redirect.html, test.html</font> and <font color="#FF6666">redirectxml.html, test.xml</font>
|
||||
files to your web-servers DOCUMENT_ROOT ( By default it is assumed that
|
||||
they can be accessed as <font color="#3366FF">http://[server name]/text.html</font>
|
||||
or <font color="#3366FF">http://[servername]/~[username]/text.html</font>).</font></b></li>
|
||||
@ -138,7 +138,7 @@ Log files are also found in 'log' directory.</font></b></li>
|
||||
<b><font size=+1><u><font color="#3366FF">NOTE:</font></u>All Test Cases
|
||||
are recorded in file BWTestClass.lst.ORIG</font></b>
|
||||
<p><font size=+1><u><font color="#3366FF">ASSUMPTION</font></u><b>: I assume
|
||||
that u have copied the files test.xml and redirect.html, test.html to your DOCUMENT_ROOT
|
||||
that u have copied the files test.xml, redirectxml.html, redirect.html, test.html to your DOCUMENT_ROOT
|
||||
of your WebServer.</b></font>
|
||||
<br><b><font size=+1>The URL it tries to load is http://[servername]/redirect.html.</font></b>
|
||||
<br><b><font size=+1>If it is set in users public_html then open file autorun.sh
|
||||
@ -312,7 +312,7 @@ or multi-thread mode[M]. Takes values S/M .</b></td>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<b><font size=+1>Copy files <font color="#CC6600">redirect.html, test.html</font>and <font color="#CC6600">test.xml</font>
|
||||
<b><font size=+1>Copy files <font color="#CC6600">redirect.html, test.html</font>and <font color="#CC6600">redirectxml.html, test.xml</font>
|
||||
into some document directory of HTTP server. TEST_URL environment variable
|
||||
should contain the URL of this directory.</font></b></li>
|
||||
|
||||
|
@ -85,8 +85,8 @@ sub title() {
|
||||
print " Automated Execution of DOM API TestSuite\n";
|
||||
print "################################################\n";
|
||||
print "\n";
|
||||
print "NOTE: You need to copy files redirect.html, test.html and test.xml\n";
|
||||
print " into some document directory of HTTP server\n";
|
||||
print "NOTE: You need to copy files redirect.html, test.html and test.xml,\n";
|
||||
print " redirectxml.html into some document directory of HTTP server\n";
|
||||
print " TEST_URL environment variable should contain the URL of \n";
|
||||
print " this directory.\n";
|
||||
print "\n";
|
||||
@ -377,7 +377,7 @@ if ($runtype == 2) {
|
||||
if (@ENV{"USE_APPLET_FOR_REGISTRATION"}) {
|
||||
$DOCFILE = "$DOCROOT/TestLoaderXML.html";
|
||||
} else {
|
||||
$DOCFILE = "$DOCROOT/redirect.html";
|
||||
$DOCFILE = "$DOCROOT/redirectxml.html";
|
||||
}
|
||||
$filename = "$curdir/BWTestClass.lst.xml.ORIG";
|
||||
$runcnt = 1;
|
||||
@ -489,7 +489,7 @@ while (true) {
|
||||
( ++$currcnt < $runcnt ) || last;
|
||||
|
||||
if ( $runtype == 3 ) {
|
||||
$DOCFILE="$DOCROOT/redirect.html";
|
||||
$DOCFILE="$DOCROOT/redirectxml.html";
|
||||
$filename="$curdir/BWTestClass.lst.xml.ORIG";
|
||||
constructHTML;
|
||||
appendEntries;
|
||||
|
@ -65,8 +65,8 @@ title()
|
||||
echo "################################################"
|
||||
echo
|
||||
echo "NOTE: You need to copy files redirect.html, test.html and"
|
||||
echo " test.xml to DOCUMENT_ROOT dir. of your"
|
||||
echo " Web-Server on this machine."
|
||||
echo " redirectxml.html, test.xml to DOCUMENT_ROOT dir. of"
|
||||
echo " your Web-Server on this machine."
|
||||
echo
|
||||
echo
|
||||
}
|
||||
@ -487,10 +487,10 @@ fi
|
||||
|
||||
if [ "$runtype" = "2" ]
|
||||
then
|
||||
DOCFILE="$DOCROOT/redirect.html"
|
||||
DOCFILE="$DOCROOT/redirectxml.html"
|
||||
if [ -z "$appreg" ]
|
||||
then
|
||||
DOCFILE="$DOCROOT/redirect.html";
|
||||
DOCFILE="$DOCROOT/redirectxml.html";
|
||||
else
|
||||
DOCFILE="$DOCROOT/TestLoaderXML.html";
|
||||
fi
|
||||
@ -636,7 +636,7 @@ do
|
||||
|
||||
if [ "$runtype" = "3" ]
|
||||
then
|
||||
DOCFILE="$DOCROOT/redirect.html"
|
||||
DOCFILE="$DOCROOT/redirectxml.html"
|
||||
filename="$curdir/BWTestClass.lst.xml.ORIG"
|
||||
constructHTML
|
||||
appendEntries
|
||||
|
@ -1,12 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
if (window.location.href.lastIndexOf(".xml") != -1)
|
||||
{
|
||||
window.location="test.xml";
|
||||
} else {
|
||||
window.location="test.html";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
7
java/dom/tests/src/redirectxml.html
Executable file
7
java/dom/tests/src/redirectxml.html
Executable file
@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
window.location="test.xml";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user