[gnumeric] Tests: add ods-strict tests.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Tests: add ods-strict tests.
- Date: Sun, 4 Sep 2022 13:58:04 +0000 (UTC)
commit 220da705f2f7fa1891cffcff7b7a98abd9e41340
Author: Morten Welinder <terra gnome org>
Date: Sun Sep 4 09:54:35 2022 -0400
Tests: add ods-strict tests.
test/t6513-merges.pl | 9 +++++++++
test/t6514-rich-text.pl | 9 +++++++++
test/t6521-sheet-names.pl | 9 +++++++++
test/t6522-hlink.pl | 9 +++++++++
4 files changed, 36 insertions(+)
---
diff --git a/test/t6513-merges.pl b/test/t6513-merges.pl
index 2bc0d0e20..4eb9cff70 100755
--- a/test/t6513-merges.pl
+++ b/test/t6513-merges.pl
@@ -25,6 +25,15 @@ if (&subtest ("ods")) {
'filter2' => 'std:drop_generator');
}
+if (&subtest ("ods-strict")) {
+ &message ("Check string ods strict-conformance roundtrip.");
+ &test_roundtrip ($file,
+ 'format' => 'Gnumeric_OpenCalc:openoffice',
+ 'ext' => "ods",
+ 'filter1' => 'std:ods_strict',
+ 'filter2' => 'std:drop_generator | std:ods_strict');
+}
+
if (&subtest ("biff7")) {
&message ("Check merges xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
diff --git a/test/t6514-rich-text.pl b/test/t6514-rich-text.pl
index 71f5310e1..0d35099b0 100755
--- a/test/t6514-rich-text.pl
+++ b/test/t6514-rich-text.pl
@@ -25,6 +25,15 @@ if (&subtest ("ods")) {
'filter2' => 'std:drop_generator');
}
+if (&subtest ("ods-strict")) {
+ &message ("Check string ods strict-conformance roundtrip.");
+ &test_roundtrip ($file,
+ 'format' => 'Gnumeric_OpenCalc:openoffice',
+ 'ext' => "ods",
+ 'filter1' => 'std:ods_strict',
+ 'filter2' => 'std:drop_generator | std:ods_strict');
+}
+
if (&subtest ("biff7")) {
&message ("Check rich text xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
diff --git a/test/t6521-sheet-names.pl b/test/t6521-sheet-names.pl
index 4c88e6938..af428e072 100755
--- a/test/t6521-sheet-names.pl
+++ b/test/t6521-sheet-names.pl
@@ -22,6 +22,15 @@ if (&subtest ("ods")) {
'filter2' => 'std:drop_generator');
}
+if (&subtest ("ods-strict")) {
+ &message ("Check string ods strict-conformance roundtrip.");
+ &test_roundtrip ($file,
+ 'format' => 'Gnumeric_OpenCalc:openoffice',
+ 'ext' => "ods",
+ 'filter1' => 'std:ods_strict',
+ 'filter2' => 'std:drop_generator | std:ods_strict');
+}
+
if (&subtest ("biff7")) {
&message ("Check sheet names xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
diff --git a/test/t6522-hlink.pl b/test/t6522-hlink.pl
index 2d8a6d26c..5329d27f1 100755
--- a/test/t6522-hlink.pl
+++ b/test/t6522-hlink.pl
@@ -23,6 +23,15 @@ if (&subtest ("ods")) {
'filter2' => 'std:drop_generator');
}
+if (&subtest ("ods-strict")) {
+ &message ("Check string ods strict-conformance roundtrip.");
+ &test_roundtrip ($file,
+ 'format' => 'Gnumeric_OpenCalc:openoffice',
+ 'ext' => "ods",
+ 'filter1' => 'std:ods_strict',
+ 'filter2' => 'std:drop_generator | std:ods_strict');
+}
+
if (&subtest ("biff7")) {
&message ("Check hyperlink xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]