public interface TestNgStrategy
Jersey Test
calls testContainer(TestContainer)
/
client(javax.ws.rs.client.Client)
methods before testContainer()
/ client()
. Strategy is not
supposed to create instances of test container / client. It's purpose is to appropriately store given instances for different
TestNG approaches defined by @BeforeXXX
and @AfterXXX
annotations.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.
|
TestContainer testContainer()
testContainer(TestContainer)
.null
if the test container is not set.TestContainer testContainer(TestContainer testContainer)
testContainer
- new container instance.null
if the container is not set.Client client()
client(javax.ws.rs.client.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.