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()
TestNgStrategy
TestNgStrategy.testContainer(TestContainer)
.testContainer
in interface TestNgStrategy
null
if the test container is not set.public TestContainer testContainer(TestContainer testContainer)
TestNgStrategy
testContainer
in interface TestNgStrategy
testContainer
- new container instance.null
if the container is not set.public Client client()
TestNgStrategy
TestNgStrategy.client(javax.ws.rs.client.Client)
.client
in interface TestNgStrategy
null
if the client is not set.public Client client(Client client)
TestNgStrategy
client
in interface TestNgStrategy
client
- 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.