[Koha-patches] [PATCH] [SIGNED-OFF] Bug 5327: Add basic unit tests to some C4 modules

Galen Charlton gmcharlt at gmail.com
Sat Oct 30 06:42:59 CEST 2010


From: Magnus Enger <magnus at enger.priv.no>

Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
 t/Utils.t |   14 ++++++++++++++
 t/XISBN.t |   14 ++++++++++++++
 t/XSLT.t  |   14 ++++++++++++++
 3 files changed, 42 insertions(+), 0 deletions(-)
 create mode 100755 t/Utils.t
 create mode 100755 t/XISBN.t
 create mode 100755 t/XSLT.t

diff --git a/t/Utils.t b/t/Utils.t
new file mode 100755
index 0000000..01fb10b
--- /dev/null
+++ b/t/Utils.t
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+#
+# This Koha test module is a stub!  
+# Add more tests here!!!
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+BEGIN {
+        use_ok('C4::Utils');
+}
+
diff --git a/t/XISBN.t b/t/XISBN.t
new file mode 100755
index 0000000..9e08efb
--- /dev/null
+++ b/t/XISBN.t
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+#
+# This Koha test module is a stub!  
+# Add more tests here!!!
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+BEGIN {
+        use_ok('C4::XISBN');
+}
+
diff --git a/t/XSLT.t b/t/XSLT.t
new file mode 100755
index 0000000..1f78eb9
--- /dev/null
+++ b/t/XSLT.t
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+#
+# This Koha test module is a stub!  
+# Add more tests here!!!
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+BEGIN {
+        use_ok('C4::XSLT');
+}
+
-- 
1.7.0



More information about the Koha-patches mailing list