You need to have your data access method separated from servlet code
or RPC (if GWT is used) code.
Assume that you have something like:
class Customer {
private Key customerId;
...
}
class MyDataAccessService {
public void addCustomer(Customer c) {
...
}
and you want to test it.
Got it, really appreciate your detailed demo, thanks.:)
On Sep 23, 6:15 pm, leszek leszek.ptokar...@gmail.com wrote:
You need to have your data access method separated from servlet code
or RPC (if GWT is used) code.
Assume that you have something like:
class Customer {
private Key
Oh, I think I got a misunderstanding. In that article, the service
means that the services provided by appengine, right? the article is
telling how to use appengine's service in test mode, right? I treat
the service as the service I developed so I try to locate my service
that implements
Are you importing the class correctly? In the mail example, you can see that
it depends on the class Bug which is in the same package as the
BugNotificationTest class. If you import your classes, assuming they're in a
different package, you should be able to use them in your tests. If you can
be