Thursday, August 29, 2013

Re: is code using DateTimeFormat not testable?

Ithink there is a bug in The DateTimeFormat GWT version 2.5.1:

I use the DateTimeFormat from the shared package. As far as I know, classes from the shared package can be used at client and at serverside. But the method

  private static DateTimeFormatInfo getDefaultDateTimeFormatInfo() {
    // MUSTFIX(jat): implement
    return LocaleInfo.getCurrentLocale().getDateTimeFormatInfo();
  }

uses LocaleInfo from the client-package. if I use the GWTMockutilities I run into a NullPointerexception

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment