Hi guys, In GWT 1.5 and earlier, I have been unit testing my click handlers as explained on my blog here...
http://kennardconsulting.blogspot.com/2008/05/firing-onclicklisteners-in-gwt-unit.html ...this little hack no longer works in 1.6, because FocusWidget::fireClickListeners is gone - replaced by (I assume) FocusWidget::fireEvent. So my hack would become... native void fireEvent( FocusWidget focusWidget, GwtEvent<?> event ) /*-{ [email protected]::fireEvent (Lcom/google/gwt/event/shared/GwtEvent;)( event ); }-*/; The problem is I can't instantiate a ClickEvent so I'm stuck how to call this. Is there a better way to unit test click handlers in 1.6? Regards, Richard. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
