1 How to check compatibility between compilers
2 ============================================
4 Since the interfaces used in the cpp bridgetest are not changed often
5 one can just build the cppobj.uno.dll and the constructors.uno.dll
6 (testtools/source/bridgetest) in an
7 old environment and then use them in the new environment. That is the files
8 are copied into the testtools/wntmsciXX.pro folder which corresponds to the
11 On Windows this test will typically fail because the tests use the
12 cppu::getCaughtException function, which only works when all libs are build
13 using the same runtime.
15 This part of the test can switched off. To do this go into the
16 testtools/source/bridgetest folder and call
19 This will add a new compiler define (-DCOMPCHECK) and will be used in the
20 bridgetest.cxx to switch off the code which uses the getCaughtException function.
21 However, there is still a test which causes the test component to throw
22 and IllegalArgumentException. This still works.
25 Using source/bridgetest for stress testing
26 ==========================================
28 Start a modified bridgetest_server (with the final "--singleaccept" argument
29 removed from the uno executable call) or a modified bridgetest_javaserver (with
30 the final "singleaccept" argument replaced with "multi" in the java executable
31 call), then start a modified bridgetest_client (with a final "stress" argument
32 added to the uno executable call). The client will continuously establish
33 connections to the server which are immediately destroyed again. The test will
34 run forever, unless an error occurs.