[gnumeric] tests: add new test for GUI's number matching.



commit eac509ee8189e306c70bb751c9b5d4cc3b25d646
Author: Morten Welinder <terra gnome org>
Date:   Tue Sep 28 14:22:58 2010 -0400

    tests: add new test for GUI's number matching.

 NEWS                       |    1 +
 test/ChangeLog             |    4 ++++
 test/t9100-number-match.pl |   11 +++++++++++
 3 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 03c4c24..e06ab0c 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ Morten:
 	* Fix problem with inter-process empty-value paste.  [#629302]
 	* Fix problem with inter-process object paste.  [#629302]
 	* Allow user-defined templates.  [#630247]
+	* Improve test suite.
 
 --------------------------------------------------------------------------
 Gnumeric 1.10.10
diff --git a/test/ChangeLog b/test/ChangeLog
index cb1e592..425261e 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-28  Morten Welinder  <terra gnome org>
+
+	* t9100-number-match.pl: New test for GUI's number matching.
+
 2010-09-04  Morten Welinder <terra gnome org>
 
 	* Release 1.10.10
diff --git a/test/t9100-number-match.pl b/test/t9100-number-match.pl
new file mode 100755
index 0000000..e3302b4
--- /dev/null
+++ b/test/t9100-number-match.pl
@@ -0,0 +1,11 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+my $file = "numbermatch.gnumeric";
+&message ("Check that $file evaluates correctly.");
+$ENV{'GNM_DEBUG'} = 'testsuite';
+&test_sheet_calc ("$samples/$file", "B2", sub { /^0$/ });



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