Access WebClient object in GWT unit tests

2010-08-09 Thread snorbi
Hello! The documentation of HtmlUnit says: "The class com.gargoylesoftware.htmlunit.WebClient is the main starting point." How can I access it in a GwtTestCase-based test? Thanks: Norbi -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

Accessing HtmlUnit API from GWT unit test

2010-03-29 Thread snorbi
Hello, How can I access the HtmlUnit API from my GWT unit test? For example the current HtmlPage... Thanks! Regards: Norbi -- 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-tool...@googlegrou

ClassCastException using the GWT shell in trunk

2009-08-23 Thread snorbi
Hello, I tried to run our application - built with gwt 1.7 - using the gwt trunk. Web mode seems to work (with some problems), but hosted mode fails because a ClassCastException is thrown by the shell: java.util.ArrayList cannot be cast to java.util.Map. Do you have any ideas why is this thrown?

GWT 1.7 shell ActiveX/applet problem

2009-08-18 Thread snorbi
Hello! Our web application must embed an existing applet, which is a very important part of the whole application. First I tried to use a simple tag but it didn't work. Then I found that the tag should work better in IE (see http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_g

Serialization issue with generic Maps

2009-04-02 Thread snorbi
Hello, We have problems serializing generic Maps in gwt-1.6.2 (both in web and hosted mode). It seems that type parameters of generic remote service method parameters are not scanned properly when searching for potential serializable types. To reproduce the problem, please see the application sn

warning when compiling RPC method with long[] return type

2009-03-23 Thread snorbi
Hello, I have an RPC interface: public interface Generator extends RemoteService { long generate(); long[] generate(int count); } I get the warning during compiling: [WARN] Line 14: Referencing class 'long_Array_Rank_1_FieldSerializer: unable to resolve class, expect subsequent failures