summaryrefslogtreecommitdiff
path: root/sw/qa/unoapi
AgeCommit message (Collapse)AuthorFilesLines
2015-05-29split sw unoapi test for performanceBjoern Michaelsen4-65/+117
- test previously took 3m35s here - slowest part is now 70s Change-Id: I4a3e03cf6ef014ad60ecf6897b7395a680c33460 Reviewed-on: https://gerrit.libreoffice.org/15957 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-04-01SwXStyle::getPropertyValue: don't try to read a float into a sal_Int32Miklos Vajna1-3/+3
The problem was that for the CharDiffHeight UNO property, SvxFontHeightItem::QueryValue() put a float to the returned uno::Any. When we noticed that it's not sal_Int16, we tried to read that into a sal_Int32 (which failed), and then wrote back the result to the uno::Any, that's how the result value was 0. Fix this by checking if reading the uno::Any into a sal_Int32 succeeds. Change-Id: Ie2269a24fe82ae241940811e7a2f5deaf9f1aeb0
2014-03-28Merge back branch alg_writerframes to trunkArmin Le Grand1-3/+3
(cherry picked from commit b635b4fa4e42053d30ab639643d2236a20243f62) Conflicts: comphelper/inc/comphelper/TypeGeneration.hxx comphelper/source/property/TypeGeneration.cxx cui/source/factory/dlgfact.hxx cui/source/inc/cuitabarea.hxx cui/source/tabpages/tabarea.cxx cui/source/tabpages/tabarea.hrc cui/source/tabpages/tabarea.src cui/source/tabpages/tparea.cxx drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/texture/texture.cxx editeng/inc/editeng/unotext.hxx editeng/source/items/frmitems.cxx include/drawinglayer/texture/texture.hxx include/editeng/brushitem.hxx include/svx/sdr/primitive2d/sdrdecompositiontools.hxx include/svx/svxids.hrc include/xmloff/xmltypes.hxx reportdesign/source/ui/misc/UITools.cxx sc/source/ui/drawfunc/drawsh.cxx sfx2/source/dialog/tabdlg.cxx svl/source/undo/undo.cxx svx/inc/svx/unoshprp.hxx sw/Library_sw.mk sw/inc/doc.hxx sw/inc/format.hxx sw/inc/frmfmt.hxx sw/inc/swatrset.hxx sw/inc/unomap.hxx sw/inc/unoprnms.hxx sw/source/core/access/accpara.cxx sw/source/core/attr/format.cxx sw/source/core/attr/swatrset.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/text/inftxt.cxx sw/source/core/text/porfld.cxx sw/source/core/text/txtfly.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/uibase/app/docst.cxx sw/source/core/uibase/app/docstyle.cxx sw/source/core/uibase/shells/drawdlg.cxx sw/source/core/uibase/shells/frmsh.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmpage.src sw/source/ui/inc/frmsh.hxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx Change-Id: Id3ffaa83bb5594d287f1ac8f2c1c9cf55c70946d
2013-04-19sw: move Python tests out of qa/unoapiMichael Stahl2-93/+0
Change-Id: I4f9655b1df27bec2a7571d43921f962d3a420bb5
2013-04-09move Python tests in-processMichael Stahl2-2/+2
This is nice to make them more easily debuggable. A series of crude hacks are employed to bootstrap enough services from python so the current tests run. This is only tested with system python3 on Fedora. Change-Id: I5e06741e55ead7fddec41ff776ff8ca5d2399469 Reviewed-on: https://gerrit.libreoffice.org/3215 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-04-09set up python unit test infrastructureDavid Ostrovsky2-0/+93
Extract boostraping code from convwatch.py to unotest.py. Use python builtin unittest module as unit test framework. Specify the unit test modules in make file. Another option would be to use discover mode of unittest module. Add __pycache__ to global .gitignore to keep the source directory clean. Another option would be to deliver the unit tests to workdir prior to test execution. Currently only system python3 is supported. Change-Id: I2692817673f786e950e1176a17c7675f989755b6 Reviewed-on: https://gerrit.libreoffice.org/3214 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2012-12-04i#25473: this was fixed by previous commit, so enable...Michael Stahl1-4/+0
...those tests again. Also there does not appear to be a reason to exclude MAYBEVOID properties. Change-Id: Ic73adb8800aee7f65e86394cecfe13b7b24eed13
2012-11-30API CHANGE: remove service com.sun.star.text.PrintPreviewSettingsMichael Stahl1-3/+0
This service was obsoleted by CWS printerpullpages: the implementation in Writer was defunct in OpenOffice.org 3.3 and completely removed in OpenOffice.org 3.4. Change-Id: Ia4dd6f1f1d8fc399583032b44d99663532409b5c EXISTENCE: published key "/UCR/com/sun/star/text/PrintPreviewSettings" exists only in registry 1 SERVICE: /UCR/com/sun/star/text/DocumentSettings service1 contains 1 more references as service2 incompatible change: Reference 2 ('PrintPreviewSettings') in 'r1' is not longer a reference of this service in 'r2'
2012-11-30re-base on ALv2 code. Includes:Michael Meeks1-0/+18
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2012-06-21re-base on ALv2 code.Michael Meeks1-0/+18
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2011-10-05fdo#35660: reenable sw.DocumentSettings::com::sun::star::text::PrintSettings ↵Bjoern Michaelsen1-3/+0
yet again as it seems to work now
2011-05-24fdo#35660: revert a7c0b2ce51d0a412fbf8f7ba758c032606eb86bcBjoern Michaelsen1-0/+3
* disable sw.DocumentSettings::com::sun::star::text::PrintSettings * this test is instable, it sometimes succeeds, it sometimes fails * This reverts commit a7c0b2ce51d0a412fbf8f7ba758c032606eb86bc. Conflicts: sw/qa/unoapi/knownissues.xcl
2011-05-23fdo#35662: reenable sw.SwXPrintSettings::com::sun::star::text::PrintSettingsBjoern Michaelsen1-3/+0
2011-05-23fdo#35661: fix sw.SwXViewSettings::com::sun::star::text::ViewSettingsBjoern Michaelsen1-3/+0
2011-05-23fdo#35660: reenable sw.DocumentSettings::com::sun::star::text::PrintSettingsBjoern Michaelsen1-3/+0
2011-03-27cleanup of unoapi testBjoern Michaelsen2-100/+0
2011-03-25fd#35662: disable sw.SwXPrintSettings::com::sun::star::text::PrintSettingsBjoern Michaelsen1-0/+3
2011-03-25fd#35661: disable sw.SwXViewSettings::com::sun::star::text::ViewSettingsBjoern Michaelsen1-0/+3
2011-03-25fd#35660: disable sw.DocumentSettings::com::sun::star::text::PrintSettingsBjoern Michaelsen1-0/+3
2011-02-28CWS-TOOLING: integrate CWS impress195Ivo Hinkelmann1-0/+48
2011-02-01gnumake3: remove dmake files for tests in converted modulesMichael Stahl2-49/+0
2011-01-25CWS gnumake3: resync to m98Mathias Bauer1-0/+48
2011-01-11gnumake3: more work on junit subsequenttest migrationBjoern Michaelsen1-2/+3
2011-01-05sb135: recreated tests that had erroneously been deleted by CWS gnumake2sb1-0/+48
2010-11-26CWS gnumake2: resync to m94Mathias Bauer1-3/+0
2010-11-19gnumake2: removing old dmake file in migrated modulesBjoern Michaelsen1-48/+0
2010-10-27merge DEV300_m90Michael Stahl2-3/+17
2010-10-01sb123: #i114889# disabled ↵sb1-0/+3
sw.SwXTextViewCursor::com::sun::star::view::XScreenCursor for now
2010-09-21sb123: #i114637# disabled sw.SwAccessibleFootnoteView for nowsb1-1/+1
2010-08-30sb123: #i114205# disabled ↵sb1-0/+3
sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleText for now
2010-07-30sw34bf01: #i112111#: re-enable api test SwXViewSettingsMichael Stahl1-3/+0
2010-07-14sb123: #i113142# disabled sw.SwAccessibleFooterView and ↵sb1-2/+2
sw.SwAccessibleHeaderView for now
2010-09-17sb123: #i113136# disabled ↵sb1-0/+3
sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleEditableText for now
2010-09-17sb123: #i113020# disabled some ↵sb1-0/+5
sw.SwXText*::com::sun::star::beans::XPropertySet for now
2010-07-02sw33bf06: #i111185#: sw: re-enable testsMichael Stahl1-14/+14
the unxsols4 compiler bug workarounds have been deployed: i112513, i111177
2010-06-04chart47: #i112111# disable broken api testIngrid Halama1-0/+3
2010-05-12sb120: #i111220# disabled failing tests for nowsb1-0/+1
2010-05-03sb120: #i111332# disabled failing tests for nowsb1-0/+3
2010-04-30sb120: #i111273# disabled failing tests for nowsb1-0/+3
2010-04-28sb120: #i111220# disabled failing tests for nowsb1-0/+3
2010-04-28sb120: #i111218# disabled failing tests for nowsb1-0/+3
2010-04-27sb120: #i111197# disabled failing tests for nowsb1-1/+1
2010-04-27sb120: #i111194# disabled failing tests for nowsb1-1/+1
2010-04-27sb120: #i111190# disabled failing tests for nowsb1-1/+1
2010-04-27sb120: #i111186# disabled failing tests for nowsb1-0/+3
2010-04-27sb120: #i111185# disabled failing tests for nowsb1-14/+14
2010-04-27sb120: #i111178# disabled failing tests for nowsb1-2/+2
2010-03-08sb118: #i109917# disabled fragile unoapi testsb1-1/+4
2010-02-16sb118: handle --without-junit gracefullysb1-0/+2
2010-02-12sb118: moved test OOo installation stuff to new ↵sb2-16/+70
solenv/inc/installationtest.mk (makefile parts) and new test module (C++ and, new, Java unit test parts); adapted sw/qa/unoapi to new (Java) test framework