There is a new key [1] in PortletRequest and what I've read it was introduced in Portlet 2.0 spec. It's ok, just change the test, right ?
[1] javax.portlet.lifecycle_phase Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/6/24 Nils-Helge Garli Hegvik <nil...@gmail.com>: > Just did an update from trunk, and the tests ran fine with me (Java > 1.6.0, Maven 2.2.1). > > Nils-H > > On Thu, Jun 23, 2011 at 11:24 PM, Johannes Geppert <jo...@apache.org> wrote: >> Hi Guys, >> >> 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. >> >> 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? >> >> Johannes >> >> ----- >> web: http://www.jgeppert.com >> twitter: http://twitter.com/jogep >> -- >> View this message in context: >> http://struts.1045723.n5.nabble.com/Portlet-2-0-Plugin-was-moved-to-trunk-tp4519115p4519115.html >> Sent from the Struts - Dev mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org >> For additional commands, e-mail: dev-h...@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org