[Koha-bugs] [Bug 7119] general code-cleaning, tidy/whitespace omnibus

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 8 21:38:55 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7119

Chris Nighswonger <cnighswonger at foundations.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13322|0                           |1
        is obsolete|                            |

--- Comment #3 from Chris Nighswonger <cnighswonger at foundations.edu> ---
Comment on attachment 13322
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13322
Bug 7119 - general code-cleaning, tidy/whitespace omnibus

>From 65ce9336639acdf20110549c1216f8b084f27858 Mon Sep 17 00:00:00 2001
>From: Christopher Nighswonger <cnighswonger at cnighswonger-dt.(none)>
>Date: Thu, 8 Nov 2012 15:29:48 -0500
>Subject: [PATCH] Bug 7119 - general code-cleaning, tidy/whitespace omnibus
>
>---
> t/00-load.t |   34 +++++++++++++++++-----------------
> 1 file changed, 17 insertions(+), 17 deletions(-)
>
>diff --git a/t/00-load.t b/t/00-load.t
>index afff47d..3cf7a24 100644
>--- a/t/00-load.t
>+++ b/t/00-load.t
>@@ -12,23 +12,23 @@ find({
>     no_chdir => 1,
>     wanted => sub {
>         my $m = $_;
>-	    return unless $m =~ s/[.]pm$//;
>-	    $m =~ s{^.*/C4/}{C4/};	
>-	    $m =~ s{/}{::}g;
>-	    return if $m =~ /Auth_with_ldap/; # Dont test this, it will fail on use
>-	    return if $m =~ /Cache/; # Cache modules are a WIP, add the tests back when we are using them more
>-	    return if $m =~ /SIP/; # SIP modules will not load clean
>-	    return if $m =~ /C4::VirtualShelves$/; # Requires a DB
>-	    return if $m =~ /C4::Auth$/; # DB
>-	    return if $m =~ /C4::Tags$/; # DB
>-	    return if $m =~ /C4::Service/; # DB
>-	    return if $m =~ /C4::Auth_with_cas/; # DB
>-	    return if $m =~ /C4::BackgroundJob/; # DB
>-	    return if $m =~ /C4::UploadedFile/; # DB
>-	    return if $m =~ /C4::Record/; # DB
>-	    return if $m =~ /C4::Reports::Guided/; # DB
>-	    return if $m =~ /C4::Serials/; # DB
>-	    return if $m =~ /C4::VirtualShelves::Page/; # DB
>+        return unless $m =~ s/[.]pm$//;
>+        $m =~ s{^.*/C4/}{C4/};  
>+        $m =~ s{/}{::}g;
>+        return if $m =~ /Auth_with_ldap/; # Dont test this, it will fail on use
>+        return if $m =~ /Cache/; # Cache modules are a WIP, add the tests back when we are using them more
>+        return if $m =~ /SIP/; # SIP modules will not load clean
>+        return if $m =~ /C4::VirtualShelves$/; # Requires a DB
>+        return if $m =~ /C4::Auth$/; # DB
>+        return if $m =~ /C4::Tags$/; # DB
>+        return if $m =~ /C4::Service/; # DB
>+        return if $m =~ /C4::Auth_with_cas/; # DB
>+        return if $m =~ /C4::BackgroundJob/; # DB
>+        return if $m =~ /C4::UploadedFile/; # DB
>+        return if $m =~ /C4::Record/; # DB
>+        return if $m =~ /C4::Reports::Guided/; # DB
>+        return if $m =~ /C4::Serials/; # DB
>+        return if $m =~ /C4::VirtualShelves::Page/; # DB
>         return if $m =~ /C4::Members::Statistics/; # DB
>         use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'");
>     },
>-- 
>1.7.9.5

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list