2 # -----------------------------------------------------------------------------
4 # NOTE: this is an import/export tests. We do not look at what is done
5 # with the formats in the test files.
8 use lib
($0 =~ m
|^(.*/)| ?
$1 : ".");
11 my $file = "$samples/merge-tests.gnumeric";
13 if (&subtest
("gnumeric")) {
14 &message
("Check merges gnumeric roundtrip.");
15 &test_roundtrip
($file,
16 'format' => 'Gnumeric_XmlIO:sax',
20 if (&subtest
("ods")) {
21 &message
("Check merges ods roundtrip.");
22 &test_roundtrip
($file,
23 'format' => 'Gnumeric_OpenCalc:odf',
25 'filter2' => 'std:drop_generator');
28 if (&subtest
("biff7")) {
29 &message
("Check merges xls/BIFF7 roundtrip.");
30 &test_roundtrip
($file,
31 'format' => 'Gnumeric_Excel:excel_biff7',
33 'resize' => '16384x256',
34 'filter2' => 'std:drop_codepage');
37 if (&subtest
("biff8")) {
38 &message
("Check merges xls/BIFF8 roundtrip.");
39 &test_roundtrip
($file,
40 'format' => 'Gnumeric_Excel:excel_biff8',
42 'filter2' => 'std:drop_codepage');
45 if (&subtest
("xlsx")) {
46 &message
("Check merges xlsx roundtrip.");
47 &test_roundtrip
($file,
48 'format' => 'Gnumeric_Excel:xlsx',
50 'resize' => '1048576x16384');