Hi, I want to fire an event for testing purposes. I know this idiom:

KeyUpEvent.fireNativeEvent(
        Document.get().createKeyUpEvent(false, false, false, false,
            KeyCodes.KEY_ENTER), s,s.getElement());

But it executes the fireEvent method and then the handler. The problem
is I  want to test the onBrowserEvent, but I didn't find a way to fire
a event as DOM.dispatchEventImpl does. Any suggestion?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to