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

Chris Cormack crc at liblime.com
Mon Jun 18 02:51:11 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	Chris Cormack <rangi>	07/06/18 00:51:11

Modified files:
	misc           : testKoha.pl 
Added files:
	t              : Auth.t Auth_with_ldap.t AuthoritesMarc.t 
	                 Barcodes_PrinterConfig.t 

Log message:
	Continuing to add tests

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/misc/testKoha.pl?cvsroot=koha&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/koha/t/Auth.t?cvsroot=koha&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/koha/t/Auth_with_ldap.t?cvsroot=koha&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/koha/t/AuthoritesMarc.t?cvsroot=koha&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/koha/t/Barcodes_PrinterConfig.t?cvsroot=koha&rev=1.1

Patches:
Index: misc/testKoha.pl
===================================================================
RCS file: /sources/koha/koha/misc/testKoha.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- misc/testKoha.pl	17 Jun 2007 23:44:04 -0000	1.3
+++ misc/testKoha.pl	18 Jun 2007 00:51:10 -0000	1.4
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# $Id: testKoha.pl,v 1.3 2007/06/17 23:44:04 rangi Exp $
+# $Id: testKoha.pl,v 1.4 2007/06/18 00:51:10 rangi Exp $
 
 
 # Copyright 2000-2002 Katipo Communications
@@ -30,6 +30,10 @@
 	't/Accounts.t',
 	't/Acquisition.t',
 	't/Amazon.t',
+	't/AuthoritiesMarc.t',
+	't/Auth.t',
+	't/Auth_with_ldap.t',
+	't/Barcodes_PrinterConfig.t',
 	't/format.t',
 	't/Input.t',
 	't/koha.t',
@@ -44,6 +48,9 @@
 exit;
 
 # $Log: testKoha.pl,v $
+# Revision 1.4  2007/06/18 00:51:10  rangi
+# Continuing to add tests
+#
 # 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.

Index: t/Auth.t
===================================================================
RCS file: t/Auth.t
diff -N t/Auth.t
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ t/Auth.t	18 Jun 2007 00:51:11 -0000	1.1
@@ -0,0 +1,5 @@
+BEGIN { $| = 1; print "1..1\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use C4::Auth;
+$loaded = 1;
+print "ok 1\n";

Index: t/Auth_with_ldap.t
===================================================================
RCS file: t/Auth_with_ldap.t
diff -N t/Auth_with_ldap.t
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ t/Auth_with_ldap.t	18 Jun 2007 00:51:11 -0000	1.1
@@ -0,0 +1,5 @@
+BEGIN { $| = 1; print "1..1\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use C4::Auth_with_ldap;
+$loaded = 1;
+print "ok 1\n";

Index: t/AuthoritesMarc.t
===================================================================
RCS file: t/AuthoritesMarc.t
diff -N t/AuthoritesMarc.t
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ t/AuthoritesMarc.t	18 Jun 2007 00:51:11 -0000	1.1
@@ -0,0 +1,5 @@
+BEGIN { $| = 1; print "1..1\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use C4::AuthoritiesMarc;
+$loaded = 1;
+print "ok 1\n";

Index: t/Barcodes_PrinterConfig.t
===================================================================
RCS file: t/Barcodes_PrinterConfig.t
diff -N t/Barcodes_PrinterConfig.t
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ t/Barcodes_PrinterConfig.t	18 Jun 2007 00:51:11 -0000	1.1
@@ -0,0 +1,5 @@
+BEGIN { $| = 1; print "1..1\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use C4::Barcodes::PrinterConfig;
+$loaded = 1;
+print "ok 1\n";





More information about the Koha-cvs mailing list