gecko-dev/xpcom/remote/tests
2000-02-15 21:42:53 +00:00
..
cComb
chkComb
chkIn
chkIO
chkOut
cIn
cIO
clean
client.cpp
clientComb.cpp
clientIn.cpp
clientInOut.cpp
clientOut.cpp
common.cpp
cOut
deftest.h
Makefile
Makefile.in
Makefile.IN
Makefile.INOUT
Makefile.OUT
nsIRPCTest.idl
nsIRPCTestComb.idl
nsIRPCTestIn.idl
nsIRPCTestInOut.idl
nsIRPCTestOut.idl
proto.h
README
sComb
server.cpp
serverComb.cpp
serverIn.cpp
serverInOut.cpp
serverOut.cpp
sIn
sIO
sOut

To build the tests,
 - Run make or gmake.

To run the tests,
 - Run each server and client modules on separate terminals.
 - Type the following,

     sIn   -  server for IN parameter tests
     cIn   -  client for IN parameter tests
     sOut  -  server for OUT parameter tests
     cOut  -  client for OUT parameter tests
     sIO   -  server for INOUT parameter tests
     cIO   -  client for INOUT parameter tests
     sComb -  server for Combinational tests
     cComb -  client for Combinational tests
  
   Each server and client module writes the values of each
   parameter that it sends and/or receive to a result file. 
   Each has its own result file.

To check the result, the result files of the server and 
the client will be compared using the diff tool. Tests
pass if data in both files exactly match; otherwise,
they fail.
     chkIn   - comparing the IN result files  
     chkOut  - comparing the OUT result files
     chkIO   - comparing the INOUT result files
     chkComb - comparing the Combinational result files