Commit Graph

27 Commits

Author SHA1 Message Date
Michael Stahl
769778e489 test::BootstrapFixtureBase::getPathFromWorkdir not unused
Change-Id: I4ddad27d1e5a4de9885956b80db37f1e2f80a96e
2014-01-17 16:08:09 +01:00
Petr Vorel
db27efd297 removed some unused code (svx, svtools, unotest)
Change-Id: I1250581d69423030bd0a93a1529458b8d424ce3e
Reviewed-on: https://gerrit.libreoffice.org/7329
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 13:50:26 +00:00
Noel Grandin
08fe82e59c Remove unnecessary use of OUString constructor in + expressions
Convert code like
  aFilename =  OUString::number(nFilePostfixCount) + OUString(".bmp");
to
  aFilename =  OUString::number(nFilePostfixCount) + ".bmp";

Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-17 11:49:03 +02:00
Markus Mohrhard
31cba7d346 fixes for previous commit
Change-Id: Ic4f2d36ce901b88b47b43fdebba197daf8bd0373
2013-12-13 20:05:14 +01:00
Michael Stahl
5d8f48c81e solver doesn't solve anything...
... it is an abbreviation of "Solar Version".

Since nobody can remember that:

remove OUTDIR OUTDIR_FOR_BUILD SOLARVER SOLARVERSION solarpath
and any mention thereof.

Change-Id: Idb3031c4f25a76ac05b22ec67e3ca3e1e8e512ad
Reviewed-on: https://gerrit.libreoffice.org/6515
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-10-31 15:42:24 +00:00
Michael Stahl
18c702a8e1 gbuild: move unittest mock profile to WORKDIR
Change-Id: Idd6420a855fec8b44fce6c0694b491d5f1eec95e
2013-10-29 00:58:44 +01:00
Stephan Bergmann
95f56095a9 Can use CppUnit assert functionality here
Change-Id: Iecc42e79b72e99f9222ba2419226b0f655a5af7d
2013-09-27 15:17:28 +02:00
Stephan Bergmann
a86a737a27 Fix URL creation
Change-Id: Icbbe9096c60def4687b137a37bfe86c4de9b3f22
2013-09-27 14:36:40 +02:00
Stephan Bergmann
5063e39261 getURLFromWorkdir should actually return a URL
Change-Id: Id6d67f820226da15d90b95aa047767926583cc2e
2013-09-27 14:26:51 +02:00
Lionel Elie Mamane
92c53b9d94 unittest for fdo#67685
Change-Id: I44500717109a026d7c71e6494daacbea1f224263
2013-09-27 11:38:08 +02:00
Michael Stahl
247b182fc5 unotest: re-add test::BootstrapFixtureBase::getPathFromWorkdir
also erroneously removed in 6a59659541

Change-Id: Id9e942cf012d901546b5b403d0d04e749fd20695
2013-07-01 14:42:34 +02:00
Petr Vorel
6a59659541 Remove unused code
Change-Id: Id789250d6aeae642ef5c712e33c5583628638218
Reviewed-on: https://gerrit.libreoffice.org/4604
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01 11:39:43 +00:00
Thomas Arnhold
318f2b64cc remove some createFromAscii usage
there are a lot more of them:

git grep 'createFromAscii[^)]*"'

Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29 16:23:23 +02:00
Michael Meeks
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Norbert Thiebaud
7378043546 unottest: add get(URL|Path)FromWorkdir to locate $WORKDIR_FOR_BUILD
Change-Id: Iec4e609e023262f357a7552b75863aeae9385205
2012-11-03 20:24:28 -05:00
Marcos Paulo de Souza
bdcdbf5da0 Remove unused method and also remove not build test
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>
2012-11-03 23:37:40 +00:00
Marcos Paulo de Souza
036e4a5a89 Remove unused method from test
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>
2012-10-31 16:48:43 +00:00
Stephan Bergmann
9ac86f484b Improvement on previous commit, UCB clean up
* 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
2012-09-14 18:24:49 +02:00
Caolán McNamara
8d7e8a0a3b setup/teardown default component context once before/after all tests
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
2012-04-13 13:15:25 +01:00
Markus Mohrhard
b8d8672979 add regression test for writer
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.
2012-03-09 15:56:29 +01:00
Tor Lillqvist
47c6f602f7 Use /assets as SRC_ROOT and OUTDIR_FOR_BUILD on Android 2012-01-23 12:04:46 +02:00
Markus Mohrhard
9b27d39081 finish sd's regression test
Implemented a simple character based comparison of the exported file and
the reference file
2012-01-19 21:08:52 +01:00
Tor Lillqvist
86cd55a249 Use / as SRC_ROOT and OUTDIR_FOR_BUILD on Android 2011-12-19 01:28:02 +02:00
Noel Power
ed6b0d6bb1 deliver test/user-template/user to solver, unittests will use new user dir
Please enter the commit message for your changes. Lines starting
2011-10-27 17:13:22 +01:00
Caolán McNamara
a5aef95444 now drop not available yet includes 2011-10-15 12:18:44 +01:00
Caolán McNamara
db5a5ffa82 split bootstrapfixture and move test-filters class for sot test
sot is below vcl, but is a filters test, we can split bootstrapfixture
into a vcl needing bit and and non-vcl bit and filters test api
can be standalone and combined with whichever bit in order to form
pre and post vcl filters test
2011-10-15 12:18:44 +01:00