Package ubic.gemma.rest.providers
Class WebApplicationExceptionMapperTest
- java.lang.Object
-
- org.glassfish.jersey.test.JerseyTest
-
- ubic.gemma.rest.providers.WebApplicationExceptionMapperTest
-
public class WebApplicationExceptionMapperTest extends org.glassfish.jersey.test.JerseyTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebApplicationExceptionMapperTest.CustomResource
This is a very simplisitc example that produces two representation for the same resource.
-
Constructor Summary
Constructors Constructor Description WebApplicationExceptionMapperTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Application
configure()
protected org.glassfish.jersey.test.spi.TestContainerFactory
getTestContainerFactory()
void
testJsonRepresentation()
void
testTextRepresentation()
-
Methods inherited from class org.glassfish.jersey.test.JerseyTest
client, close, closeIfNotNull, configureClient, configureDeployment, disable, enable, forceDisable, forceEnable, forceSet, getAsyncTimeoutMultiplier, getBaseUri, getClient, getLastLoggedRecord, getLoggedRecords, getPort, isEnabled, set, set, setClient, setUp, target, target, tearDown
-
-
-
-
Method Detail
-
getTestContainerFactory
protected org.glassfish.jersey.test.spi.TestContainerFactory getTestContainerFactory() throws org.glassfish.jersey.test.spi.TestContainerException
- Overrides:
getTestContainerFactory
in classorg.glassfish.jersey.test.JerseyTest
- Throws:
org.glassfish.jersey.test.spi.TestContainerException
-
configure
public javax.ws.rs.core.Application configure()
- Overrides:
configure
in classorg.glassfish.jersey.test.JerseyTest
-
testTextRepresentation
public void testTextRepresentation()
-
testJsonRepresentation
public void testJsonRepresentation()
-
-