so i inject the abstract class "com.google.gwt.core.client.Scheduler". Do i have to bind an instance or provider to it (the provider will call get())?
ok but this is an perfect answer for this thread. The question here is, is it good to connect the model this way? or general how do you connect the model (more than an object delivered by a service) with the presenter?
On Wednesday, 25 April 2012 11:14:05 UTC+2, Thomas Broyer wrote:
-- On Wednesday, 25 April 2012 11:14:05 UTC+2, Thomas Broyer wrote:
On Wednesday, April 25, 2012 11:06:48 AM UTC+2, tanteanni wrote:Thx
The Problem about Scheduled command is that i loose test ability - one main reason i use MVP (want to test the P without GWTTestCase).Not if you inject the Scheduler into your activity (probably a mock one then, or the StubScheduler implementation).
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/lSQOBOQGswEJ.
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.
No comments:
Post a Comment