diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-01 16:01:48 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-02 13:25:40 +0000 |
commit | d913584909c2e0a235546a5f800baf45c3446d8b (patch) | |
tree | ce6367c54108a0cde6245ff1b36bce85b5a46731 /chart2/qa/extras/data/docx | |
parent | add155dc2377a853b5281db8afb8818cb175c71a (diff) |
UnoApiXmlTest: merge parseExport from ChartTest
Reuse existing mechanism to handle chart file names in tests.
See https://lists.freedesktop.org/archives/libreoffice/2023-February/089995.html
and 5f7861e6ce212f47420533aed302fa4b5510557d
"fix chart export tests correctly
we have a static counter that increments chart export file names. So
only the first exported file gets the file name chart1.xml and all the
following charts are incremented by one even if they are in a different
file."
Also add an assert to warn developers only 1 chart is allow per sample
document when parsing them.
Adapt a few tests to follow this rule and change file document
from testMultipleChart.docx to testExternalData.docx because
the name was misleading
Change-Id: Id7282049796f2b05492ab70b50c80065a99439be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148065
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'chart2/qa/extras/data/docx')
-rw-r--r-- | chart2/qa/extras/data/docx/MSO_axis_position.docx | bin | 41444 -> 28027 bytes |
-rw-r--r-- | chart2/qa/extras/data/docx/MSO_axis_position_2.docx | bin | 0 -> 26074 bytes |
-rw-r--r-- | chart2/qa/extras/data/docx/testExternalData.docx | bin | 0 -> 24082 bytes |
-rw-r--r-- | chart2/qa/extras/data/docx/testMultipleChart.docx | bin | 47534 -> 0 bytes |
4 files changed, 0 insertions, 0 deletions
diff --git a/chart2/qa/extras/data/docx/MSO_axis_position.docx b/chart2/qa/extras/data/docx/MSO_axis_position.docx Binary files differindex a9955b7b1ad7..a316cfee9319 100644 --- a/chart2/qa/extras/data/docx/MSO_axis_position.docx +++ b/chart2/qa/extras/data/docx/MSO_axis_position.docx diff --git a/chart2/qa/extras/data/docx/MSO_axis_position_2.docx b/chart2/qa/extras/data/docx/MSO_axis_position_2.docx Binary files differnew file mode 100644 index 000000000000..85fd3077c12e --- /dev/null +++ b/chart2/qa/extras/data/docx/MSO_axis_position_2.docx diff --git a/chart2/qa/extras/data/docx/testExternalData.docx b/chart2/qa/extras/data/docx/testExternalData.docx Binary files differnew file mode 100644 index 000000000000..20ae7e3d1f53 --- /dev/null +++ b/chart2/qa/extras/data/docx/testExternalData.docx diff --git a/chart2/qa/extras/data/docx/testMultipleChart.docx b/chart2/qa/extras/data/docx/testMultipleChart.docx Binary files differdeleted file mode 100644 index 28d8bbcfe143..000000000000 --- a/chart2/qa/extras/data/docx/testMultipleChart.docx +++ /dev/null |