[gnumeric] Tests: ignore WorkbookView::do_auto_completion.



commit 1975c80b7dcaf18dcebfde841335f464f44bd7bf
Author: Morten Welinder <terra gnome org>
Date:   Mon Dec 29 21:27:16 2014 -0500

    Tests: ignore WorkbookView::do_auto_completion.

 test/ChangeLog          |    5 +++++
 test/normalize-gnumeric |    5 +++++
 test/t5900-sc.pl        |    4 ++--
 test/t5901-qpro.pl      |    2 +-
 test/t5902-applix.pl    |    2 +-
 test/t5903-sylk.pl      |    6 +++---
 test/t5904-mps.pl       |    4 ++--
 7 files changed, 19 insertions(+), 9 deletions(-)
---
diff --git a/test/ChangeLog b/test/ChangeLog
index bd0cf86..f029b1a 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-29  Morten Welinder  <terra gnome org>
+
+       * normalize-gnumeric: Ignore the setting of
+       WorkbookView::do_auto_completion.
+
 2014-12-16  Morten Welinder  <terra gnome org>
 
        * t2000-names-insdel.pl: Match sstest changes.
diff --git a/test/normalize-gnumeric b/test/normalize-gnumeric
index 109ae5e..eebaca4 100755
--- a/test/normalize-gnumeric
+++ b/test/normalize-gnumeric
@@ -33,6 +33,11 @@ while (<STDIN>) {
         s|(<meta:creation-date>).*(</meta:creation-date>)|$1XXX$2|;
     }
 
+    if (m|^\s*<gnm:name>WorkbookView::do_auto_completion</gnm:name>\s*$| ..
+       m|^\s*</gnm:Attribute>\s*$|) {
+       s|(<gnm:value>).*(</gnm:value>)|$1xxx$2|;
+    }
+
     # Sort names.
     if (0 && m|^\s*<gnm:Sheets>\s*$| .. m|^\s*</gnm:Sheets>\s*$|) {
        if (m|^\s*<gnm:Names>\s*$| .. m|^\s*</gnm:Names>\s*$|) {
diff --git a/test/t5900-sc.pl b/test/t5900-sc.pl
index f1660bf..e11ada2 100755
--- a/test/t5900-sc.pl
+++ b/test/t5900-sc.pl
@@ -9,5 +9,5 @@ use GnumericTest;
 my $mode = ((shift @ARGV) || "check");
 
 &message ("Check the sc importer.");
-&test_importer ("$samples/sc/demo_func", "55b8be2c47dbbcd582731c1ff2ac2f54dc756405", $mode);
-&test_importer ("$samples/sc/demo_math", "d56bfbf00b2e6316e6077f62ccb93a27bca40595", $mode);
+&test_importer ("$samples/sc/demo_func", "7faf9490256f2a7ba227bc18bb3e194cd9687eae", $mode);
+&test_importer ("$samples/sc/demo_math", "0ad0351b6578e4dd49a46b06528e22d3879fcc2a", $mode);
diff --git a/test/t5901-qpro.pl b/test/t5901-qpro.pl
index c810ba1..fe18a57 100755
--- a/test/t5901-qpro.pl
+++ b/test/t5901-qpro.pl
@@ -9,4 +9,4 @@ use GnumericTest;
 my $mode = ((shift @ARGV) || "check");
 
 &message ("Check the Quattro Pro importer.");
-&test_importer ("$samples/qpro/gantt.wb3", "d0691e6d7ead014b0baca6a16a67d502b2caa6b1", $mode);
+&test_importer ("$samples/qpro/gantt.wb3", "9312bf7ad1f188a44ab805cfc09e7c0ecdd245ca", $mode);
diff --git a/test/t5902-applix.pl b/test/t5902-applix.pl
index 3d988cc..b0b59d4 100755
--- a/test/t5902-applix.pl
+++ b/test/t5902-applix.pl
@@ -9,4 +9,4 @@ use GnumericTest;
 my $mode = ((shift @ARGV) || "check");
 
 &message ("Check the applix importer.");
-&test_importer ("$samples/applix/sample.as", "0ddc9d2b6ddb259b9de3b84f3daa73ab623d37d9", $mode);
+&test_importer ("$samples/applix/sample.as", "2a2011ca78ccf3169ef2941499f12ea589fbbd3a", $mode);
diff --git a/test/t5903-sylk.pl b/test/t5903-sylk.pl
index 406a98d..4d1bd61 100755
--- a/test/t5903-sylk.pl
+++ b/test/t5903-sylk.pl
@@ -9,6 +9,6 @@ use GnumericTest;
 my $mode = ((shift @ARGV) || "check");
 
 &message ("Check the sylk importer.");
-&test_importer ("$samples/sylk/test.sylk", "6ad511b5edeab30d1ccf500e0ab70f0213ff74eb", $mode);
-&test_importer ("$samples/sylk/encoding.sylk", "ce5da9117ad52990f2e7a9c9228d87773bc3c765", $mode);
-&test_importer ("$samples/sylk/app_b2.sylk", "cef39c8a1d6db59032679458b3ccfb09dfeb9050", $mode);
+&test_importer ("$samples/sylk/test.sylk", "d213d55662f13d743b3aeaa12943f97b9b75675a", $mode);
+&test_importer ("$samples/sylk/encoding.sylk", "fb374a088a958e962119d65333f16744642223dd", $mode);
+&test_importer ("$samples/sylk/app_b2.sylk", "b92205dce72d8b971e9f2213d9b91aa17516b42a", $mode);
diff --git a/test/t5904-mps.pl b/test/t5904-mps.pl
index c637d91..e03b2f9 100755
--- a/test/t5904-mps.pl
+++ b/test/t5904-mps.pl
@@ -9,5 +9,5 @@ use GnumericTest;
 my $mode = ((shift @ARGV) || "check");
 
 &message ("Check the mps importer.");
-&test_importer ("$samples/solver/blend.mps", "b934eefa8dcd38d5767ea5b88533fa0a0a0720c2", $mode);
-&test_importer ("$samples/solver/afiro.mps", "a665122cce66d5882e60ac86416eb002c49713ac", $mode);
+&test_importer ("$samples/solver/blend.mps", "d2965c64019585e2a74a0f2db1bbde4d04feaf30", $mode);
+&test_importer ("$samples/solver/afiro.mps", "5ca8608a2a8eafb541d7117fc14624f742a3d955", $mode);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]