Browse Source

Bug 5327: Add basic unit tests to some 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
cc9a34c274
  1. 14
      t/Auth_with_cas.t
  2. 14
      t/AuthoritiesMarc.t
  3. 14
      t/Biblio.t
  4. 14
      t/Breeding.t
  5. 14
      t/Category.t
  6. 14
      t/ClassSortRoutine.t
  7. 14
      t/ClassSource.t
  8. 14
      t/Contract.t
  9. 14
      t/Creators.t
  10. 14
      t/Csv.t
  11. 14
      t/Heading.t
  12. 14
      t/ItemCirculationAlertPreference.t
  13. 14
      t/Items.t
  14. 14
      t/Letters.t
  15. 14
      t/Log.t
  16. 14
      t/Matcher.t
  17. 14
      t/Members.t
  18. 14
      t/Message.t
  19. 14
      t/NewsChannels.t
  20. 14
      t/Overdues.t
  21. 14
      t/Patroncards.t
  22. 14
      t/Print.t
  23. 14
      t/Reports.t
  24. 14
      t/Ris.t
  25. 14
      t/RotatingCollections.t
  26. 14
      t/SMS.t
  27. 14
      t/Tags.t
  28. 14
      t/UploadedFile.t

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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