Sunday, July 31, 2011

using jmock with jsni methods

Hi all,

i'm trying to use jmock for mocking object while testing our
application. While some of the classes make use of jsni methods which
form core part of application.
these classes are being used by classes which are used in test class.
class Core uses jsni code for important functionality
class Manager creates object of Core class
class Client takes services from Manager class

Now what I need to test is Client class using CleintTest class

Can you suggest me how can it be done using jmock or any other mocking
cause things fails due unsatisfied linking exception when it comes to
Core class which uses jsni code


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment