public class ExternalTestContainerFactory extends Object implements TestContainerFactory
If you would like to run your tests on a staging server, just set the machine's IP address or fully-qualified domain name to the System Property jersey.test.host.
| Modifier and Type | Field and Description |
|---|---|
static String |
JERSEY_TEST_HOST
Specifies the active test container host address where application is deployed.
|
| Constructor and Description |
|---|
ExternalTestContainerFactory() |
public static final String JERSEY_TEST_HOST
public TestContainer create(URI baseUri, DeploymentContext context) throws IllegalArgumentException
TestContainerFactorycreate in interface TestContainerFactorybaseUri - base URI for the test container to run at.context - deployment context of the tested JAX-RS / Jersey application .IllegalArgumentException - if deploymentContext is not supported
by this test container factory.Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.