Browse Source

Bug 5327: More basic unit tests for C4 modules

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
3.6.x-rmaint/testing
Katrin Fischer 11 years ago
committed by Chris Cormack
parent
commit
e0892a5139
  1. 14
      t/AuthoritiesMarc_MARC21.t
  2. 14
      t/AuthoritiesMarc_UNIMARC.t
  3. 14
      t/Barcodes_annual.t
  4. 14
      t/Barcodes_hbyymmincr.t
  5. 14
      t/Barcodes_incremental.t
  6. 14
      t/Cache_FastMemcached.t
  7. 14
      t/Cache_Memcached.t
  8. 14
      t/Cache_Memoize_Memcached.t
  9. 14
      t/ClassSortRoutine_Dewey.t
  10. 14
      t/ClassSortRoutine_Generic.t
  11. 14
      t/ClassSortRoutine_LCC.t
  12. 14
      t/External_BakerTaylor.t
  13. 14
      t/External_Syndetics.t
  14. 14
      t/Form_MessagingPreferences.t
  15. 14
      t/Heading_MARC21.t
  16. 14
      t/ILSDI_Services.t
  17. 14
      t/ILSDI_Utility.t
  18. 14
      t/Installer_PerlDependencies.t
  19. 14
      t/Installer_PerlModules.t
  20. 14
      t/Members_AttributeTypes.t
  21. 14
      t/Members_Messaging.t
  22. 14
      t/Output_JSONStream.t
  23. 14
      t/Patroncards_Batch.t
  24. 14
      t/Patroncards_Layout.t
  25. 14
      t/Patroncards_Lib.t
  26. 14
      t/Patroncards_Patroncard.t
  27. 14
      t/Patroncards_Profile.t
  28. 14
      t/Patroncards_Template.t
  29. 14
      t/Reports_Guided.t
  30. 14
      t/SIP_ILS.t
  31. 14
      t/SIP_SIPServer.t
  32. 14
      t/SIP_Sip.t
  33. 14
      t/Search_PazPar2.t
  34. 14
      t/VirtualShelves_Merge.t
  35. 14
      t/VirtualShelves_Page.t

14
t/AuthoritiesMarc_MARC21.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::AuthoritiesMarc::MARC21');
}

14
t/AuthoritiesMarc_UNIMARC.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::AuthoritiesMarc::UNIMARC');
}

14
t/Barcodes_annual.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::Barcodes::annual');
}

14
t/Barcodes_hbyymmincr.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::Barcodes::hbyymmincr');
}

14
t/Barcodes_incremental.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::Barcodes::incremental');
}

14
t/Cache_FastMemcached.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::Cache::FastMemcached');
}

14
t/Cache_Memcached.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::Cache::Memcached');
}

14
t/Cache_Memoize_Memcached.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::Cache::Memoize::Memcached');
}

14
t/ClassSortRoutine_Dewey.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::ClassSortRoutine::Dewey');
}

14
t/ClassSortRoutine_Generic.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::ClassSortRoutine::Generic');
}

14
t/ClassSortRoutine_LCC.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::ClassSortRoutine::LCC');
}

14
t/External_BakerTaylor.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::External::BakerTaylor');
}

14
t/External_Syndetics.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::External::Syndetics');
}

14
t/Form_MessagingPreferences.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::Form::MessagingPreferences');
}

14
t/Heading_MARC21.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::External::Amazon');
}

14
t/ILSDI_Services.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::ILSDI::Services');
}

14
t/ILSDI_Utility.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::ILSDI::Utility');
}

14
t/Installer_PerlDependencies.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::Installer::PerlDependencies');
}

14
t/Installer_PerlModules.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::Installer::PerlModules');
}

14
t/Members_AttributeTypes.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::Members::AttributeTypes');
}

14
t/Members_Messaging.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::Members::Messaging');
}

14
t/Output_JSONStream.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::Output::JSONStream');
}

14
t/Patroncards_Batch.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::Patroncards::Batch');
}

14
t/Patroncards_Layout.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::Patroncards::Layout');
}

14
t/Patroncards_Lib.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::Patroncards::Lib');
}

14
t/Patroncards_Patroncard.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::Patroncards::Patroncard');
}

14
t/Patroncards_Profile.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::Patroncards::Profile');
}

14
t/Patroncards_Template.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::Patroncards::Template');
}

14
t/Reports_Guided.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::Reports::Guided');
}

14
t/SIP_ILS.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::SIP::ILS');
}

14
t/SIP_SIPServer.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::SIP::SIPServer');
}

14
t/SIP_Sip.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::SIP::Sip');
}

14
t/Search_PazPar2.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::Search::PazPar2');
}

14
t/VirtualShelves_Merge.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::VirtualShelves::Merge');
}

14
t/VirtualShelves_Page.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::VirtualShelves::Page');
}
Loading…
Cancel
Save