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
Priority: Trivial
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.