leila.garin%eng.sun.com 74762b6d76 Added BWTestThread.java in makefiles, removed print stmt. from TestLoader
git-svn-id: svn://10.0.0.236/trunk@51264 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 17:21:23 +00:00
..
1999-10-19 18:48:53 +00:00
1999-09-01 23:17:55 +00:00
1999-10-19 18:48:53 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00
1999-10-19 18:48:53 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00
1999-10-19 18:48:53 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00
1999-10-19 18:48:53 +00:00
1999-10-19 18:48:53 +00:00
1999-10-19 18:48:53 +00:00
1999-10-19 18:48:53 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00
1999-09-01 23:17:55 +00:00

This document describes steps required to run the Test Suite for JavaDOM API.

For Solaris
===========
  1)  open mozilla.csh

  2)  make changes to variables
          BLACKWOOD_HOME 
          MOZILLA_FIVE_HOME 
          JAVA_HOME 
          TEST_PATH 

  3)  source mozilla.csh 
      this will set up the environment

  4)  Edit BWProperties file and change the locations for variables
          BW_TESTDIR    (Absolute Directory Path where file BWTestClass.lst is 
                         located)
          BW_LOGDIR     (Absolute Directory Path where  log files need to be 
                         created)
          BW_THREADMODE (Execute tests in single thread [S] or 
                         multi-thread [M] mode. Takes values S/M.)

  5)  Copy 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>/text.html).
        or
        http://<server name>/~<username>/text.html).

  6)  Invoke autorun.sh from command prompt.
       sh autorun.sh

  7)  The results are recorded in HTML file BWTest.html
      and in log file BWTest.log
      Individual test Log files are also found in 'log' directory.

  
---------------------------------------------------------------------------

To Invoke a specific test case 
   sh autorun.sh -t org.mozilla.dom.test.AttrImpl_getName

NOTE: All Test Cases are reocorded in file BWTestClass.lst.ORIG

Assumption:

 I  assume that u have copied the files test.xml and test.html to your 
 DOCUMENT_ROOT of your WebServer.
 The URL it tries to load is  http://<servername>/test.html.

 If it is set in users public_html then open file autorun.sh
 and change DOCROOT accordingly.



=============================================================================

For WIN32
===========
Assumes you have installed PERL

  1)  open mozilla.bat

  2)  make changes to variables
          BLACKWOOD_HOME - the path to the parent directory of this one
          MOZILLA_FIVE_HOME 
          JAVA_HOME 
          TEST_PATH
          TEST_URL- as explained below

  3)  execute mozilla.bat from command prompt
      this will set up the environment for this command prompt

  4)  Edit BWProperties file and change the locations for variables
          BW_TESTDIR    (Absolute Directory Path where file BWTestClass.lst is 
                         located)
          BW_LOGDIR     (Absolute Directory Path where  log files need to be 
                         created)
          BW_THREADMODE (Execute tests in single thread [S] or 
                         multi-thread [M] mode. Takes values S/M.)

  5)  Copy files test.html and test.xml into 
      some document directory of HTTP server. TEST_URL environment 
      variable should contain the URL of this directory.
      For example, if you placed the files in the root directory of
      HTTP server "myserver", then value of TEST_URL should be 
      "http://myserver".

  6)  Invoke autorun.pl from command prompt.
       perl autorun.pl

  7)  The results are recorded in HTML file BWTest.html
      and in log file BWTest.log
      Individual test Log files are also found in 'log' directory.

  
---------------------------------------------------------------------------

To Invoke a specific test case 
   perl autorun.pl -t org.mozilla.dom.test.AttrImpl_getName

NOTE: All Test Cases are recorded in file BWTestClass.lst.ORIG

---------------------------------------------------------------------------