Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.common.client.JaxrsCommonClient
ee.jakarta.tck.ws.rs.ee.rs.constrainedto.JAXRSClientIT
@ExtendWith(org.jboss.arquillian.junit5.ArquillianExtension.class)
public class JAXRSClientIT
extends JaxrsCommonClient
test_strategy_common: If such a annotation is present, the JAX-RS runtime
will enforce the specified usage restriction. - Not optional
It is a configuration error to constraint a JAX-RS provider implementation to
a run-time context in which the provider cannot be applied. In such case a
JAX-RS runtime SHOULD inform a user about the issue and ignore the provider
implementation in further processing - Should not throw exception, just
ignore
-
Nested Class Summary
Nested classes/interfaces inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
JAXRSCommonClient.Fault, JAXRSCommonClient.Property, JAXRSCommonClient.Request
-
Field Summary
Fields inherited from class ee.jakarta.tck.ws.rs.common.client.JaxrsCommonClient
clients, isTestCaseAfterInvocation, testCase
Fields inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
_contextRoot, _generalURI, _hostname, _port, _redirect, _saveState, _servlet, _state, _testCase, _testName, _tsHome, _useSavedState, GET, GF_SUFFIX, GOLDENFILE, GOLDENFILEDIR, HTTP10, HTTP11, indent, newline, REQUEST, REQUEST_HEADERS, SEARCH_STRING, servletAdaptor, SERVLETHOSTPROP, SERVLETPORTPROP, SL, STATUS_CODE, TEST_PROPS, TESTDIR, TSHOME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
void
void
void
static org.jboss.shrinkwrap.api.spec.WebArchive
void
void
void
void
Methods inherited from class ee.jakarta.tck.ws.rs.common.client.JaxrsCommonClient
addHeader, addProvider, bufferEntity, buildRequest, buildRequest, cleanup, getMetadata, getProvidersToRegister, getResponse, getResponseBody, getResponseBody, getResponseHeaders, getResponseStatusCode, getTestCase, invoke, listToString, printClientCall, setAsynchronousProcessing, setPrintEntity, setProperty, setRequestContentEntity, setTestProperties, setTextCaser, setup, setWebTestCaseProperties, splitByColon
Methods inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
assertCause, assertContains, assertContains, assertContainsIgnoreCase, assertContainsIgnoreCase, assertEquals, assertEqualsBool, assertEqualsInt, assertEqualsLong, assertNotNull, assertNull, assertResponseBodyContain, assertResponseHeadersContain, buildAccept, buildContentType, buildHeaderMediaType, buildRequest10, clearProperty, clearTestProperties, createHttpRequest, editWebXmlString, fault, getAbsoluteUrl, getAbsoluteUrl, getContextRoot, getLocalInterfaceInfo, getServletName, getStatusCode, isNullOrEmpty, logMsg, logTrace, objectsToString, objectsToString, setContextRoot, setProperty, setProperty, setServletName, setTestDir, setTestProperties, setWebTestCaseProperties, setWebTestCaseRequest, toString
-
Constructor Details
-
JAXRSClientIT
public JAXRSClientIT()
-
-
Method Details
-
createDeployment
@Deployment(testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() throws IOException- Throws:
IOException
-
serverSideReaderIsUsedOnServerTest
- Throws:
JAXRSCommonClient.Fault
-
clientSideReaderIsNotUsedOnServerTest
- Throws:
JAXRSCommonClient.Fault
-
serverSideWriterIsUsedOnServerTest
- Throws:
JAXRSCommonClient.Fault
-
clientSideWriterIsNotUsedOnServerTest
- Throws:
JAXRSCommonClient.Fault
-
serverSideReaderIsNotUsedOnClientTest
- Throws:
JAXRSCommonClient.Fault
-
clientSideReaderIsUsedOnClientTest
- Throws:
JAXRSCommonClient.Fault
-
serverSideWriterIsNotUsedOnClientTest
- Throws:
JAXRSCommonClient.Fault
-
clientSideWriterIsUsedOnClientTest
- Throws:
JAXRSCommonClient.Fault
-
addProviders
protected void addProviders()
-