summaryrefslogtreecommitdiff
path: root/chart2/qa/extras/data/docx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-03-01 16:01:48 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2023-03-02 13:25:40 +0000
commitd913584909c2e0a235546a5f800baf45c3446d8b (patch)
treece6367c54108a0cde6245ff1b36bce85b5a46731 /chart2/qa/extras/data/docx
parentadd155dc2377a853b5281db8afb8818cb175c71a (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.docxbin41444 -> 28027 bytes
-rw-r--r--chart2/qa/extras/data/docx/MSO_axis_position_2.docxbin0 -> 26074 bytes
-rw-r--r--chart2/qa/extras/data/docx/testExternalData.docxbin0 -> 24082 bytes
-rw-r--r--chart2/qa/extras/data/docx/testMultipleChart.docxbin47534 -> 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
index a9955b7b1ad7..a316cfee9319 100644
--- a/chart2/qa/extras/data/docx/MSO_axis_position.docx
+++ b/chart2/qa/extras/data/docx/MSO_axis_position.docx
Binary files differ
diff --git a/chart2/qa/extras/data/docx/MSO_axis_position_2.docx b/chart2/qa/extras/data/docx/MSO_axis_position_2.docx
new file mode 100644
index 000000000000..85fd3077c12e
--- /dev/null
+++ b/chart2/qa/extras/data/docx/MSO_axis_position_2.docx
Binary files differ
diff --git a/chart2/qa/extras/data/docx/testExternalData.docx b/chart2/qa/extras/data/docx/testExternalData.docx
new file mode 100644
index 000000000000..20ae7e3d1f53
--- /dev/null
+++ b/chart2/qa/extras/data/docx/testExternalData.docx
Binary files differ
diff --git a/chart2/qa/extras/data/docx/testMultipleChart.docx b/chart2/qa/extras/data/docx/testMultipleChart.docx
deleted file mode 100644
index 28d8bbcfe143..000000000000
--- a/chart2/qa/extras/data/docx/testMultipleChart.docx
+++ /dev/null
Binary files differ