How to unit test GWT serialization?

82 views
Skip to first unread message

dhoffer

unread,
Apr 30, 2012, 10:10:07 PM4/30/12
to Google Web Toolkit
I'd like to write a unit test to test GWT serialization, any pointers
on how to setup a unit test that would allow me to pass a variety of
data structures from the client to the server and compare results? Is
this even possible?

Joseph Lust

unread,
May 1, 2012, 10:18:59 AM5/1/12
to google-we...@googlegroups.com
dhoffer,

You can just test the Async callback as a whole. That should hit the serialization/deserialization calls. See the Google documentation of this process:

Sincerely,
Joseph

Adio

unread,
May 2, 2012, 9:08:21 AM5/2/12
to google-we...@googlegroups.com
I don't think you need to unit test GWT serialization since it's apart of GWT framework.  you need to test you usage of the framework not the framework itself 
Reply all
Reply to author
Forward
0 new messages