2fa3aed1cb
parseXml should return xmlDocPtr instead of htmlDocPtr
...
Change-Id: Ia9fb79ea40ca840d7328a078e747ad64a63d18f1
2014-08-28 13:50:47 +02:00
fb1f710d3f
loplugin:passstuffbyref (Primitive2DSequence)
...
Change-Id: I3d9c6daa09d71ca872021fe13405b08050e191d9
2014-08-17 00:32:03 +02:00
4bc6484c59
initial implementation of XML dump for Primitive2DSequence
...
Change-Id: I6618b18164a26553f81a1c737e009b7187b028c3
2014-08-16 20:49:20 +02:00
d3a59629f7
XmlWriter: simplify and take SvStream* as input
...
Change-Id: I56b2fa6887f7971604a2dcf34497ecda9cea8937
2014-08-16 20:49:20 +02:00
8a3a2e888b
mtfxmldump: move XML writing into its own function
...
Change-Id: I82954177fe9d4934e69b33c1c985304add09e089
2014-08-16 20:49:19 +02:00
454ec6e791
XStyleLoader2 : enhance unit test to PageStyle
...
and remove duplicate code
Change-Id: Ib9e3568c860fe5cd3f11374a1c61dff101e33a18
Reviewed-on: https://gerrit.libreoffice.org/10832
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2014-08-11 06:37:02 +00:00
949279c801
XStyleLoader2 loadStylesFromDocument - unit tests
...
Change-Id: Id143689f573e6f8585db9bc48a252e311ff0e721
2014-08-08 00:38:10 +02:00
5021f29841
Remove some unused code
...
Change-Id: Ib1fb5108a858c35a5bbe8ba865e15660639725e3
Reviewed-on: https://gerrit.libreoffice.org/10593
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2014-07-29 14:20:36 +00:00
88d1d90fb7
Also add xmlwriter's "content" method to the header file
...
Change-Id: Ic3e13e89480e3b18f84c3a8fd1a88627bd465d6a
2014-07-20 21:02:49 +02:00
17d0d12b8d
unit test XSheetAnnotations GetByIndex for #fdo80551
...
Change-Id: I89ebc3d5ac257f3c754a050caf3776959b81d8b3
Reviewed-on: https://gerrit.libreoffice.org/9933
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-07-02 12:21:34 +00:00
2a649539b7
MetafileXmlDump: No need to specify the stream, simplify the API.
...
Change-Id: Ia08f67e359bbd26cefdba8661f0b0c4ae2147382
2014-06-10 19:33:12 +02:00
c2034f3993
fixincludeguards: fix include guards
...
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b
Reviewed-on: https://gerrit.libreoffice.org/9629
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-06-06 19:16:40 +00:00
f87859b88f
Fix memory leaks in test code
...
Change-Id: Ifa756a5da636e0b37654ad83900115872bc40f0e
2014-06-02 15:45:28 +02:00
8e115c6008
fdo#68849: Add header guards to all include files
...
added header guards for directories basebmp/, chart2/, cppuhelper/,
include/test/, io/test/, sax/test, shell/, writerfilter/, and xmlhelp/
Change-Id: I0e29a9b75c26d71f58aa98986b52f6d3b46015a6
Reviewed-on: https://gerrit.libreoffice.org/9615
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-06-02 08:46:30 +00:00
fb1e810553
test: don't create root element in startDocument() in xmlwriter
...
Change-Id: Ia08e9f8caf2a2fb42855dcb2245e013e1a181216
2014-05-15 23:50:58 +02:00
fb688d6446
test: dump staroffice metafile to XML & XML writer interface
...
Change-Id: Ie42f72e0fc281d1f51e1729be408c2b0042f4174
2014-05-15 19:51:08 +02:00
780cedb2cf
test: parseXmlStream & parseHtmlStream added to test tools
...
Change-Id: Iff8af5e9ffefb4c3cecf387b16473d45e8b4a65a
2014-05-15 19:51:08 +02:00
2bd7767d01
Resolves fdo#70681: fixincludeguards.pl: all that's left
...
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-05-15 12:50:46 +00:00
248145f99e
Find places where uno::Sequence is passed by value.
...
Implement a clang plugin to find them, and clean up existing code
to pass them by reference.
Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8
Reviewed-on: https://gerrit.libreoffice.org/9351
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-05-14 08:10:22 +00:00
76715b105f
test: move XmlTestTools API documentation to the header
...
Change-Id: Iae56b1fb68fde0cbc44f6b9e37ba1a66194b25e0
2014-04-30 09:38:38 +02:00
dde833575e
tests: add XML and HTML test tools to test module
...
XML and HTML parsing and XPath asserts are used by many test in
sw, sc and sd modules. This commit moves this functionallity to
test module, where it is available to all modules.
Change-Id: I53ad9c45b24f4c9bf106cb58ea619002968bfeda
2014-04-29 23:57:33 +02:00
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
9a7ca779cd
move the export validation code to test
...
Change-Id: Iaafe30a1095bd5b6dac3637c394818ba8bd848ce
2014-03-05 11:14:55 +01:00
f992400f6f
count notes - GetNotesInRange now include last tab
...
- refactor tests
- add unit test on counting notes on a sheet
Change-Id: I6762a0e791a745b828800645effdfc044ac33710
Reviewed-on: https://gerrit.libreoffice.org/6954
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2013-12-06 05:46:16 -06:00
d902542058
fdo#65108 inter-module includes <> include/test
...
Change-Id: I70617d9095272f7c3aa62223db120cce9e03a66a
2013-11-09 18:48:49 -06:00
6f40eec725
Calc UNO API test
...
Change-Id: I6dcd9ac05ff7c4a6fbae7947b0ceda8797feea2f
2013-11-09 06:36:49 +01:00
a071a29d4f
UnoApiTest don't require Calc
...
There is no reason for the generic UnoApiTest to require Calc
specifically. Calc tests can/should instantiate a Calc instance.
We can create a CalcUnoApiTest for that that inherits from
UnoApiTest; however this does not seem necessary, "make sc.clean"
succeeds.
Anyway, the ScGlobals::ensure mentioned in the comment does not
seem to exist.
This allows us to eliminate some code duplication in tests
that were reimplementing UnoApiTest minus the Calc instantiation.
Change-Id: I37bea9df41e3960df0458fe689cf6c046a243617
2013-11-09 06:36:45 +01:00
1130a359cb
fixincludeguards.sh: include - the rest
...
Change-Id: If1ee11da444a7f96f2d8668b277540da0bb4dbe9
2013-10-23 23:22:31 +02:00
03993b47c5
targetted clean of redundant header piece from 62badf3828
...
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-26 14:18:52 +01:00
6ddfb81c07
add missing css prefix to header
...
Change-Id: I4c3311061150f2fd6c703566f064df8263caaa09
2013-06-30 13:22:19 +02:00
e2e2cc6114
remove usage of RTL_CONSTASCII_USTRINGPARAM
...
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
72e5d0c8fb
Move to MPLv2 license headers, with ESC decision and author's permission.
2013-04-30 13:34:06 +01:00
add638b725
test: clean up namespacing
...
Change-Id: I7df07176bdbd15fdfdf8f9a7cdb26d4bee12997d
2013-04-26 14:41:36 +02:00
e35f2f0631
don't pollute global namespace
...
Change-Id: Iffeeffb015c59ea787838c737c6a11f6fbef2794
2013-04-25 22:20:04 +02:00
b9337e22ce
execute move of global headers
...
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details
Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00