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 ClassesModifier and TypeClassDescriptionstatic classThis is a very simplisitc example that produces two representation for the same resource. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Applicationprotected org.glassfish.jersey.test.spi.TestContainerFactoryvoidvoidMethods 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
-
Constructor Details
-
WebApplicationExceptionMapperTest
public WebApplicationExceptionMapperTest()
-
-
Method Details
-
getTestContainerFactory
protected org.glassfish.jersey.test.spi.TestContainerFactory getTestContainerFactory() throws org.glassfish.jersey.test.spi.TestContainerException- Overrides:
getTestContainerFactoryin classorg.glassfish.jersey.test.JerseyTest- Throws:
org.glassfish.jersey.test.spi.TestContainerException
-
configure
public javax.ws.rs.core.Application configure()- Overrides:
configurein classorg.glassfish.jersey.test.JerseyTest
-
testTextRepresentation
public void testTextRepresentation() -
testJsonRepresentation
public void testJsonRepresentation()
-