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|
Specifies the active test container host address where application is deployed.
|Constructor and Description|
|Modifier and Type||Method and Description|
Create a test container instance.
public static final String JERSEY_TEST_HOST
public TestContainer create(URI baseUri, DeploymentContext context) throws IllegalArgumentException
baseUri- base URI for the test container to run at.
context- deployment context of the tested JAX-RS / Jersey application .
deploymentContextis not supported by this test container factory.
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.