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.
e.g.
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
framework
cause things fails due unsatisfied linking exception when it comes to
Core class which uses jsni code

Regards

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

1 comment: