use of org.glassfish.jersey.test.external.ExternalTestContainerFactory in project jersey by jersey.
the class ContactCardTest method getBaseUri.
@Override
protected URI getBaseUri() {
final UriBuilder baseUriBuilder = UriBuilder.fromUri(super.getBaseUri()).path("bean-validation-webapp");
final boolean externalFactoryInUse = getTestContainerFactory() instanceof ExternalTestContainerFactory;
return externalFactoryInUse ? baseUriBuilder.path("api").build() : baseUriBuilder.build();
}
use of org.glassfish.jersey.test.external.ExternalTestContainerFactory in project jersey by jersey.
the class ItemStoreResourceTest method getBaseUri.
@Override
protected URI getBaseUri() {
final UriBuilder baseUriBuilder = UriBuilder.fromUri(super.getBaseUri()).path("sse-item-store-webapp");
final boolean externalFactoryInUse = getTestContainerFactory() instanceof ExternalTestContainerFactory;
return externalFactoryInUse ? baseUriBuilder.path("resources").build() : baseUriBuilder.build();
}
use of org.glassfish.jersey.test.external.ExternalTestContainerFactory in project jersey by jersey.
the class ManagedClientSimpleTest method getBaseUri.
@Override
protected URI getBaseUri() {
final UriBuilder baseUriBuilder = UriBuilder.fromUri(super.getBaseUri()).path("managed-client-simple-webapp");
final boolean externalFactoryInUse = getTestContainerFactory() instanceof ExternalTestContainerFactory;
return externalFactoryInUse ? baseUriBuilder.path("app").build() : baseUriBuilder.build();
}
use of org.glassfish.jersey.test.external.ExternalTestContainerFactory in project jersey by jersey.
the class ChunkedInputOutputITCase method getBaseUri.
@Override
protected URI getBaseUri() {
final UriBuilder baseUriBuilder = UriBuilder.fromUri(super.getBaseUri());
final boolean externalFactoryInUse = getTestContainerFactory() instanceof ExternalTestContainerFactory;
return externalFactoryInUse ? baseUriBuilder.path("resources").build() : baseUriBuilder.build();
}
use of org.glassfish.jersey.test.external.ExternalTestContainerFactory in project jersey by jersey.
the class ItemStoreResourceITCase method getBaseUri.
@Override
protected URI getBaseUri() {
final UriBuilder baseUriBuilder = UriBuilder.fromUri(super.getBaseUri());
final boolean externalFactoryInUse = getTestContainerFactory() instanceof ExternalTestContainerFactory;
return externalFactoryInUse ? baseUriBuilder.path("resources").build() : baseUriBuilder.build();
}
Aggregations