use of com.sun.jersey.test.framework.WebAppDescriptor in project ff4j by ff4j.
the class AbstractWebResourceTestIT method configure.
/**
* {@inheritDoc}
*/
@Override
public WebAppDescriptor configure() {
ClientConfig cc = new DefaultClientConfig();
cc.getFeatures().put(JSONConfiguration.FEATURE_POJO_MAPPING, Boolean.TRUE);
return new WebAppDescriptor.Builder().initParam(WebComponent.APPLICATION_CONFIG_CLASS, //
SimpleFF4jProvider.class.getName()).clientConfig(cc).build();
}
use of com.sun.jersey.test.framework.WebAppDescriptor in project ff4j by ff4j.
the class SecuredFF4JResourceTestIT method configure.
/**
* {@inheritDoc}
*/
@Override
public WebAppDescriptor configure() {
ClientConfig cc = new DefaultClientConfig();
cc.getFeatures().put(JSONConfiguration.FEATURE_POJO_MAPPING, Boolean.TRUE);
return new WebAppDescriptor.Builder().initParam(WebComponent.APPLICATION_CONFIG_CLASS, //
SecuredFF4jProvider.class.getName()).clientConfig(cc).build();
}
Aggregations