koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha misc/testKoha.pl t/Amazon.t


From: Chris Cormack
Subject: [Koha-cvs] koha misc/testKoha.pl t/Amazon.t
Date: Sun, 17 Jun 2007 23:44:05 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     Chris Cormack <rangi>   07/06/17 23:44:05

Modified files:
        misc           : testKoha.pl 
Added files:
        t              : Amazon.t 

Log message:
        Simple compile only test for C4::Amazon
        Needs tests written for the 2 functions in it.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/misc/testKoha.pl?cvsroot=koha&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/koha/t/Amazon.t?cvsroot=koha&rev=1.1

Patches:
Index: misc/testKoha.pl
===================================================================
RCS file: /sources/koha/koha/misc/testKoha.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- misc/testKoha.pl    17 Jun 2007 23:35:36 -0000      1.2
+++ misc/testKoha.pl    17 Jun 2007 23:44:04 -0000      1.3
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# $Id: testKoha.pl,v 1.2 2007/06/17 23:35:36 rangi Exp $
+# $Id: testKoha.pl,v 1.3 2007/06/17 23:44:04 rangi Exp $
 
 
 # Copyright 2000-2002 Katipo Communications
@@ -28,6 +28,8 @@
 
 my @tests=(
        't/Accounts.t',
+       't/Acquisition.t',
+       't/Amazon.t',
        't/format.t',
        't/Input.t',
        't/koha.t',
@@ -42,6 +44,10 @@
 exit;
 
 # $Log: testKoha.pl,v $
+# Revision 1.3  2007/06/17 23:44:04  rangi
+# Simple compile only test for C4::Amazon
+# Needs tests written for the 2 functions in it.
+#
 # Revision 1.2  2007/06/17 23:35:36  rangi
 # Working on unit tests
 #

Index: t/Amazon.t
===================================================================
RCS file: t/Amazon.t
diff -N t/Amazon.t
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ t/Amazon.t  17 Jun 2007 23:44:04 -0000      1.1
@@ -0,0 +1,7 @@
+# Basic compile test only at this stage, needs to be fleshed out
+
+BEGIN { $| = 1; print "1..1\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use C4::Amazon;
+$loaded = 1;
+print "ok 1\n";




reply via email to

[Prev in Thread] Current Thread [Next in Thread]