users@jersey.java.net

Re: [Jersey] Question regarding InMemoryTestContainer and Custom Providers

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 05 Mar 2010 17:50:18 +0100

Hi Venkat,

Is it possible to send me a reproducible test case?

The InMemoryTestContainer should work OK but it is hard to tell what
might be wrong without looking at the code. FWIW we use the same code
that InMemoryTestContainer uses for many unit tests.

Paul.

On Mar 4, 2010, at 10:12 PM, Venkat Veerapaneni wrote:

> All,
>
> I have a test client to test a mock resource and am using
> InMemoryTestContainer from InMemoryTestContainerFactory.
>
> Why doesn't the InMemoryTestContainer register the providers ???. I
> have a custom JSON provider that uses Gson.
>
>
> Thanks for the Help
> Venkat