summaryrefslogtreecommitdiff
path: root/chart2/qa
AgeCommit message (Collapse)AuthorFilesLines
2016-04-02Chart: Improve polynomial trendline equation renderingLaurent Balland-Poirier1-2/+5
Convert power figures in supersript figures Replace minus sign Change-Id: Ia0e77b5de3b6f2368efd1315576f9709d7b1b2d9 Reviewed-on: https://gerrit.libreoffice.org/23714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-10Extract Directories from BootstrapFixtureBaseStephan Bergmann1-2/+2
(as some tests derive from the latter only for the Directories part, not for the setUp/tearDown overrides: those tests will be cleaned up next) Change-Id: Ib6b78eea868b8bc21d4cc6e8fd9e1d025deca05f Reviewed-on: https://gerrit.libreoffice.org/23078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-02loplugin:unuseddefaultparams in chart2Noel Grandin1-4/+4
Change-Id: I03a3580fdbd1f6cf08af329b07edcfe09ecbb9aa
2016-01-06Fix typosAndrea Gelmini1-1/+1
Change-Id: Ie0578dcca6cbf4edb62544109d616a081888f369 Reviewed-on: https://gerrit.libreoffice.org/21140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-12-07Clean up use of libxml2 BAD_CASTStephan Bergmann1-14/+17
Change-Id: Ia48681f1be4fb3c51ea6805a2dab1b8b957540d0
2015-11-28tdf#88154 - added unit test for rotated layoutMarco Cecchetti2-0/+68
Change-Id: Ie0243bda8ec253d68f3bc5e469623d1f4edddcf5 Reviewed-on: https://gerrit.libreoffice.org/19297 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-11-27Resolves: tdf#96072 export Chart format codes in Excel notationEike Rathke1-1/+1
As for the change in chart2/qa/extras/chart2export.cxx Chart2ExportTest::testAxisNumberFormatXLSX() unit test: also Excel writes string parts of format codes quoted, including minus sign in negative subformat. Change-Id: I201bb012df818129cbc65de0eee8eca59e57d829
2015-11-04Proper fix for coverity#1326893Stephan Bergmann1-16/+3
FindBugs' FE.FE_FLOATING_POINT_EQUALITY is about double value inaccuracies, not about NaN or negative zero (which is the topic of java.lang.Double.equals vs. ==). Reuse existing qa.TestCaseOldAPI.approxEqual method, moved to util.utils. Change-Id: I65f7bb1faf921e1c4035bb96aeff1eaf2cfb3153
2015-11-04yyyyyNoel Grandin1-2/+2
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-02tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni2-13/+13
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann3-5/+5
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-07tdf#88154 workaround and unit testMarco Cecchetti2-0/+31
Fixed 45-degree layout for axis labels, too. Change-Id: I9764e281aeee0a439fa9eec1e3b0df840221b72f Reviewed-on: https://gerrit.libreoffice.org/18889 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-10-02Fix typosAndrea Gelmini1-1/+1
Change-Id: I776c517ba87838c0c3391f79010a30fa7fe2abd3 Reviewed-on: https://gerrit.libreoffice.org/18939 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-14boost->stdCaolán McNamara2-7/+6
Change-Id: Iff14f69c200217c5d868978e8ffc06962b99ac09 Reviewed-on: https://gerrit.libreoffice.org/18568 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-13chart2: Add missing includeDavid Ostrovsky1-0/+1
Change-Id: I06eacfd944cf4ae7eef44900352b958e08f91b42 Reviewed-on: https://gerrit.libreoffice.org/18522 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-10Related: tdf#93676 in msword chart appears with axis positioned between ticksCaolán McNamara2-0/+9
Change-Id: Ibd16d255a45a220faf7681a74785549c32969f78
2015-09-09tdf#90839: support for wrapped text in data labels and for centered data valueMarco Cecchetti8-5/+1041
Now in a pie chart the text of a label can be wrapped, the wrapping is automatic and the maximum text width is fixed to almost half the pie radius. This feature is used to import correctly the relative text wrapping property provided by MSO. Moreover the data value and percent value of a label are now centered horizontally, respect with the label text. Conflicts: chart2/qa/extras/xshape/chart2xshape.cxx Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b Reviewed-on: https://gerrit.libreoffice.org/17193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-09-08improve test caseMarkus Mohrhard1-0/+4
Actually I just need it to force a rebuild of the file on the windows boxes to fix the broken build. Change-Id: Id90f0ef40bd9bc8dcde3dc0a9040100267696d0e
2015-09-08also add test for DoubleToStringMarkus Mohrhard1-0/+23
Change-Id: I3de9afa7b5d975487fd03ae2a9c5393143abff9c
2015-09-08related tdf#93676, add test for chart::CommonFunctorsMarkus Mohrhard1-0/+62
Change-Id: I9667611135300155ee87cca1ad444ad8a6a9aeb1
2015-09-08Revert "Related: tdf#93676 in msword chart appears with axis positioned ↵Markus Mohrhard2-9/+0
between ticks" This reverts commit 10654c038c0bc20fb348be7164e08f3de98718f4.
2015-09-07Related: tdf#93676 in msword chart appears with axis positioned between ticksCaolán McNamara2-0/+9
not on them Change-Id: I048f86270ee12a38967c81e832619fd5018db6b1
2015-08-21tdf#39440 reduce scope of local variablesMichael Weghorn1-12/+6
This addresses some cppcheck warnings. Change-Id: I97726ed32e5aa92e7da7d248380a78b1b201e46e Reviewed-on: https://gerrit.libreoffice.org/17912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-21loplugin:defaultparamsNoel Grandin2-8/+8
Change-Id: Iaf6415d3b33a4ce195a00913a0df69f1fb794217
2015-08-13tdf#76649 test case for this issueTomaž Vajngerl2-4/+35
Change-Id: I8b88298c79e04e972b208dd74dcd693d53d0bb98 Reviewed-on: https://gerrit.libreoffice.org/17344 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-06-22loplugin:saloverrideMiklos Vajna1-2/+2
Change-Id: Ia20ffdc44d33501f5999aa47d990e769dcb632ec
2015-06-22loplugin:passstuffbyrefMiklos Vajna1-4/+4
Change-Id: I17d0aa6e9c0322924c5251eb524e06e91ee43ced
2015-06-22chart2: -Werror=unused-macrosMichael Stahl1-1/+0
Change-Id: I91e8a11934ae10bedfafdd98362e2e1e4f5fe51f
2015-06-22Add unit tests for chart2 trend calculatorsPhilippe Jung2-0/+214
Will be used to check tdf#70673 is fixed. Test will fail before the fix and should pass after. Change-Id: I9e0fdc696fb99ac2f0e24b04273391d526c629a6 Reviewed-on: https://gerrit.libreoffice.org/16406 Reviewed-by: Philippe Jung <phil.jung@free.fr> Tested-by: Philippe Jung <phil.jung@free.fr>
2015-06-19Fix expected/actual argument orderStephan Bergmann1-1/+1
Change-Id: I57a44ce4ca9c1e26366a90fb28616f46c209f7b2
2015-06-15cppcheck:redundantAssignmentNoel Grandin1-2/+1
Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
2015-06-08cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
2015-06-02add test for tdf#91685Markus Mohrhard2-0/+11
Change-Id: I9a08a11038e3e0f873abc4513c0cbda97f0e4795
2015-05-27unit test for pie chart label inside placement for the best fit caseAndras Timar3-0/+345
Change-Id: I7e6f8383ead96f585915afb119b8ee460967c0bc related: tdf#90839 Reviewed-on: https://gerrit.libreoffice.org/15934 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-05-13add test for primary and secondary axis positionMarkus Mohrhard1-0/+2
Change-Id: I8e790153c45c8ec2a4a94d629fbc0e36e60617d8
2015-05-12add test to make sure only one x axis is non-deleted in exported docMarkus Mohrhard1-0/+1
Change-Id: I8172015668cc43b4383276f2cd20cce4b0704277
2015-05-11add test for tdf#84347Markus Mohrhard2-0/+14
Change-Id: I437801a752e2ae2fa762f46f566b761fdc02acb8
2015-05-08add test for xlsx rotated axis title importMarkus Mohrhard2-0/+34
Change-Id: Ibfcf7cffe661efc1ce2063e87d38c45d943df69d
2015-05-08also add test for secondary axis, related tdf#75316Markus Mohrhard2-0/+19
Change-Id: I88f46f7724296e1c58cf7604a0c514de91b5ae2a
2015-05-08add test for tdf#75316Markus Mohrhard2-0/+20
Change-Id: Ic9f20c90e54f53484d67c1c38530dbac9638cbfe
2015-05-03add test for tdf#90876Markus Mohrhard2-0/+11
Change-Id: I5841f1b7b6f9ff60f9f1437b76a3e0b1b552a8a2
2015-05-02add test for tdf#86624Markus Mohrhard2-0/+13
Change-Id: Iaab521433d8573fb1184ec59e7d734b0e0c97f00
2015-04-30add test for minorTickMark OOXML default valueMarkus Mohrhard2-0/+17
Change-Id: Id1a4dcbc25b78afe123d529413ac8873b6452d2e
2015-04-30add test for majorTickMark OOXML default valueMarkus Mohrhard2-0/+18
Change-Id: Ib8af3f17db019dcddca58173806ee6499b50b416
2015-04-30add test for rAngAx OOXML default valueMarkus Mohrhard2-0/+15
Change-Id: Iaad4aa553564e31726b31ebf890ef0376c8f1690
2015-04-30add test for plotVisOnly export to OOXMLMarkus Mohrhard2-0/+11
Change-Id: I2dc49ec1c10da97f9b57ebff804cf403d2802beb
2015-04-30add test for plotVisOnly default valueMarkus Mohrhard2-0/+15
Change-Id: I0b0a5df307bc5478283fbbe48a0016256b9cf7cd
2015-04-27add test for title character properties, tdf#90532Markus Mohrhard2-0/+15
Change-Id: Ib9117e73a446e0e369bae0d9cfdd8bd73e3c237c
2015-04-27add test for axis character properties, tdf#90532Markus Mohrhard2-0/+19
Change-Id: Ica4dc4c621d722bdad1d3c47c2e5389c8a6b8d04
2015-04-25add test for tdf#88848Markus Mohrhard2-0/+21
Change-Id: I1ad26038db7ee386d7d6dc333e29845753ab8ec3