https://issues.apache.org/jira/browse/WICKET-698
- Juha Eelco Hillenius wrote: > Could you please open a JIRA issue[1] for this and attach the test case? > > Thanks, > > Eelco > > [1] http://issues.apache.org/jira/browse/WICKET > > On 6/26/07, Juha Alatalo <[EMAIL PROTECTED]> wrote: >> Juha Alatalo wrote: >>> Johan Compagner wrote: >>>> Yes you have :). private final static IGetAndSet getGetAndSetter(String >>>> exp, Class clz) has changed quite a lot. >>>> >>>> > Do you have a unit test that fails now that shouldn't that i can >>>> add to >>>> > the PropertyResolverTest ? >>>> >>>> No I don't. >>>> >>>> >> Anything happened in this case? It's kind of a show stopper for us. Test >> case is pasted in the end of the mail. >> >> - Juha >> >> >> package org.apache.wicket.model; >> >> import java.util.Properties; >> import java.util.Vector; >> >> import org.apache.wicket.Component; >> import org.apache.wicket.WicketTestCase; >> import org.apache.wicket.markup.html.basic.Label; >> >> >> /** >> * Tests the toString() method on the models in the >> org.apache.wicket.model package. >> */ >> public class VectorModelTest extends WicketTestCase >> { >> /** >> * Used for models in testing. >> */ >> private static class InnerVectorPOJO extends Vector >> { >> public String testValue = "vector"; >> } >> >> /** >> * Construct. >> * >> * @param name >> */ >> public VectorModelTest(String name) >> { >> super(name); >> } >> >> /** >> * Tests the PropertyModel with vector. >> */ >> public void testPropertyModel() >> { >> PropertyModel vecModel = new PropertyModel(new >> InnerVectorPOJO(), >> "testValue"); >> String expected = "vector"; >> assertEquals(expected, vecModel.getObject()); >> } >> } >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user