So you are saying I should have three files for a custom composite
widget using UIBinder?

.java file
.ui.xml file
Presenter file ?




On Aug 28, 5:22 am, Alex Dobjanschi <[email protected]> wrote:
> IMO You should not do unit testing for views. All you could test is what,
> that they look ok? Or they respond to app events? Or rather generate an app
> event, based on user input? While those cases are indeed valid, testing them
> by hand is very very easy. You should however have a Presenter/Mediator for
> that specific view, which acts in-between that view and the rest of
> application. It makes more sense to test that that presenter/mediator,
> making sure it works within app's context (generating events, responding to
> events).
>
> But again, this is just my opinion.
> My 2 cents,
> Alex.

-- 
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.

Reply via email to