From 77618f43cf589c5dddcf5ad13f8afda51d1a1129 Mon Sep 17 00:00:00 2001 From: rangi Date: Mon, 18 Jun 2007 03:20:19 +0000 Subject: [PATCH] Finishing up the last of the tests --- misc/testKoha.pl | 28 ++++++++++++++++++++++++---- t/Calendar.t | 5 +++++ t/Circulation.t | 5 +++++ t/Context.t | 5 +++++ t/Date.t | 5 +++++ t/Labels.t | 5 +++++ t/Languages.t | 5 +++++ t/Letters.t | 5 +++++ t/Log.t | 5 +++++ t/Maintainance.t | 5 +++++ t/Members.t | 5 +++++ t/NewsChannels.t | 5 +++++ t/Output.t | 5 +++++ t/Print.t | 5 +++++ t/Record.t | 5 +++++ t/Reserves.t | 5 +++++ t/Review.t | 5 +++++ t/Search.t | 5 +++++ t/Serials.t | 5 +++++ t/Stats.t | 5 +++++ t/Suggestions.t | 5 +++++ t/Z3950.t | 5 +++++ 22 files changed, 129 insertions(+), 4 deletions(-) create mode 100644 t/Calendar.t create mode 100644 t/Circulation.t create mode 100644 t/Context.t create mode 100644 t/Date.t create mode 100644 t/Labels.t create mode 100644 t/Languages.t create mode 100644 t/Letters.t create mode 100644 t/Log.t create mode 100644 t/Maintainance.t create mode 100644 t/Members.t create mode 100644 t/NewsChannels.t create mode 100644 t/Output.t create mode 100644 t/Print.t create mode 100644 t/Record.t create mode 100644 t/Reserves.t create mode 100644 t/Review.t create mode 100644 t/Search.t create mode 100644 t/Serials.t create mode 100644 t/Stats.t create mode 100644 t/Suggestions.t create mode 100644 t/Z3950.t diff --git a/misc/testKoha.pl b/misc/testKoha.pl index 42bb352c9a..312bfbfebd 100644 --- a/misc/testKoha.pl +++ b/misc/testKoha.pl @@ -40,13 +40,30 @@ my @tests=( 't/BookShelves.t', 't/Boolean.t', 't/Breeding.t', - - 't/format.t', + 't/Calendar.t', + 't/Circulation.t', + 't/Context.t', + 't/Date.t', 't/Input.t', 't/koha.t', + 't/Labels.t', + 't/Languages.t', + 't/Letters.t', + 't/Log.t', + 't/Maintainance.t', + 't/Members.t', + 't/NewsChannels.t', 't/output.t', - 't/require.t', - + 't/Overdues.t', + 't/Print.t', + 't/Record.t', + 't/Reserves.t', + 't/Review.t', + 't/Search.t', + 't/Serials.t', + 't/Stats.t', + 't/Suggestions.t', + 't/Z3950.t' ); @@ -55,6 +72,9 @@ runtests (@tests); exit; # $Log$ +# Revision 1.7 2007/06/18 03:20:19 rangi +# Finishing up the last of the tests +# # Revision 1.6 2007/06/18 01:58:24 rangi # Continuing on my tests mission # diff --git a/t/Calendar.t b/t/Calendar.t new file mode 100644 index 0000000000..bc1705fdc6 --- /dev/null +++ b/t/Calendar.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Calendar; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Circulation.t b/t/Circulation.t new file mode 100644 index 0000000000..9b910352e7 --- /dev/null +++ b/t/Circulation.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Circulation; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Context.t b/t/Context.t new file mode 100644 index 0000000000..101625060d --- /dev/null +++ b/t/Context.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Context; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Date.t b/t/Date.t new file mode 100644 index 0000000000..56b7cbc552 --- /dev/null +++ b/t/Date.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Date; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Labels.t b/t/Labels.t new file mode 100644 index 0000000000..fb9d1dc5d5 --- /dev/null +++ b/t/Labels.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Labels; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Languages.t b/t/Languages.t new file mode 100644 index 0000000000..d3fb584ca7 --- /dev/null +++ b/t/Languages.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Languages; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Letters.t b/t/Letters.t new file mode 100644 index 0000000000..1a669ea76f --- /dev/null +++ b/t/Letters.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Letters; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Log.t b/t/Log.t new file mode 100644 index 0000000000..7e38ec8ca6 --- /dev/null +++ b/t/Log.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Log; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Maintainance.t b/t/Maintainance.t new file mode 100644 index 0000000000..7383662306 --- /dev/null +++ b/t/Maintainance.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Maintainance; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Members.t b/t/Members.t new file mode 100644 index 0000000000..4e2b714770 --- /dev/null +++ b/t/Members.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Members; +$loaded = 1; +print "ok 1\n"; diff --git a/t/NewsChannels.t b/t/NewsChannels.t new file mode 100644 index 0000000000..7b3b09210a --- /dev/null +++ b/t/NewsChannels.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::NewsChannels; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Output.t b/t/Output.t new file mode 100644 index 0000000000..071600447b --- /dev/null +++ b/t/Output.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Accounts; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Print.t b/t/Print.t new file mode 100644 index 0000000000..60bd85a0bc --- /dev/null +++ b/t/Print.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Print; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Record.t b/t/Record.t new file mode 100644 index 0000000000..aff208338a --- /dev/null +++ b/t/Record.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Record; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Reserves.t b/t/Reserves.t new file mode 100644 index 0000000000..bed050bcf3 --- /dev/null +++ b/t/Reserves.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Reserves; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Review.t b/t/Review.t new file mode 100644 index 0000000000..071600447b --- /dev/null +++ b/t/Review.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Accounts; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Search.t b/t/Search.t new file mode 100644 index 0000000000..dc53eb5829 --- /dev/null +++ b/t/Search.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Search; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Serials.t b/t/Serials.t new file mode 100644 index 0000000000..11a33dac91 --- /dev/null +++ b/t/Serials.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Serials; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Stats.t b/t/Stats.t new file mode 100644 index 0000000000..b797345fa2 --- /dev/null +++ b/t/Stats.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Stats; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Suggestions.t b/t/Suggestions.t new file mode 100644 index 0000000000..3ac114b9ea --- /dev/null +++ b/t/Suggestions.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Suggestions; +$loaded = 1; +print "ok 1\n"; diff --git a/t/Z3950.t b/t/Z3950.t new file mode 100644 index 0000000000..672e62243e --- /dev/null +++ b/t/Z3950.t @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use C4::Z3950; +$loaded = 1; +print "ok 1\n"; -- 2.20.1