Hi all,

Now I am writing a test case for an Activity. The activity will send a Http
request to a server and the server will give response back to it. Based on
the response from the server, the Activty may make call, connect to a web
site and etc. The question is: Can I implement a MockServer, just like
MockContext in the android.test package? In the MockServer, I can set the
response message and test if the Activity can launch dialer or browser
correctly?

Thanks

James

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to