public class ContainerPerMethodTestNgStrategy extends Object implements TestNgStrategy
| Constructor and Description |
|---|
ContainerPerMethodTestNgStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Client |
client()
Return a JAX-RS client.
|
Client |
client(Client client)
Set a new JAX-RS client instance and return the old, previously stored, instance.
|
TestContainer |
testContainer()
Return a test container to run the tests in.
|
TestContainer |
testContainer(TestContainer testContainer)
Set a new test container instance to run the tests in and return the old, previously stored, instance.
|
public TestContainer testContainer()
TestNgStrategyTestNgStrategy.testContainer(TestContainer).testContainer in interface TestNgStrategynull if the test container is not set.public TestContainer testContainer(TestContainer testContainer)
TestNgStrategytestContainer in interface TestNgStrategytestContainer - new container instance.null if the container is not set.public Client client()
TestNgStrategyTestNgStrategy.client(javax.ws.rs.client.Client).client in interface TestNgStrategynull if the client is not set.public Client client(Client client)
TestNgStrategyclient in interface TestNgStrategyclient - new client.null if the client is not set.Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.