Perform superclass validations, then ensure that the specified input value is acceptable at this point in time.
FacesContext
289290291292293294295296297298299
// simulate apply values token.decode(facesContext); assertEquals("value", value, token.getSubmittedValue()); // simulate validation and invalidates token token.validate(facesContext); checkNoMessages(token); // simulate double post token.validate(facesContext);
294295296297298299300301302303304
token.validate(facesContext); checkNoMessages(token); // simulate double post token.validate(facesContext); // check for the custom message checkMessage(SUMMARY_MESSAGE, DETAIL_MESSAGE, token); }
171172173174175176177178179180181
176177178179180181182183184185186
230231232233234235236237238239240
235236237238239240241242243244245