Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.ee.rs.JaxrsParamClient
ee.jakarta.tck.ws.rs.ee.rs.beanparam.BeanParamCommonClient
ee.jakarta.tck.ws.rs.ee.rs.beanparam.cookie.plain.JAXRSClientIT
@ExtendWith(org.jboss.arquillian.junit5.ArquillianExtension.class)
public class JAXRSClientIT
extends BeanParamCommonClient
-
Nested Class Summary
Nested classes/interfaces inherited from class ee.jakarta.tck.ws.rs.ee.rs.JaxrsParamClient
JaxrsParamClient.CollectionName
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.ee.rs.beanparam.BeanParamCommonClient
exceptionInEntity, fieldBeanParam
Fields inherited from class ee.jakarta.tck.ws.rs.ee.rs.JaxrsParamClient
searchEqualsEncoded, useDefaultValue
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 String
buildRequest
(String param) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
static org.jboss.shrinkwrap.api.spec.WebArchive
protected void
invoke()
Invokes a test based on the properties stored in TEST_PROPS.protected void
paramEntity
(String request) protected void
paramEntityThrowingAfterRequestSet
(String request) Methods inherited from class ee.jakarta.tck.ws.rs.ee.rs.beanparam.BeanParamCommonClient
buildRequestAndInvoke, buildRequestForException, checkCookie, createAndCheckCookie, fieldOrParamEncodedTest, fieldOrParamEntityName, fieldOrParamThrowingIllegalArgumentExceptionTest, fieldOrParamThrowingWebApplicationExceptionTest, getDefaultValueOfParam, stripQuotesSpacesAndLowerCase
Methods inherited from class ee.jakarta.tck.ws.rs.ee.rs.JaxrsParamClient
fieldCollectionEntityWithFromStringTest, fieldEntityWithConstructorTest, fieldEntityWithEncodedTest, fieldEntityWithFromStringTest, fieldEntityWithValueOfTest, fieldThrowingIllegalArgumentExceptionTest, fieldThrowingWebApplicationExceptionTest, paramCollectionEntityWithFromStringTest, paramEntityDefault, paramEntityWithConstructorTest, paramEntityWithEncodedTest, paramEntityWithFromStringTest, paramEntityWithValueOfTest, paramThrowingIllegalArgumentExceptionTest, paramThrowingWebApplicationExceptionTest, segmentFromParam
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, buildRequest, buildRequest, buildRequest10, cleanup, clearProperty, clearTestProperties, createHttpRequest, editWebXmlString, fault, getAbsoluteUrl, getAbsoluteUrl, getContextRoot, getLocalInterfaceInfo, getResponseBody, getResponseHeaders, getResponseStatusCode, getServletName, getStatusCode, isNullOrEmpty, logMsg, logTrace, objectsToString, objectsToString, setContextRoot, setProperty, setProperty, setProperty, setServletName, setTestDir, setTestProperties, setup, 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
-
cookieParamEntityWithConstructorTest
- Throws:
JAXRSCommonClient.Fault
-
cookieParamEntityWithValueOfTest
- Throws:
JAXRSCommonClient.Fault
-
cookieParamEntityWithFromStringTest
- Throws:
JAXRSCommonClient.Fault
-
cookieParamSetEntityWithFromStringTest
- Throws:
JAXRSCommonClient.Fault
-
cookieParamSortedSetEntityWithFromStringTest
- Throws:
JAXRSCommonClient.Fault
-
cookieParamListEntityWithFromStringTest
- Throws:
JAXRSCommonClient.Fault
-
cookieFieldParamEntityWithConstructorTest
- Throws:
JAXRSCommonClient.Fault
-
cookieFieldParamEntityWithValueOfTest
- Throws:
JAXRSCommonClient.Fault
-
cookieFieldParamEntityWithFromStringTest
- Throws:
JAXRSCommonClient.Fault
-
cookieFieldParamSetEntityWithFromStringTest
- Throws:
JAXRSCommonClient.Fault
-
cookieFieldParamSortedSetEntityWithFromStringTest
@Test public void cookieFieldParamSortedSetEntityWithFromStringTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
cookieFieldParamListEntityWithFromStringTest
- Throws:
JAXRSCommonClient.Fault
-
cookieParamThrowingWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
cookieFieldThrowingWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
cookieParamThrowingIllegalArgumentExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
cookieFieldThrowingIllegalArgumentExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
buildRequest
- Specified by:
buildRequest
in classJaxrsParamClient
-
invoke
Description copied from class:JAXRSCommonClient
Invokes a test based on the properties stored in TEST_PROPS. Once the test has completed, the properties in TEST_PROPS will be cleared.
- Overrides:
invoke
in classBeanParamCommonClient
- Throws:
JAXRSCommonClient.Fault
- If an error occurs during the test run
-
paramEntity
- Overrides:
paramEntity
in classBeanParamCommonClient
- Throws:
JAXRSCommonClient.Fault
-
paramEntityThrowingAfterRequestSet
- Overrides:
paramEntityThrowingAfterRequestSet
in classJaxrsParamClient
- Throws:
JAXRSCommonClient.Fault
-