always come across issues where it feels like something very simple
doesn't work. Usually I can figure out a way to make it work, however
that usually feels wrong...
Right now I'm trying to write a test that involves an instance of
DatePicker. I test the return of getValue() after calling
setValue(date) and the returned Date is always the Date that was set
prior to calling setValue(date).
For example:
DatePicker.getValue()(before):Tue Oct 26 00:00:00 CDT 2010
Setting date: Mon Oct 04 01:01:01 CDT 2010
DatePicker.getValue()(after):Tue Oct 26 00:00:00 CDT 2010
When actually using the UI, everything works fine, its only in testing
that it fails.
I'm curious if testing this type of thing is fundamentally wrong, or
if its simply a matter of how DatePicker is implemented.
Any advice?
--
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.
No comments:
Post a Comment