summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/testvba/README
blob: 3a91946de8dfee29af48c6de018e0c60e0109653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
to run the tests 

build
=====
    dmake
    
windows
=======
   a) you can download a cygwin bash shell environment and install perl ( http://cygwin.com/setup.exe ) 
      from the cmdline './runTests.pl $(OFFICE_PROGRAM_PATH)' should run the testclient and compare the logs
   b) use ordinary windows perl [1], but additionally you will need the 'diff' program for window ( download from http://gnuwin32.sourceforge.net/packages/diffutils.htm )

[1] for the testclient the perl ( all inclusive ) bundle from ActivePerl is mor e than adeqate ( download from http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.8.822-MSWin32-x86-280952.msi )

   to run all test cases type
   'perl ./runTests.pl $(OFFICE_PROGRAM_PATH)'
   to run a test case type
   'perl ./runTests.pl $(OFFICE_PROGRAM_PATH) testfilename'

unix
====

assuming perl is installed
      './runTests.pl $(OFFICE_PROGRAM_PATH)'
    or './runTests.pl $(OFFICE_PROGRAM_PATH) testfilename' for one file test.

   
Note: For either windows or unix all of the tests should pass ( and you should get a result like )
Note Also: If you meat a problem that stop running test after serveral test documents have been run. please clean your .ooo-2.0 or .oooxxx first, and then re-run.

========>

skipped 0 test-cases(s)
compared 9 test-case documents
                 9 tests passedTests

Note also: the testclient will attempt to connect to an existing instance of open-office, when the testClient exits the soffice process may still be running, if you wish to repeat tests you may want to kill the office instance before re-running.