summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2012-09-25move XGoalSeek api test to c++Markus Mohrhard4-0/+69
Change-Id: I689be9776c4d1fe7d931446d62ea8b1fd733de92
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud8-8/+8
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann3-19/+15
* 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-08-10Related fdo#51252: No more prereg, no more unopkg syncStephan Bergmann1-1/+0
Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying share/prereg/bundled to avoid startup crashes" removed the use of share/prereg, there is no longer need to generate it in the first place (by calling "unopkg sync" at build or installation time), and so no need for the "unopkg sync" sub- command, either. This also allows to simplify some of the jvmfwk code that was only there so that "unopkg sync" (which can require a JVM) can work in "hostile" environments (during build and installation). Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
2012-08-02test: string cleanup in BootstrapFixtureMiklos Vajna1-11/+10
Change-Id: I468c295713fc34b64403a1c31f802820e6608b07
2012-08-01test::BootstrapFixture: make GraphicConverter workMiklos Vajna3-0/+13
Change-Id: I566448db441eaa324cf619630a2e87cb8cbaeb99
2012-07-13test: move XMLDiff implementation details to cxx fileMichael Stahl2-68/+86
This makes it unnecessary to link clients against libxml2. Change-Id: Ifd295623c01bdc6f579afbf81d5b609a2b29f4bf
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks2-8/+2
2012-06-27targetted re-work of cppunit pieces.Michael Meeks1-1/+0
2012-06-22re-base on ALv2 code. Includes:Michael Meeks1-26/+17
Use ksc5601.h header from XFree86 Project Inc. Patch contributed by Oliver-Rainer Wittmann with minor changes from Pedro Giffuni http://svn.apache.org/viewvc?view=revision&revision=1179296
2012-05-18WaE: make test msvc2008 warnings freeCaolán McNamara1-3/+3
Change-Id: Ieccb0e425cb505bec3735539ebdf154529fde330
2012-05-12Explicitly export nested struct (needed on Mac OS X)Stephan Bergmann1-1/+1
Change-Id: I59b385ce27640845413247d2e117b787f9d8b339
2012-05-08Property writable test for util::DateTime & fixed a copy/paste error.Kohei Yoshida1-1/+9
Change-Id: Iabfbe3f4df2c73ad9325bdc60e4ad71a5d1fda15
2012-05-04Let's just combine the two tests, since one requires the other.Kohei Yoshida2-9/+2
Change-Id: I I4c02aa1d459f7d5c2a1d9c38255aae3c3043dda6
2012-05-03Added interface test for text::XText.Kohei Yoshida4-0/+112
Change-Id: I041b29d6e6314560a0f7fb7c0392c9a0f44fc1eb
2012-05-01rework callcatcher makefile to build subsequentcheck testsCaolán McNamara2-19/+0
Change-Id: Idda0262e62e42817b8c0502a38ee16913495233c
2012-04-30Implemented test for XPropertySet::setPropertyValue().Kohei Yoshida1-14/+53
Also cover all UNO primitive types in isPropertyValueChangeable(). Change-Id: I21a1809ed2a6b58f68ef82252f513991e0f012af
2012-04-30More descriptive method name.Kohei Yoshida2-3/+4
Change-Id: I7f0d68ee59e7a36254267d652de398cc371c7f8c
2012-04-30Started porting the XPropertySet test code.Kohei Yoshida4-0/+299
Not all its tests have been converted. This is work-in-progress. Change-Id: I90a789852e05a214440e4f87011b6de3d3d4d08a
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-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
2012-04-29WaE: tolerance.elementName & tolerance.attribName may be used uninitializedDavid Ostrovsky1-1/+5
Change-Id: I0145b6fd7bf87a634588633d95650f9062f2485e
2012-04-28Do the test for real. XTextField and XTextContent.Kohei Yoshida1-1/+0
Change-Id: I303562873fab5d41614f092966e47ff296c12610
2012-04-28Initial skeleton for API test on ScEditFieldObj.Kohei Yoshida2-2/+6
ScEditFieldObj was formerly ScCellFieldObj and ScHeaderFieldObj merged into one. Change-Id: I600188d7ee22bb7c7c18735f570460ce50083c6a
2012-04-28we can't move that into a test only libMarkus Mohrhard4-208/+0
Revert "move xshape dumper into test" This reverts commit beccf477581b1f3e85100d43be81ea55d3b3f912.
2012-04-27move xshape dumper into testMarkus Mohrhard4-0/+208
XShapeDumper can now be used by other parts of the code too. Please keep in mind that changing the dumper affects other parts too and might require a regneration of reference files. Change-Id: I540420a8bdf8afd8d43c5ea0bb0d82d7e0ecc44b
2012-04-27add tolerance to chart regression testMarkus Mohrhard2-3/+9
Change-Id: I5e7694571815df48e54488a33435bb7d022e6889
2012-04-27use the correct macroMarkus Mohrhard1-1/+1
don't push at 3a.m. Change-Id: Ia50253fe136bab3ebef7a71ba5dbf87e752c2e1a
2012-04-27improve assert messagesMarkus Mohrhard1-7/+17
2012-04-27use the new xml diff in chart regression testMarkus Mohrhard2-1/+11
2012-04-26std::isnan is c++11; use rtl::math::isNan for nowMarkus Mohrhard1-1/+2
2012-04-26add readme for xmldiffMarkus Mohrhard1-0/+5
2012-04-26add xml diff with toleranceMarkus Mohrhard4-0/+386
# Changes to be committed:
2012-04-26add test for XTextContentMarkus Mohrhard4-0/+135
2012-04-26add test case for xtextfieldMarkus Mohrhard4-0/+100
2012-04-23fix true->sal_False introduced in 6a018deLuboš Luňák1-1/+1
2012-04-23Revert "it seems tests runtime-depend on ucpchelp1 too"Luboš Luňák1-1/+0
It did not help with the race condition at all. This reverts commit 1b62ccdcb5a44effe4f6f9de105d96fbbd18102d.
2012-04-20it seems tests runtime-depend on ucpchelp1 tooLuboš Luňák1-0/+1
CppunitTest_sc_databaserangeobj can fail with 'UcbContentProviderProxy::getContentProvider - No provider for ´com.sun.star.help.XMLHelp.'
2012-04-20WaE: MSVC2008 C2220 unsafe mix of types in operationCaolán McNamara1-12/+12
2012-04-17transferring java XPrintAreas to c++Artur Dorda4-0/+122
2012-04-13setup/teardown default component context once before/after all testsCaolán McNamara1-6/+7
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-12partially revert the editeng singleton stuff to get build to completeCaolán McNamara2-3/+0
2012-04-12Handle the correct deletion order of EditDLL in the base class.Kohei Yoshida2-0/+3
Turns out that this change affected all cppunit runs.
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl2-4/+4
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)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-1/+1
2012-03-21chmod -xTor Lillqvist1-0/+0
2012-03-19adjust test for the correct dbdata importMarkus Mohrhard1-1/+1
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann12-0/+35
...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.
2012-03-01add test case for XSpreadsheetDocumentMarkus Mohrhard4-0/+103
2012-03-01WaE: C4265: class has virtual functions, but destructor is not virtualCaolán McNamara6-0/+16