public class ContainerPerClassTestNgStrategy extends Object implements TestNgStrategy
Constructor and Description |
---|
ContainerPerClassTestNgStrategy() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.client.Client |
client()
Return a JAX-RS client.
|
javax.ws.rs.client.Client |
client(javax.ws.rs.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 javax.ws.rs.client.Client client()
TestNgStrategy
TestNgStrategy.client(javax.ws.rs.client.Client)
.client
in interface TestNgStrategy
null
if the client is not set.public javax.ws.rs.client.Client client(javax.ws.rs.client.Client client)
TestNgStrategy
client
in interface TestNgStrategy
client
- new client.null
if the client is not set.Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.