On Wed, Aug 19, 2009 at 9:30 AM, Ian Bambury <[email protected]> wrote:
> 2009/8/19 Davis Ford <[email protected]> > >> >> My basic question is: why not just return TextBox if that is what is >> in your view? The coupling is between 2 classes: view and presenter. >> If you later change TextBox to SuperWidgetTextBox, you can re-factor >> it in your IDE in 5 seconds and be done with it. >> >> Am I missing something? > > If your view interface return a TextBox you can't test the presenter with JUnit, you will need to use GWTTestCase. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
