View | Details | Raw Unified | Return to bug 5477
Collapse All | Expand All

(-)a/t/00-load.t (-3 / +12 lines)
Lines 13-24 find({ Link Here
13
    wanted => sub {
13
    wanted => sub {
14
        my $m = $_;
14
        my $m = $_;
15
	    return unless $m =~ s/[.]pm$//;
15
	    return unless $m =~ s/[.]pm$//;
16
	    $m =~ s{^.*/C4/}{C4/};	
17
	    $m =~ s{/}{::}g;
16
	    return if $m =~ /Auth_with_ldap/; # Dont test this, it will fail on use
18
	    return if $m =~ /Auth_with_ldap/; # Dont test this, it will fail on use
17
	    return if $m =~ /Cache/; # Cache modules are a WIP, add the tests back when we are using them more
19
	    return if $m =~ /Cache/; # Cache modules are a WIP, add the tests back when we are using them more
18
	    return if $m =~ /SIP/; # SIP modules will not load clean
20
	    return if $m =~ /SIP/; # SIP modules will not load clean
19
	    $m =~ s{^.*/C4/}{C4/};	
21
	    return if $m =~ /C4::VirtualShelves$/; # Requires a DB
20
	    $m =~ s{/}{::}g;
22
	    return if $m =~ /C4::Auth$/; # DB
21
	    use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'");
23
	    return if $m =~ /C4::Tags$/; # DB
24
	    return if $m =~ /C4::Service/; # DB
25
	    return if $m =~ /C4::Auth_with_cas/; # DB
26
	    return if $m =~ /C4::BackgroundJob/; # DB
27
	    return if $m =~ /C4::UploadedFile/; # DB
28
	    return if $m =~ /C4::Reports::Guided/; # DB
29
	    return if $m =~ /C4::VirtualShelves::Page/; # DB
30
        use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'");
22
    },
31
    },
23
}, $lib);
32
}, $lib);
24
done_testing();
33
done_testing();
(-)a/t/Auth_with_cas.t (-14 lines)
Lines 1-14 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::Auth_with_cas');
13
}
14
(-)a/t/External_BakerTaylor.t (-14 lines)
Lines 1-14 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::External::BakerTaylor');
13
}
14
(-)a/t/Reports_Guided.t (-14 lines)
Lines 1-14 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::Reports::Guided');
13
}
14
(-)a/t/Service.t (-14 lines)
Lines 1-14 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::Service');
13
}
14
(-)a/t/Tags.t (-14 lines)
Lines 1-14 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::Tags');
13
}
14
(-)a/t/UploadedFile.t (-14 lines)
Lines 1-14 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::UploadedFile');
13
}
14
(-)a/t/VirtualShelves_Page.t (-14 lines)
Lines 1-14 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::VirtualShelves::Page');
13
}
14
(-)a/t/db_dependent/Auth_with_cas.t (+14 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::Auth_with_cas');
13
}
14
(-)a/t/db_dependent/External_BakerTaylor.t (+14 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::External::BakerTaylor');
13
}
14
(-)a/t/db_dependent/Reports_Guided.t (+14 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::Reports::Guided');
13
}
14
(-)a/t/db_dependent/Service.t (+14 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::Service');
13
}
14
(-)a/t/db_dependent/Tags.t (+14 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::Tags');
13
}
14
(-)a/t/db_dependent/UploadedFile.t (+14 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::UploadedFile');
13
}
14
(-)a/t/db_dependent/VirtualShelves_Page.t (-1 / +14 lines)
Line 0 Link Here
0
- 
1
#!/usr/bin/perl
2
#
3
# This Koha test module is a stub!  
4
# Add more tests here!!!
5
6
use strict;
7
use warnings;
8
9
use Test::More tests => 1;
10
11
BEGIN {
12
        use_ok('C4::VirtualShelves::Page');
13
}
14

Return to bug 5477