google / gwtmockito

Better GWT unit testing
https://google.github.io/gwtmockito
Apache License 2.0
157 stars 50 forks source link

GwtMockito master is broken with Gwt > 2.6 due to use of internal class HistoryImpl #49

Closed fgalassi closed 9 years ago

fgalassi commented 9 years ago

Gwtmockito makes use of GWT class HistoryImpl (https://gwt.googlesource.com/gwt/+/2.6.0/user/src/com/google/gwt/user/client/impl/HistoryImpl.java) but the class was removed and made private in Gwt 2.7.x (https://gwt.googlesource.com/gwt/+/2.7.0-beta1/user/src/com/google/gwt/user/client/impl/) so it errors out.

ekuefler commented 9 years ago

Thanks for the report. Looks like history support is simpler in 2.7, so this only required removing a bit of code. I've uploaded a new snapshot if you want to try it out, or I'll probably release the next version in a week or two if no one reports any problems.