gecko-dev/java/plugins/test
edburns%acm.org 52aa4c03fc M build.properties.sample
- declare compile.source=1.5

M dom/build.xml
M plugins/build.xml
M plugins/examples/MediaPlayer/build.xml
M plugins/test/build.xml
M util/build.xml

- remove compile.source property, take it from top level build.properties

M plugins/mozilla/Makefile.in

- remove hard coded MS_SDK_HOME reference

M util/classes/org/mozilla/util/Log.java

- This class is the home to the LogStrings property for java supplement

M webclient/build-tests.xml

- copy properties file

- turn on logging

M webclient/build.xml

- remove compile.source property, take it from top level build.properties

- set a FILE_PATH_SEP property

- make run.test depend on prepare

- make run.test.browser depend on prepare

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaBrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CurrentPageImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/HistoryImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NavigationImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/PreferencesImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/RDFEnumeration.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/Win32BrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WindowControlImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java

- Define toString() for all the WCRunnable and Runnable impls.

M webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java

- Some logging.

A util/classes/org/mozilla/LogStrings.properties
A webclient/test/automated/src/classes/org/mozilla/webclient/TestLogStrings.properties

- LogStrings.properties files for tests and core impl

A logging.properties

- Logging settings for java supplement
2007-01-17 11:43:43 +00:00
..
build
config
doc Bug 106386 Correct misspellings in source code 2006-08-28 20:12:37 +00:00
log
src
utils
build.xml M build.properties.sample 2007-01-17 11:43:43 +00:00
Makefile.in
makefile.win
manifest
README Bug 106386 Correct misspellings in source code 2006-02-23 09:36:43 +00:00
test.html A mozilla/npAPInsIInputStreamShim.cpp 2006-10-26 04:19:00 +00:00
test.java Add new first argument to PlugletFactory.initialize(): the string that 2006-11-15 01:11:42 +00:00

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 occurrence 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 occurrence 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