2011/6/23 Johannes Geppert <[email protected]>:
> I have copied the latest version of the Portlet 1.0 Plugin to the archive
> and replaced the version in trunk with the sandbox version. Also i have made
> same small changes on the Portlet Sample App which is running fine in
> jetspeed for me with the new portlet plugin version.
Nice work!
> I have only one Problem in Test PortletRequestMapTest in Method
> testEntrySet()
>
> public void testEntrySet() {
> MockPortletRequest request = new MockPortletRequest();
> request.setAttribute("testAttribute1", "testValue1");
> request.setAttribute("testAttribute2", "testValue2");
>
> PortletRequestMap map = new PortletRequestMap(request);
> Set entries = map.entrySet();
>
> //TODO Why is Entry Size 3?
> assertEquals(2, entries.size());
> Iterator it = entries.iterator();
> Map.Entry entry = (Map.Entry)it.next();
> checkEntry(entry);
> entry = (Map.Entry)it.next();
> checkEntry(entry);
>
> }
>
> The Test runs into Failure because the entries.size() == 3 ?!?
> This Test runs in the Sandbox version. Has anyone an Idea or Suggestion?
Did you try to debug to see what's on the list ?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]