Bugzilla – Attachment 24253 Details for
Bug 11544
increasing test coverage for C4::Installer_PerlModule
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0002-bug-11544-increasing-test-coverage-for-Installer_Per.patch (text/plain), 1.09 KB, created by
AlexHorsman
on 2014-01-14 01:27:32 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
AlexHorsman
Created:
2014-01-14 01:27:32 UTC
Size:
1.09 KB
patch
obsolete
>From eed3086a90893a4ca73c1fdac4265b6dbd92e408 Mon Sep 17 00:00:00 2001 >From: alex_h <dhorsman@xtra.co.nz> >Date: Tue, 14 Jan 2014 14:18:46 +1300 >Subject: [PATCH 2/2] bug 11544: increasing test coverage for > Installer_PerlModules.pm > >To test >1. run prove t/Installer_PerlModules.t >2. apply patch >3. run prove t/Installer_PerlModules.t > notices more tests are run >--- > t/Installer_PerlModules.t | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/t/Installer_PerlModules.t b/t/Installer_PerlModules.t >index c3ed715..845a6e9 100755 >--- a/t/Installer_PerlModules.t >+++ b/t/Installer_PerlModules.t >@@ -6,7 +6,7 @@ > use strict; > use warnings; > >-use Test::More tests => 16; >+use Test::More tests => 17; > > BEGIN { > use_ok('C4::Installer::PerlModules'); >@@ -36,3 +36,7 @@ my @module_list = $modules->module_list; > %params = map { $_ => 1 } @module_list; > ok (exists($params{"DBI"}), 'DBI exists in array'); > is ($modules->required('module'=>"String::Random"),1, 'String::Random should return 1 since required'); >+ok (!$modules->version_info(), "Testing empty modules"); >+ >+ >+ >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11544
:
24253
|
24301
|
24305
|
24319