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.container.requestcontext.JAXRSClientIT
@ExtendWith(org.jboss.arquillian.junit5.ArquillianExtension.class)
public class JAXRSClientIT
extends JaxrsCommonClient
-
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 TypeMethodDescriptionvoid
void
static org.jboss.shrinkwrap.api.spec.WebArchive
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
protected void
invokeRequestAndCheckResponse
(JAXRSCommonClient.Request req, ContextOperation contextOperation) protected void
invokeRequestAndCheckResponse
(ContextOperation contextOperation) void
void
void
void
void
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
-
abortWithTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableLanguagesTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableLanguagesIsSortedTest
@Test @Tag("servlet") public void getAcceptableLanguagesIsSortedTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getAcceptableLanguagesIsReadOnlyTest
@Test @Tag("servlet") public void getAcceptableLanguagesIsReadOnlyTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getAcceptableMediaTypesTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableMediaTypesIsSortedTest
@Test @Tag("servlet") public void getAcceptableMediaTypesIsSortedTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getAcceptableMediaTypesIsReadOnlyTest
@Test @Tag("servlet") public void getAcceptableMediaTypesIsReadOnlyTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getCookiesTest
- Throws:
JAXRSCommonClient.Fault
-
getCookiesIsReadonlyTest
- Throws:
JAXRSCommonClient.Fault
-
getDateTest
- Throws:
JAXRSCommonClient.Fault
-
getDateIsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityStreamTest
- Throws:
JAXRSCommonClient.Fault
-
containsHeaderStringTest
- Throws:
JAXRSCommonClient.Fault
-
getHeadersTest
- Throws:
JAXRSCommonClient.Fault
-
getHeadersIsMutableTest
- Throws:
JAXRSCommonClient.Fault
-
getHeaderStringTest
- Throws:
JAXRSCommonClient.Fault
-
getLanguageTest
- Throws:
JAXRSCommonClient.Fault
-
getLanguageIsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getLengthTest
- Throws:
JAXRSCommonClient.Fault
-
getLengthWhenNoEntityTest
- Throws:
JAXRSCommonClient.Fault
-
getMediaTypeTest
- Throws:
JAXRSCommonClient.Fault
-
getMediaTypeIsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getMethodTest
- Throws:
JAXRSCommonClient.Fault
-
getPropertyIsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getPropertyNamesTest
- Throws:
JAXRSCommonClient.Fault
-
getPropertyNamesIsReadOnlyTest
- Throws:
JAXRSCommonClient.Fault
-
getRequestTest
- Throws:
JAXRSCommonClient.Fault
-
getSecurityContextPrincipalIsNullTest
@Test @Tag("servlet") public void getSecurityContextPrincipalIsNullTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getUriInfoTest
- Throws:
JAXRSCommonClient.Fault
-
hasEntityTest
- Throws:
JAXRSCommonClient.Fault
-
hasEntityWhenNoEntityTest
- Throws:
JAXRSCommonClient.Fault
-
removePropertyTest
- Throws:
JAXRSCommonClient.Fault
-
setEntityStreamTest
- Throws:
JAXRSCommonClient.Fault
-
setMethodTest
- Throws:
JAXRSCommonClient.Fault
-
setPropertyTest
- Throws:
JAXRSCommonClient.Fault
-
setPropertyNullTest
- Throws:
JAXRSCommonClient.Fault
-
setPropertyIsReflectedInServletRequestTest
@Test @Tag("servlet") public void setPropertyIsReflectedInServletRequestTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
setRequestUriOneUriTest
- Throws:
JAXRSCommonClient.Fault
-
setRequestUriTwoUrisTest
- Throws:
JAXRSCommonClient.Fault
-
setSecurityContextTest
- Throws:
JAXRSCommonClient.Fault
-
invokeRequestAndCheckResponse
protected void invokeRequestAndCheckResponse(ContextOperation contextOperation) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
invokeRequestAndCheckResponse
protected void invokeRequestAndCheckResponse(JAXRSCommonClient.Request req, ContextOperation contextOperation) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-