summaryrefslogtreecommitdiffstats
path: root/editeng/qa/unit
Commit message (Collapse)AuthorAgeFilesLines
* Rename SectionAttribute to Section.Kohei Yoshida2013-08-281-9/+9
| | | | | | It fits better this way. Change-Id: I139de7858e999a6dd26633a548c47634dfad8a65
* Fix incorrect logic in section attribute array construction.Kohei Yoshida2013-08-281-41/+103
| | | | | | And a new test case to catch it. Change-Id: Ie51ddf185f70c656e7d838fc7016b5726efbdf3f
* Add a means to retrieve all formatting attributes in non-overlapping sections.Kohei Yoshida2013-08-201-0/+93
| | | | Change-Id: Id04dffc135fad6bb66ea157cd280dd481cb80117
* String to OUStringMatteo Casalin2013-07-301-1/+1
| | | | | | | Change-Id: I8d4f62b473ad43807621a9dbb826ed33857b737e Reviewed-on: https://gerrit.libreoffice.org/5189 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* Work around -Werror=strict-aliasingStephan Bergmann2013-06-111-1/+2
| | | | Change-Id: I0184488344bd11c50bddd1bb1726e0d1225aff7e
* sw: fix AutoCorrect bold/underline regressionMichael Stahl2013-06-071-15/+30
| | | | | | | | | | | | | The horrible SvxAutoCorrect::AutoCorrect() inserts the character into the document half-way through, and then _expects_ this inserted character to show up in its rTxt parameter. This broke in Writer when SwTxtNode::m_Text was converted to OUString, because now a temporary String copy is created. Work around this disaster area for now. (regression from 0295c8a34e39326414c1b98cf4da905802f061b0) Change-Id: I1cb11a20cb0c2577036176e605426105631f3311
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-221-23/+4
|
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-071-16/+16
| | | | | | | | 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
* Related: fdo#55693 add regression tests for autocorrectionCaolán McNamara2013-03-011-0/+116
| | | | Change-Id: Ie9bbeb38ec9cc2fa0377709e75abb0338b20bab5
* targetted re-work of cppunit pieces.Michael Meeks2012-06-271-3/+0
|
* Renamed FILE to DOCINFO_TITLE, which is more appropriate for this field.Kohei Yoshida2012-05-141-1/+1
| | | | Change-Id: I1267629da8b66fc21c4ae2e78634c2093274aa61
* Unit test for UNO field item implementation.Kohei Yoshida2012-05-111-0/+139
| | | | | | Make sure the type IDs are associated with correct service names. Change-Id: I5ff8ec7fb56f2790f9a3eca8e019c784cb27de43
* setup/teardown default component context once before/after all testsCaolán McNamara2012-04-131-1/+1
| | | | | | | | | | | | | 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
* partially revert the editeng singleton stuff to get build to completeCaolán McNamara2012-04-121-1/+1
|
* Handle the correct deletion order of EditDLL in the base class.Kohei Yoshida2012-04-121-2/+0
| | | | Turns out that this change affected all cppunit runs.
* Remove the TODO comment that's no longer relevant.Kohei Yoshida2012-04-111-1/+0
|
* We need to delete EditDLL before de-initialize vcl to avoid crash.Kohei Yoshida2012-04-111-2/+3
| | | | | | | | | Without manually releasing the EditDLL singleton instance, it gets deleted *after* the cppunit does its cleanup, which de-initializes VCL. The problem is, when the EditDLL instance is destroyed, its member GlobalEditData instance deletes the OutputDevice instance that it owns, which in turn accesses font caches in VCL. But by the time we reach that point, VCL is already de-initialized, hence the problem.
* Avoid duplicate symbols & use setUp() and tearDown() for the item pool.Kohei Yoshida2012-04-111-4/+26
|
* Just use the internal item pool already written for the edit engine.Kohei Yoshida2012-04-111-69/+4
|
* You *are* fixed.Kohei Yoshida2012-04-111-1/+0
|
* Set default items to the item pool, do this and that, and now the test passes.Kohei Yoshida2012-04-111-2/+8
|
* needs ure and base-class setUp does necessary stuffCaolán McNamara2012-04-111-7/+0
|
* Attempt to add general-purpose unit test for editeng.Kohei Yoshida2012-04-111-0/+141
But instantiating EditEngine causes segfault. The line is commented out for now.