FreeBSD OpenOffice.org porting status page : Implementation testing
$Id: testing.html,v 1.8 2005/09/25 20:42:12 xxjack12xx Exp $
by OpenOffice.org porting team, NAKATA, Maho, and Jackson LowTesting OOo
This page describes how to perform low level testing of OOo to check whether implementations are done correctly.Before testing...
- Build your OOo
- tcsh ; cd work ; source FreeBSDEnv.Set
- sal
# cd ${SRCROOT}/svtools/workben ; dmake ; deliver # cd ${SRCROOT}/svtools/unxfbsd.pro/bin # ./svdem
- stoc
# cd ${SRCROOT}/stoc/test/testsmgr_cpnt ; dmake ; deliver # cd ${SRCROOT}/stoc/test ; dmake ; deliver # cd ${SRCROOT}/stoc/unxfbsd.pro/bin # testconv ./testconv test_Conversion(): start... test_Conversion(): end. # ./testcorefl ./testcorefl testcorefl succeeded ! # ./testintrosp ./testintrosp 1 2 3 4 before test_introsp after test_introsp testintrosp succeeded ! # ./testinvocation > test_iadapter() succeeded. > test_invocation() succeeded. # ./testloader Test Dll ComponentLoader, OK! # ./testproxyfac testproxyfac succeeded ! # ./testregistry Test SimpleRegistry, OK! test InvalidRegistryException OK! Test DefaultRegistry, OK! Test SimpleRegistry, OK! Test DefaultRegistry, OK! # ./testsmgr > implementation name: com.sun.star.comp.stoc.SimpleRegistry > implementation name: com.sun.star.comp.stoc.OServiceManagerWrapper > implementation name: com.sun.star.comp.stoc.NestedRegistry > implementation name: com.sun.star.comp.stoc.ImplementationRegistration > implementation name: com.sun.star.comp.stoc.RegistryTypeDescriptionProvider > implementation name: com.sun.star.security.comp.stoc.FilePolicy > implementation name: com.sun.star.comp.stoc.TypeDescriptionManager > implementation name: com.sun.star.security.comp.stoc.AccessController > implementation name: com.sun.star.comp.stoc.DLLComponentLoader ServiceManagerTest : OK
- bridge
# cd ${SRCROOT}/bridges/test/java_uno ; dmake ; deliver ??
- UDK test by Stephan Bergmann
1. bridges/test/com/sun/star/lib/uno/bridges/java_remote/ # dmake ${SRCROOT}/bridges/test/com/sun/star/lib # cd ${SRCROOT}/bridges/test/com/sun/star/lib/ ; dmake 2. bridges/test/java_uno/acquire/ # cd ${SRCROOT}/bridges/test/java_uno/acquire/ # dmake ... # cd ../../../unxfbsd.pro/bin/ # ./testacquire-java-server & # sleep 3 # wait for server to accept connection # ./testacquire-java-client .... Client and server both cleanly terminate now: Success # ./testacquire-java-server ; sleep 3 ; ./testacquire-native-client ... Client and server both cleanly terminate now: Success # ./testacquire-native-server & ; sleep 3 ; ./testacquire-java-client ... Client and server both cleanly terminate now: Success # ./testacquire-native-server & ; sleep 3 ; ./testacquire-native-client ... Client and server both cleanly terminate now: Success 3. bridges/test/java_uno/any/ # dmake bridges/test/com/sun/star/lib # cd bridges/test/java_uno/any/ # dmake # cd ../../../unxfbsd.pro/bin/ # ./TestJni jni any test succeeded. # ./TestRemote Server: Accepting... 4. bridges/test/java_uno/equals/ # dmake bridges/test/com/sun/star/lib # cd bridges/test/java_uno/equals/ ; dmake # cd ../../../unxfbsd.pro/bin # ./testequal 5. bridges/test/java_uno/multinherit/ # cd bridges/test/java_uno/multinherit/ # dmake # cd ../../../unxfbsd.pro/bin/ # ./testmultinherit-java-server & ; sleep 3 ; ./testmultinherit-java-client # ./testmultinherit-java-server & ; sleep 3 ; ./testmultinherit-native-client # ./testmultinherit-native-server &; sleep 3 ; ./testmultinherit-java-client # ./testmultinherit-native-server &; sleep 3 ; ./testmultinherit-native-client 6. bridges/test/java_uno/nativethreadpool/ # cd bridges/test/java_uno/nativethreadpool/ # dmake 7. codemaker/test/cppumaker/ # cd codemaker/test/cppumaker/ # dmake 8. codemaker/test/javamaker/ # cd codemaker/test/javamaker/ # dmake 9. comphelper/qa/propertysetmixin/ # cd comphelper/qa/propertysetmixin/ # dmake test 10. idlc/test/parser/ # cd idlc/test/parser/ ; dmake 11. jurt/test/ # cd jurt/test/ ; dmake 12. registry/test/regcompare/ # cd registry/test/regcompare/ ; dmake 13. ridljar/test/ # cd ridljar/test/ ; dmake 14. stoc/test/registry_tdprovider/ # cd stoc/test/registry_tdprovider/ ; dmake 15. stoc/test/tdmanager/ # cd stoc/test/tdmanager/ ; dmake 16. stoc/test/uriproc/ # cd stoc/test/uriproc/ ; dmake
-
Sparcmoz's test, see also #iZ 40081.
1. cppu cd cppu/test; dmake cd cppu/unxfbsd.pro/bin ./testcppu > invocation test succeeded! > exception test succeeded! > C++-UNO test (c++ <-> uno <-> c++ [component impl]) succeeded! 2. stoc Not yet done. 3.
Test done with FreeBSD 5.3-RELEASE + OpenOffice.og 1.1.4 + JDK 1.4.2 (ports) at 2005/Jan/16
- sal: failed (infinite loop)
- stoc: testconv (ok), testcorefl (ok), testintrosp (ok), testinvocation (ok), testloader (ok), testproxyfac (ok), testregistry (ok), testsmgr (ok)
- bridge : failed (no test suite exits)
Test done with FreeBSD 5.3-RELEASE + OpenOffice.og 1.9.m71 + JDK 1.4.2 (ports), at 2005/Jan/16
- UDK test
- bridges/test/com/sun/star/lib/uno/bridges/java_remote : passed
- bridges/test/java_uno/acquire : passed
- bridges/test/java_uno/any/ : TestRemote failed. (waiting forever)
- ridges/test/java_uno/equals/ : passed
- bridges/test/java_uno/multinherit/ : passed
- bridges/test/java_uno/nativethreadpool/ : failed
dmake: makefile.mk: line 74: Error -- Expecting macro or rule defn, found neither '---* *---'
- codemaker/test/cppumaker/ : passed
- codemaker/test/javamaker/ : failed
java -classpath .:../../unxfbsd.pro/class/test:/usr/local/jdk1.4.2/jre/lib/rt.jar:.:../../unxfbsd.pro/class:/work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/bin/juh.jar:/work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/bin/jurt.jar:/work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/bin/ridl.jar:/work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/bin/OOoRunner.jar org.openoffice.Runner -TestBase java_complex \ -NoOffice yes -o test.codemaker.javamaker.Test TestJob: -o test.codemaker.javamaker.Test Searching Class: test.codemaker.javamaker.Test Got test: test.codemaker.javamaker.Test@186d4c1 Exception in thread "main" java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at util.DynamicClassLoader.forName(DynamicClassLoader.java:80) at util.DynamicClassLoader.getInstance(DynamicClassLoader.java:91) at base.java_complex.executeTest(java_complex.java:124) at org.openoffice.Runner.main(Runner.java:116) dmake: Error code 1, while making 'Test.test' '---* tg_merge.mk *---'
- comphelper/qa/propertysetmixin/ : failed
using loader com.sun.star.loader.Java2 register component 'file:///work/ports/editors/openoffice-2.0-devel/work/comphelper/qa/propertysetmixin/../../unxfbsd.pro/misc/qa_propertysetmixin/qa_propertysetmixin.uno.jar' in registry '../../unxfbsd.pro/misc/qa_propertysetmixin/uno.rdb' failed! error (CannotRegisterImplementationException): test.comphelper.propertysetmixin.comp.JavaSupplier dmake: Error code 1, while making '../../unxfbsd.pro/misc/qa_propertysetmixin/uno.rdb' dmake: '../../unxfbsd.pro/misc/qa_propertysetmixin/uno.rdb' removed. '---* tg_merge.mk *---'
- idlc/test/parser/ : passed
- jurt/test/ : failed
java -classpath .:../../../../../../unxfbsd.pro/class/test:/usr/local/jdk1.4.2/jre/lib/rt.jar:.:../../../../../../unxfbsd.pro/class:/work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/bin/ridl.jar:/work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/bin/OOoRunner.jar org.openoffice.Runner -TestBase java_complex \ -NoOffice yes -o com.sun.star.comp.bridgefactory.BridgeFactory_Test TestJob: -o com.sun.star.comp.bridgefactory.BridgeFactory_Test Searching Class: com.sun.star.comp.bridgefactory.BridgeFactory_Test Got test: com.sun.star.comp.bridgefactory.BridgeFactory_Test@1820dda Exception in thread "main" java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at util.DynamicClassLoader.forName(DynamicClassLoader.java:80) at util.DynamicClassLoader.getInstance(DynamicClassLoader.java:91) at base.java_complex.executeTest(java_complex.java:124) at org.openoffice.Runner.main(Runner.java:116) dmake: Error code 1, while making 'BridgeFactory_Test.test' '---* tg_merge.mk *---' dmake: Error code 255, while making 'all' '---* *---'
- registry/test/regcompare/ : passed
- ridljar/test/ : failed
java -classpath .:../../../../../../../unxfbsd.pro/class/test:/usr/local/jdk1.4.2/jre/lib/rt.jar:.:../../../../../../../unxfbsd.pro/class:/work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/bin/OOoRunner.jar org.openoffice.Runner -TestBase java_complex \ -NoOffice yes -o com.sun.star.lib.uno.typedesc.TypeDescription_Test TestJob: -o com.sun.star.lib.uno.typedesc.TypeDescription_Test Searching Class: com.sun.star.lib.uno.typedesc.TypeDescription_Test Got test: com.sun.star.lib.uno.typedesc.TypeDescription_Test@15f5897 Exception in thread "main" java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at util.DynamicClassLoader.forName(DynamicClassLoader.java:80) at util.DynamicClassLoader.getInstance(DynamicClassLoader.java:91) at base.java_complex.executeTest(java_complex.java:124) at org.openoffice.Runner.main(Runner.java:116) dmake: Error code 1, while making 'TypeDescription_Test.test' '---* tg_merge.mk *---' dmake: Error code 255, while making 'all' '---* *---'
- stoc/test/registry_tdprovider/ : passed
- stoc/test/tdmanager/ : passed
- stoc/test/uriproc/ : passed
- other test (?)
- Sparcmoz's test process
- Python test
See: Joerg's mail, and Joerg's mail
- UDK test UDK test
- SAL, GSL test for Mac OS X, X11 port.
Appendix download dirs:
Since OOo has several external modules, all the modules are not yet completely ported for FreeBSD. There is an issue of -pthread that we must carefully check.
- 1.1.4
external/download berkeleydb/download sablot/download stlport/download freetype/download nas/download openssl/download neon/download expat/download np_sdk/download zlib/download icu/download jpeg/download curl/download boost/download python/download bitstream_vera_fonts/download libxml2/download msfontextract/download dlcompat/download moz.runtime/download
- 1.9m71
external/download berkeleydb/download sablot/download stlport/download freetype/download nas/download neon/download expat/download np_sdk/download zlib/download icu/download jpeg/download curl/download boost/download python/download bitstream_vera_fonts/download libxml2/download msfontextract/download libxmlsec/download libwpd/download portaudio/download sndfile/download xalan/download hsqldb/download moz/download