Unit testing problem with widgets
Hello!
Widgets mocking as
Button button = createMock(Button.class);
doesn't work because of this code:
UIObject.java:140
private static DebugIdImpl debugIdImpl = GWT.create
(DebugIdImpl.class);
Why is it there? Why not make a lazy initializer?
GWT.create throws an Exception and I don't know how to workaround
this.
I don't need this debugIdImpl. I just want to create a mock.
Thanks in advance!
Andrey
--~--~---------~--~----~------------~-------~--~----~
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-toolkit@googlegroups.com
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home