Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | 26-Sep-2023 | - | ||||
TestDocuments/ | H | 18-Oct-2019 | - | |||
TestDocuments-ooo-build/ | H | 18-Oct-2019 | - | |||
README | H A D | 18-Oct-2019 | 1.6 KiB | 38 | 26 | |
launchTest.pl | H A D | 18-Oct-2019 | 1.9 KiB | 42 | 14 | |
runTests.pl | H A D | 18-Oct-2019 | 4.5 KiB | 142 | 96 | |
testResult.pl | H A D | 18-Oct-2019 | 4.9 KiB | 192 | 141 | |
testResults.pl | H A D | 18-Oct-2019 | 4.7 KiB | 184 | 133 | |
testclient | H A D | 18-Oct-2019 | 49.4 KiB | |||
testvba.cxx | H A D | 18-Oct-2019 | 13.2 KiB | 331 | 262 | |
timestampsClean.pl | H A D | 18-Oct-2019 | 2.5 KiB | 94 | 60 |
README
1to run the tests 2 3build 4===== 5 dmake 6 7windows 8======= 9 a) you can download a cygwin bash shell environment and install perl ( http://cygwin.com/setup.exe ) 10 from the cmdline './runTests.pl $(OFFICE_PROGRAM_PATH)' should run the testclient and compare the logs 11 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 ) 12 13[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 ) 14 15 to run all test cases type 16 'perl ./runTests.pl $(OFFICE_PROGRAM_PATH)' 17 to run a test case type 18 'perl ./runTests.pl $(OFFICE_PROGRAM_PATH) testfilename' 19 20unix 21==== 22 23assuming perl is installed 24 './runTests.pl $(OFFICE_PROGRAM_PATH)' 25 or './runTests.pl $(OFFICE_PROGRAM_PATH) testfilename' for one file test. 26 27 28Note: For either windows or unix all of the tests should pass ( and you should get a result like ) 29Note 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. 30 31========> 32 33skipped 0 test-cases(s) 34compared 9 test-case documents 35 9 tests passedTests 36 37Note 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. 38