Bugzilla – Attachment 33547 Details for
Bug 13223
Plugin housekeeping: do not redefine wrapper
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13223: [QA Follow-up] Adding some unit tests for wrapper
Bug-13223-QA-Follow-up-Adding-some-unit-tests-for-.patch (text/plain), 1.11 KB, created by
Marcel de Rooy
on 2014-11-14 07:30:14 UTC
(
hide
)
Description:
Bug 13223: [QA Follow-up] Adding some unit tests for wrapper
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-11-14 07:30:14 UTC
Size:
1.11 KB
patch
obsolete
>From 34fef44f212e7d002529c7d18ceaaef5cda14d46 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Thu, 13 Nov 2014 23:06:00 +0100 >Subject: [PATCH] Bug 13223: [QA Follow-up] Adding some unit tests for wrapper >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Trivially amended. Thanks, Katrin. >--- > t/Koha_Util_FrameworkPlugin.t | 13 +++++++++++++ > 1 files changed, 13 insertions(+), 0 deletions(-) > create mode 100755 t/Koha_Util_FrameworkPlugin.t > >diff --git a/t/Koha_Util_FrameworkPlugin.t b/t/Koha_Util_FrameworkPlugin.t >new file mode 100755 >index 0000000..20f941c >--- /dev/null >+++ b/t/Koha_Util_FrameworkPlugin.t >@@ -0,0 +1,13 @@ >+#!/usr/bin/perl >+ >+use Modern::Perl; >+use Test::More tests => 6; >+ >+use_ok( 'Koha::Util::FrameworkPlugin', qw(wrapper) ); >+ >+my $char; >+is($char=wrapper(' '),'space',"Return space"); >+is($char=wrapper(' '),'dblspace',"Return dblspace"); >+is($char=wrapper('|'),'pipe',"Return pipe"); >+is($char=wrapper('||'),'dblpipe',"Return dblpipe"); >+is($char=wrapper('somethingelse'),'somethingelse',"Return somethingelse"); >-- >1.7.7.6
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 13223
:
33381
|
33484
|
33489
|
33493
|
33536
|
33537
|
33542
|
33546
| 33547