summaryrefslogtreecommitdiffstats
path: root/unotest
Commit message (Collapse)AuthorAgeFilesLines
* Pass DocumentService to the loader during macro tests.Kohei Yoshida2013-02-052-4/+13
| | | | | | | | | And disable user interaction during type detection, since that would cause the test to fail. With this change, 'make check' works once again. Change-Id: I2f45a2e962e45ee64f7984e794cff814fbfe6dab
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-263-0/+3
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac2013-01-212-4/+4
| | | | | | | Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-212-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
* -Werror,-Wtautological-constant-out-of-range-compareStephan Bergmann2012-12-101-6/+4
| | | | Change-Id: I4356413b23fdbaaa1bf2e94ad7aed3ceed1f9261
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-303-14/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* fdo#51304: Remove @author annotationJosé Guilherme Vanz2012-11-202-6/+0
| | | | | | | | | | This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* cleanup README files.Michael Meeks2012-11-051-1/+0
| | | | | Convert DOS -> unix newlines. Cleanup and clarify several files.
* add a README filesAlia Almusaireae2012-11-051-0/+1
| | | | | | | Change-Id: I4bd9a7d00df220e2a3deae3cc1b7b0f4a1098e24 Reviewed-on: https://gerrit.libreoffice.org/989 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* unottest: add get(URL|Path)FromWorkdir to locate $WORKDIR_FOR_BUILDNorbert Thiebaud2012-11-032-0/+35
| | | | Change-Id: Iec4e609e023262f357a7552b75863aeae9385205
* Remove unused method and also remove not build testMarcos Paulo de Souza2012-11-032-8/+0
| | | | | | | | | | These tests are not in the main build, so remove it all. Change-Id: Ia0e13c984fe11b543a66d3150082cbdd7f34296a Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/977 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* rework filters test to squeeze through extra flagsCaolán McNamara2012-11-012-14/+39
| | | | | | | that are needed to load .odt, .sxw etc files, and add a regression test for CVE-2012-4233 Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
* Remove unused method from testMarcos Paulo de Souza2012-10-312-8/+0
| | | | | | | | Change-Id: Id54d9bd2963573c4b8e77de0dfafe33ea5882d32 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/947 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Show URL of failing document in unit testsCédric Bosdonnat2012-10-311-1/+2
| | | | Change-Id: I5434b6615338dfc6780c6ff877c6eebfd20b763b
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-283-6/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-283-3/+6
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-283-0/+3
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* Improvement on previous commit, UCB clean upStephan Bergmann2012-09-142-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
* Java cleanup, remove unused classNoel Grandin2012-09-052-31/+0
| | | | Change-Id: I27403fabc3b5326108a34655ffe8b2b0846c0694
* Java5 updates - convert to genericsNoel Grandin2012-08-201-1/+1
| | | | Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
* gbuild: register all jarsMichael Stahl2012-08-172-7/+7
| | | | Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
* gbuild: remove most uses of gb_Jar_set_jarclasspath:Michael Stahl2012-08-152-2/+2
| | | | | | | | | With gb_Jar_add_jar and gb_Jar_add_system_jar adding to the manifest classpath automatically it is no longer necessary to call gb_Jar_set_jarclasspath manually except for the URE jars, which are apparently not supposed to be added automatically. Change-Id: I1e743e7ecb9cb5651e02005aa09e127bea1b0a29
* Static method sleep from Thread should be accessed in a static wayJulien Nabet2012-08-061-1/+1
| | | | Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
* add another tiff regression testCaolán McNamara2012-07-302-2/+3
| | | | Change-Id: I0466a872576132b8ad9e5b164f57951549dd54e0
* use EDB as well as CVE as encrypted prefixesCaolán McNamara2012-07-262-7/+13
| | | | Change-Id: I3cb1e4d736ca1627cb0716a9c17ff11b5a837264
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-023-12/+3
|
* Java5 updates - update code to use genericsNoel Grandin2012-06-291-1/+1
| | | | | | This is all of the code I missed in my first set of patches. Change-Id: I8c7c9e5ac28dc3c2f3ac062c806fbf0787c997bd
* targetted re-work of cppunit pieces.Michael Meeks2012-06-277-17/+1
|
* re-base on ALv2 code.Michael Meeks2012-06-2624-590/+394
|
* unotest: missing include guard in macros_test.hxxMiklos Vajna2012-05-091-0/+5
| | | | Change-Id: Iee44d81a3667613485785481dcc0cb46f3b6a8ff
* make gbuild the default assumption of build.plBjoern Michaelsen2012-04-291-1/+0
| | | | | | | | this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
* OfficeConnection: kill soffice process when Java bridge is disposedMichael Stahl2012-04-141-15/+24
| | | | | In the rare case that the soffice process outlives the Java side UNO bridge, ensure that soffice.bin doesn't continue running.
* setup/teardown default component context once before/after all testsCaolán McNamara2012-04-135-41/+178
| | | | | | | | | | | | | avoids the problems of dangling uno singletons invalidated after the first dispose and the chain of other singletons that don't expect to need to re-initialize, etc. reenable editeng cppunit test inherit i18npool cppunit test from unotest base drop LibreOfficeProtector, do "throwable" work in setUp/tearDown not in ctors/dtors
* Obtain resolver before spawning process_ in setUpStephan Bergmann2012-04-101-3/+3
| | | | | ...so that tearDown does not hang waiting for (idling) process_ to terminate if setUp throws an exception when obtaining resolver.
* LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl2012-04-082-2/+2
|
* gbuild: "use" vs. "add":Michael Stahl2012-04-084-7/+7
| | | | | | | | | Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
* Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann2012-03-141-0/+2
| | | | | | | | | | | | | | ...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
* add regression test for writerMarkus Mohrhard2012-03-092-0/+8
| | | | | | | use the hidden layout dump export filter to export the state of the layout and compare it against a reference file Still a work in progress.
* OfficeConnection.java: don't wait forever if terminate() failsMichael Stahl2012-03-031-1/+6
|
* We want gb_STDLIBS here surely?Tor Lillqvist2012-02-172-0/+2
|
* unotest: convert to gbuildMatúš Kukan2012-02-1014-253/+320
|
* Do not fail isStillAlive for "connect:" connectionsStephan Bergmann2012-02-091-1/+6
|
* Deliver the static libunotest.a built for iOSTor Lillqvist2012-01-271-0/+1
|
* Use /assets as SRC_ROOT and OUTDIR_FOR_BUILD on AndroidTor Lillqvist2012-01-231-2/+2
|
* finish sd's regression testMarkus Mohrhard2012-01-192-0/+16
| | | | | Implemented a simple character based comparison of the exported file and the reference file
* build qadevOOo only if OOO_JUNIT_JAR are set (add BUILD_TYPE)Rene Engelhard2011-12-301-1/+1
|
* Use / as SRC_ROOT and OUTDIR_FOR_BUILD on AndroidTor Lillqvist2011-12-191-0/+5
|
* gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO'Matúš Kukan2011-12-161-1/+1
|
* Handle unset workdir argument.Stephan Bergmann2011-12-161-1/+4
|
* create a base class for macros_testMarkus Mohrhard2011-11-274-0/+116
| | | | | | | | | For tests that need file import you can now choose between FiltersTest or MacrosTest as base class. FiltersTest imports through SfxObjectShell and does not have any ui MacrosTest imports through Desktop::LoadComponentFromURL and initializes the ui, therefore it needs to run headless