You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/11/30 17:06:13 UTC

[jira] Resolved: (WICKET-3208) MicroMapTest.java tests map's size 3 times rather than keySet, entrySet, values size

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

Igor Vaynberg resolved WICKET-3208.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M4
         Assignee: Igor Vaynberg

added the extra checks. the old size checks are also valid.

> MicroMapTest.java tests map's size 3 times rather than keySet, entrySet, values size
> ------------------------------------------------------------------------------------
>
>                 Key: WICKET-3208
>                 URL: https://issues.apache.org/jira/browse/WICKET-3208
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>         Environment: all
>            Reporter: Richard Emberson
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>             Fix For: 1.5-M4
>
>
> In the MicroMapTest testMicroMap test, the MicroMap's size is tested 3 times rather
> than testing the keySet's, entrySet's and values'  sizes.
> Lines 45, 64 and 84 should be changed from:
>     assertEquals(1, m.size());
> to
>     assertEquals(1, s.size());
>     assertEquals(1, s.size());
>     assertEquals(1, v.size());
> respectfully.
> No big deal. I was swapping out the MicroMap and noticed the bug.

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