[gnumeric] t6506: biff7 cannot store authors for comments.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] t6506: biff7 cannot store authors for comments.
- Date: Tue, 25 Feb 2014 17:59:43 +0000 (UTC)
commit 3f2f75fe885ba899c26f59291f8883ec42e085dc
Author: Morten Welinder <terra gnome org>
Date: Tue Feb 25 12:59:22 2014 -0500
t6506: biff7 cannot store authors for comments.
test/t6506-cell-comment.pl | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/test/t6506-cell-comment.pl b/test/t6506-cell-comment.pl
index c4812ef..ddc31a8 100755
--- a/test/t6506-cell-comment.pl
+++ b/test/t6506-cell-comment.pl
@@ -20,13 +20,18 @@ my $file = "$samples/cell-comment-tests.gnumeric";
my $xls_codepage_filter = "$PERL -p -e '\$_ = \"\" if m{<meta:user-defined meta:name=.msole:codepage.}'";
+# BIFF7 cannot store comment author
+my $xls_no_author_filter = "$PERL -p -e 's{ Author=\"[^\"]*\"}{};'";
+
+my $xls_greek_filter = "$PERL -p -C7 -e '1 while (s{\\b(Text=\"Greek[ ?]+)[^ ?\"]}{\$1?})'";
+
&message ("Check cell-comment xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
'format' => 'Gnumeric_Excel:excel_biff7',
'ext' => "xls",
'resize' => '16384x256',
- 'filter2' => $xls_codepage_filter,
- 'ignore_failure' => 1);
+ 'filter1' => "$xls_greek_filter | $xls_no_author_filter",
+ 'filter2' => $xls_codepage_filter);
&message ("Check cell-comment xls/BIFF8 roundtrip.");
&test_roundtrip ($file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]