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 servlet.

So, do you have any suggestion on how to test my own service ? or best
way is to isolate the implementation from dependencies to servlet?

Thanks.

On Sep 22, 4:51 am, "Jason (Google)" <[email protected]> wrote:
> 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 more specific about what you're seeing or post some code, I can try to
> help you further.
>
> - Jason
>
>
>
> On Sat, Sep 19, 2009 at 7:42 PM, Donny <[email protected]> wrote:
>
> > Hi,  I have a problem on locating my service in unit testing.
>
> > I tried to follow the guide
> >http://code.google.com/appengine/docs/java/howto/unittesting.html
> > the sample code in guide to locate mail service is ok, but I cann't
> > configure out how to location my own service.
> > As I am using eclipse, the created project has a greeting service, how
> > can I locate it? Neither using url, like "/myproject/greet" or class
> > name works.
>
> > Can anybody help? TIA.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to