[gnumeric] t6509: add tests for validation action, title, and message.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] t6509: add tests for validation action, title, and message.
- Date: Thu, 27 Feb 2014 16:52:25 +0000 (UTC)
commit afc326ecaa8de16e9f7869edaadf84a1957a8767
Author: Morten Welinder <terra gnome org>
Date: Thu Feb 27 11:52:02 2014 -0500
t6509: add tests for validation action, title, and message.
samples/validation-tests.gnumeric | Bin 3272 -> 4161 bytes
test/t6509-validation.pl | 3 +++
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/samples/validation-tests.gnumeric b/samples/validation-tests.gnumeric
index 492ee74..d4b6a62 100644
Binary files a/samples/validation-tests.gnumeric and b/samples/validation-tests.gnumeric differ
diff --git a/test/t6509-validation.pl b/test/t6509-validation.pl
index ee47045..b0175aa 100755
--- a/test/t6509-validation.pl
+++ b/test/t6509-validation.pl
@@ -21,11 +21,14 @@ my $file = "$samples/validation-tests.gnumeric";
my $xls_codepage_filter = "$PERL -p -e '\$_ = \"\" if m{<meta:user-defined meta:name=.msole:codepage.}'";
+my $xls_greek_filter = "$PERL -p -C7 -e '1 while (s{\\b((Title|Message)=\".*Greek[ ?]+)[^ ?\"]}{\$1?})'";
+
&message ("Check validation xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
'format' => 'Gnumeric_Excel:excel_biff7',
'ext' => "xls",
'resize' => '16384x256',
+ 'filter1' => $xls_greek_filter,
'filter2' => $xls_codepage_filter);
&message ("Check validation xls/BIFF8 roundtrip.");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]