Commit Graph

52 Commits

Author SHA1 Message Date
782adba4d4 fdo#64238: fix for missing footer bug
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx

Change-Id: I328547c41bfc1a23f7e6233db57fbfa415e22cb3
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-19 14:31:38 +02:00
e71de1d3e9 .mk files should not be executable
Change-Id: I390df82ebaa0b0e715e0cdfd8d39febe4f217d96
2013-06-18 17:14:51 +02:00
3b3a0ae279 disable test that ends throwing std::bad_alloc
... after eating >11 GiB of memory.

Change-Id: I6202fa7e410c9b397c465cb1c185305aeee509e1
2013-06-18 14:17:49 +02:00
6c7ae36a25 PythonTest still does not work on Windows
Change-Id: I79e352efeb1ed3fe8dab53bfb31362ac2ce11b06
2013-06-17 09:04:14 +02:00
2efac6b4d5 Another try to fix python unit test on MSVC
Change-Id: I66734830ef228b6928b24194f278632fa9f2c70c
2013-06-16 12:03:02 +01:00
06a8ebc878 fdo#62336 - unit test for conversion failure.
Turns out this depends on not doing layout, and so is a real corner-case.

Change-Id: If9d2db6b1a0df94fc809fb353f2dbf2cf9ac1c9a
2013-04-30 17:32:20 +01:00
f21d1faf6d clean up PythonTests
Conflicts:
	sw/PythonTest_sw_python.mk

Change-Id: I8dc937df02efb686bf19d6606b9b42b6f0abf742
2013-04-22 18:21:58 +02:00
0a35412983 disable PythonTest on WNT for now
There is a problem that needs fixing first, in order to be able to load
the test.dll the OUTDIR/bin needs to be on PATH but starting the
dev-install's python.exe with that then results in 2 instances of
tklo.dll loaded, which fails horribly.
Hopefully this will get easier once more stuff (python and libraries)
is moved to INSTDIR.

Change-Id: Ib615baac48e5e863b0b49a2de6c2985100ce3ae7
2013-04-20 23:38:55 +02:00
c576617408 run PythonTests with internal python too
... and use PYTHON_FOR_BUILD in the system python case.

Change-Id: If3c3305ab4f613642bea9b775e4c7a602f5a476c
TODO: needs testing on more platforms
Reviewed-on: https://gerrit.libreoffice.org/3471
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 04:54:27 +00:00
bec67a2e7f deliver all uiconfig files by UIConfig
Change-Id: Ie78b7ce399ba34485146ca7622c59d31f8105d02
Reviewed-on: https://gerrit.libreoffice.org/3229
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11 03:39:16 +00:00
ed72983131 rename UI to UIConfig
I plan to use it to deliver all */uiconfig files, not just .ui, as a
preliminary step to get rid of postprocess/packconfig.

Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149
Reviewed-on: https://gerrit.libreoffice.org/3225
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11 03:37:30 +00:00
0e68bac852 set up python unit test infrastructure
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>
2013-04-09 05:52:23 +00:00
c4ac5fedf2 sw: rename odf/ooxml/rtf/ww8 filter tests
The subsequent part of their name was misleading, as they are
slowchecks, not subsequentchecks anymore.

Change-Id: I2e5c1506d88b017e563adee9134905dc2b4e7d68
2013-03-18 09:36:11 +01:00
c8956344af sw: sw_swdoc_test -> sw_uwriter
To be consistent to sc_ucalc and sd_uimpress.

Change-Id: Id6b09bacdf19fb7c524f11352ba81cd630535a74
2013-02-03 12:42:09 +01:00
fdc0ad65e1 restore swdoc test
4b586bd622c94e617075f4e176087584ae5fe47d (presumably accidentally)
removed it

Change-Id: I7c9ce15f5393a31bdc33aad8edc91375859501c1
2012-12-05 11:27:36 +00:00
4b586bd622 correctly parse range in cond format dlg
Change-Id: I92d19cd71f7f1c9e90b2d3039a5c3c6a0143d1c7
2012-12-05 02:55:20 +01:00
84fd33b7c4 convert outline numbering numbering tab over fully
Change-Id: I8ff97ad9ecc6367d98dc31829f82d074f99f5934
2012-12-03 13:56:36 +00:00
caaeb0a046 re-base on ALv2 code. Includes:
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-11-30 10:10:38 +00:00
bfd20bfb3a use UI gbuild class to package .ui files in sw
Change-Id: I3c6a8d3cbd9fad20506c1deb34d7a65c4fa76bc6
2012-09-28 08:48:33 +01:00
e0f90c3060 introduce new option --disable-cve-tests
Change-Id: I288638c4a70396ccb7354b20e901aa0c46ffe442
Reviewed-on: https://gerrit.libreoffice.org/653
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-09-20 09:48:29 +00:00
9ec8d331dc kill more unneeded stuff; rename uiconfig Packages
Change-Id: Ib2f73d679ac4a6164142a370ce6d55c6de41117c
2012-08-24 23:24:11 +02:00
daf2312848 do not deliver these module-description xml files
Change-Id: Ife2f42b3a917ece10dc7ee9fcd83f1558084c4f1
Reviewed-on: https://gerrit.libreoffice.org/454
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-22 15:18:23 +00:00
c251673851 fdo#38244 comment range odf import/export testcase
Change-Id: I8cbaa30aa222404f55f5ff49474cf93e8b1bdac2
2012-07-20 15:41:49 +02:00
06b6a1da4a sw/qa/extras: rename import tests from *tok to *import
odfimport sounds much better as there's no such thing as "odftok"

Change-Id: I0a8684377c257f2c40a2e8255f62343d4ff2272a
2012-07-13 16:26:10 +02:00
4f5f7888c2 sw: add initial odftok test
Change-Id: Ibeb7622768b43f725f2aa5bc5d492290fe192efa
2012-07-13 15:55:52 +02:00
c62708c392 n#325936 testcase
Change-Id: I35d2ef784cbdcefe4c9bb18e1017d773202c1a9a
2012-06-15 12:14:18 +02:00
057d632db0 Initial ooxml export test
Change-Id: I Id7f647be04245496bb1970b1bcc621d97395c032
2012-05-14 16:56:35 +02:00
1742e33a22 sw: tentative fix for ww8tok test failure 2012-04-28 20:13:51 +02:00
e8897be1e1 temporarily disable a test with a build race condition 2012-04-27 19:29:07 +02:00
053dd54992 testcase for n#757910 2012-04-27 16:06:52 +02:00
fd2cb15bad sw: also test RTF export of zoom level 2012-04-15 20:05:08 +02:00
99298d615b add testcase for n#751054 2012-03-23 10:06:11 +01:00
2db82ffc1b these writer unittests surely are slow 2012-03-15 16:06:47 +01:00
c16bc82637 s/interpreters/scripting/ 2012-02-27 16:51:56 +02:00
4c737b6470 Decouple disabling of scripting (BASIC &co) from OS being iOS 2012-02-27 10:06:22 +02:00
3cd8d8c27d sw: add rtf slowcheck test that checks the resulting document model
Having it as a subsequent test in wrifterfilter would be less useful;
having it as a unit test in writerfilter is not possible, since
writerfilter does not depend on sw.
2012-02-13 14:21:03 +01:00
a261b5e664 Skip Library_vbaswobj for iOS 2012-01-27 22:44:06 +02:00
cb7c50c1a0 move macros_test to sw
the macros_test does not execute a useful macro at the moment
2011-11-14 23:50:56 +01:00
f66ac29343 Make .component files directly usable within UNO_SERVICES.
* solenv/bin/createcomponent.xslt simply surrounds it output by <components>.
* solenv/gbuild/CppunitTest.mk got new functions
gb_CppunitTest_add[_old]_component[s] (like their gb_RdbTarget_ predecessors).
* This obsoleted current uses of solenv/gbuild/RdbTarget.mk, which also does not
work currently, as it catenates the input component files instead of passing
them through packcomponents.xslt (which now takes care about the surrounding
<components> in the input).  In the future, it will likely be combined with the
recently added solenv/gbuild/ComponentsTarget.mk.
2011-11-11 10:53:23 +01:00
977ea14f37 adapt sw unittests to separate RdbTarget makefile requirement 2011-10-04 18:34:22 +02:00
952e758d47 move sw_test_filters => sw_filters_test for consistency 2011-10-04 18:34:22 +02:00
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
24b6225f93 Add consistent Emacs and vim mode lines 2011-07-30 23:03:51 +03:00
97e221f2c9 recover this unit test again 2011-06-10 21:19:45 +01:00
ca72c1cea7 restore filters qa test 2011-06-07 23:07:05 +01:00
f4ee300c5d masterfix DEV300: #i10000# buildtype removed 2011-02-21 12:41:39 +01:00
18d50889bd CWS gnumake3: fix accidental delete of vbaobj lib in module makefile of sw 2011-01-31 18:14:44 +01:00
f81812464c CWS gnumake3: several clean ups and fixes in makefiles 2011-01-26 10:30:19 +01:00
5d2f51945b CWS gnumake3: fix license headers 2011-01-25 18:19:55 +01:00
80ae0dcf21 gnumake3: more work on junit subsequenttest migration 2011-01-11 21:16:21 +01:00