gecko-dev/java/plugins/test
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
..
build dding new files 2000-03-17 00:27:29 +00:00
config Added README and BWTest.lst 2000-04-24 18:25:27 +00:00
doc Removed Control-M characters 2000-03-23 23:24:32 +00:00
log Pluglet API tests 2000-03-16 22:06:17 +00:00
src Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting 2001-12-23 23:23:41 +00:00
utils Removed Control-M characters 2000-03-23 23:24:32 +00:00
Makefile.in Merged branch JAVADEV_PR3_20001002 into trunk. 2000-11-02 23:33:21 +00:00
README modified README 2000-04-24 21:28:42 +00:00
makefile.win
manifest
test.html Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting 2001-12-23 23:23:41 +00:00
test.java 21291 1999-12-11 00:08:00 +00:00

README

To build and test the Pluglet tests
======================================

Requirements:
 
* current mozilla built tree
 
* JDK1.3 or JDK1.2 if you are not using OJI
 
* Perl 5 perl.exe must be in your path

* built org.mozilla.pluglet java classes (See NOTE)
 
========================================================================
Win32 Directions:
========================================================================
How To Build and Run :
 
*  make sure the following  environment var are set

   -  JDKHOME is set to your jdk installation directory, 
    ie  SET JDKHOME=C:\jdk1.3.

   - MOZILLA_FIVE_HOME

   - add C:\jdk1.3\jre\lib\ext to your classpath.

* Edit <TEST_TOP_DIR>/config/CommonProperties file

   - Comment /uncomment the appropriate FSEP variable

  - Modify TEST_TOP_DIR. Set it to The root directory of this pluglet 
     API test suite
     eg: <top>/mozilla/java/plugins/test

  - Modify HTML_ROOT .Set it to
     The URL of directory where the htmls of tests are placed
     eg: http://machine:port/<some-test-dir>

 
*  Edit <TEST_TOP_DIR>/config/set_env.bat

    - Modify HTML_ROOT_DIR var
        eg: set HTML_ROOT_DIR=c:\some-webserver\public_html\<some-test-dir>

    - run set_env.bat

*  Edit <TEST_TOP_DIR>/config/SecurityTests.keys
   
    - Replace every occurance of Host sirius with your Host name
      and port with your active port number.

* cd <TEST_TOP_DIR>/src/org/mozilla/pluglet/test/basic

    type nmake -f makefile.win  

* Once build is successful

   run this using the perl script

   perl autorun.pl -f BWTest.lst

*  Results of the tests are recorded  under <TEST_TOP_DIR>/log/


=========================================================================
Unix  Directions:
=========================================================================

How To Build and Run :
 
*  make sure the following  environment var are set

   -  JDKHOME is set to your jdk installation directory, 
    ie setenv JDKHOME /usr/local/java/jdk1.3/solaris

   - MOZILLA_FIVE_HOME 
     ie setenv MOZILLA_FIVE_HOME <..>/mozilla/dist/bin

   -LD_LIBRARY_PATH is set to
    setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${MOZILLA_FIVE_HOME}:${JDKHOME}/jre/lib/sparc/native_threads:${JDKHOME}/jre/lib/sparc/classic:${JDKHOME}/jre/lib/sparc

   -CLASSPATH is set to
   setenv CLASSPATH ${CLASSPATH}:<..>/mozilla/dist/classes 

  - HTML_ROOT_DIR is set to
    setenv HTML_ROOT_DIR /<webserver-rootdir>/public_html/<some-test-dir>
  

* Edit <TEST_TOP_DIR>/config/CommonProperties file

   - Comment /uncomment the appropriate FSEP variable

  - Modify TEST_TOP_DIR. Set it to The root directory of this pluglet 
     API test suite
     eg: <top>/mozilla/java/plugins/test

  - Modify HTML_ROOT .Set it to
     The URL of directory where the htmls of tests are placed
     eg: http://machine:port/<some-test-dir>

*  Edit <TEST_TOP_DIR>/config/SecurityTests.keys
   
    - Replace every occurance of Host sirius with your Host name
      and port with your active port number.

* cd <TEST_TOP_DIR>/src/org/mozilla/pluglet/test/basic

    type make .. and hope for the best

* Once build is successful

   run this using the perl script

   perl autorun.pl -f BWTest.lst

*  Results of the tests are recorded  under <TEST_TOP_DIR>/log/

NOTE
=====
 Pluglets must be successfully built before these tests can be run.
 To build Pluglets follow instructions under /mozilla/java/plugins/README