Compilation: kill warning.
[gnumeric.git] / test / t6522-hlink.pl
blob2d8a6d26ce9e23be117ad1d74dff73e803b7cf49
1 #!/usr/bin/perl -w
2 # -----------------------------------------------------------------------------
4 use strict;
5 use lib ($0 =~ m|^(.*/)| ? $1 : ".");
6 use GnumericTest;
7 $GnumericTest::default_subtests = '*,-biff7';
9 my $file = "$samples/hlink-tests.gnumeric";
11 if (&subtest ("gnumeric")) {
12 &message ("Check hyperlink gnumeric roundtrip.");
13 &test_roundtrip ($file,
14 'format' => 'Gnumeric_XmlIO:sax',
15 'ext' => "gnm");
18 if (&subtest ("ods")) {
19 &message ("Check hyperlink ods roundtrip.");
20 &test_roundtrip ($file,
21 'format' => 'Gnumeric_OpenCalc:odf',
22 'ext' => "ods",
23 'filter2' => 'std:drop_generator');
26 if (&subtest ("biff7")) {
27 &message ("Check hyperlink xls/BIFF7 roundtrip.");
28 &test_roundtrip ($file,
29 'format' => 'Gnumeric_Excel:excel_biff7',
30 'ext' => "xls",
31 'resize' => '16384x256',
32 'filter2' => 'std:drop_codepage',
33 'ignore_failure' => 1);
36 if (&subtest ("biff8")) {
37 &message ("Check hyperlink xls/BIFF8 roundtrip.");
38 &test_roundtrip ($file,
39 'format' => 'Gnumeric_Excel:excel_biff8',
40 'ext' => "xls",
41 'filter2' => 'std:drop_codepage');
44 if (&subtest ("xlsx")) {
45 &message ("Check hyperlink xlsx roundtrip.");
46 &test_roundtrip ($file,
47 'format' => 'Gnumeric_Excel:xlsx',
48 'ext' => "xlsx",
49 'resize' => '1048576x16384');