commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julius Davies (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CODEC-78) Base64: Improve Code Coverage
Date Wed, 15 Jul 2009 21:39:14 GMT

     [ https://issues.apache.org/jira/browse/CODEC-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julius Davies updated CODEC-78:
-------------------------------

    Attachment: codec78.patch

I think the attached patch brings us up to:

Base64 (100%, 98%)
Base64InputStream (100%, 100%)
Base64OutputStream (100%, 100%)

The remaining 2% in Base64 is quite hard to test:

Line #703:
if (len > Integer.MAX_VALUE) { throw new IllegalArgumentException(); }


Line #306:
303  try {
304     sep = new String(lineSeparator, "UTF-8");
305  } catch (UnsupportedEncodingException uee) {
306     sep = new String(lineSeparator);
307  }



> Base64:  Improve Code Coverage
> ------------------------------
>
>                 Key: CODEC-78
>                 URL: https://issues.apache.org/jira/browse/CODEC-78
>             Project: Commons Codec
>          Issue Type: Test
>    Affects Versions: 1.4
>            Reporter: Julius Davies
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: codec78.patch
>
>
> Base64:  Improve Code Coverage
> As Gary noted:
> On Wed, Jul 15, 2009 at 12:59 PM, Gary Gregory<GGregory@seagullsoftware.com> wrote:
> > Taking a quick look at the Cobertura coverage line/branch reports:
> >
> > Base64InputStream 85%/76%
> > Base64OutputStream 88%/70%
> >
> > Gary

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message