[gnumeric] test: add test for guppi graph format.



commit 3ffc6bb5d437f9fa5757e70270cfb19820cb1835
Author: Morten Welinder <terra gnome org>
Date:   Wed Apr 1 14:15:22 2015 -0400

    test: add test for guppi graph format.

 samples/b66666-guppi.gnumeric |  Bin 0 -> 6132 bytes
 test/Makefile.am              |    1 +
 test/t5905-guppi.pl           |   12 ++++++++++++
 3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/samples/b66666-guppi.gnumeric b/samples/b66666-guppi.gnumeric
new file mode 100644
index 0000000..8174df8
Binary files /dev/null and b/samples/b66666-guppi.gnumeric differ
diff --git a/test/Makefile.am b/test/Makefile.am
index 2bc08c4..2278dfb 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -61,6 +61,7 @@ TESTS =       t1000-statfuns.pl                       \
        t5902-applix.pl                         \
        t5903-sylk.pl                           \
        t5904-mps.pl                            \
+       t5905-guppi.pl                          \
        t6000-statfuns.pl                       \
        t6001-mathfuns.pl                       \
        t6002-objs.pl                           \
diff --git a/test/t5905-guppi.pl b/test/t5905-guppi.pl
new file mode 100755
index 0000000..217124a
--- /dev/null
+++ b/test/t5905-guppi.pl
@@ -0,0 +1,12 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+# See test_importer comments for mode definitions.
+my $mode = ((shift @ARGV) || "check");
+
+&message ("Check the mps importer.");
+&test_importer ("$samples/b66666-guppi.gnumeric", "4efa15c01d6c907ef13b2098d650129647447e97", $mode);


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