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.spec.filter.exception.JAXRSClientIT
@ExtendWith(org.jboss.arquillian.junit5.ArquillianExtension.class)
public class JAXRSClientIT
extends JaxrsCommonClient
Test the interceptor is called when any entity provider is called
-
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 TypeMethodDescriptionstatic org.jboss.shrinkwrap.api.spec.WebArchive
void
void
void
void
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
-
throwExceptionOnPostMatchingFilterTest
- Throws:
JAXRSCommonClient.Fault
-
throwExceptionOnPreMatchingFilterTest
- Throws:
JAXRSCommonClient.Fault
-
throwExceptionOnInterceptorTest
- Throws:
JAXRSCommonClient.Fault
-
noNameBoundInterceptorTest
- Throws:
JAXRSCommonClient.Fault
-
throwSecondExceptionFromMapperFirstFromInterceptorTest
@Test public void throwSecondExceptionFromMapperFirstFromInterceptorTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
throwSecondExceptionFromMapperFirstFromPreMatchingFilterTest
@Test public void throwSecondExceptionFromMapperFirstFromPreMatchingFilterTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
throwSecondExceptionFromMapperFirstFromPostMatchingFilterTest
@Test public void throwSecondExceptionFromMapperFirstFromPostMatchingFilterTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
throwSecondExceptionFromInterceptorFirstFromInterceptorTest
@Test public void throwSecondExceptionFromInterceptorFirstFromInterceptorTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
throwSecondExceptionFromInterceptorFirstFromPreMatchingFilterTest
@Test public void throwSecondExceptionFromInterceptorFirstFromPreMatchingFilterTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
throwSecondExceptionFromInterceptorFirstFromPostMatchingFilterTest
@Test public void throwSecondExceptionFromInterceptorFirstFromPostMatchingFilterTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
throwNoExceptionFromPostMatchingFilterFirstFromInterceptorTest
@Test public void throwNoExceptionFromPostMatchingFilterFirstFromInterceptorTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
throwNoExceptionFromPostMatchingFilterFirstFromPostMatchingFilterTest
@Test public void throwNoExceptionFromPostMatchingFilterFirstFromPostMatchingFilterTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
throwNoExceptionFromPostMatchingFilterFirstFromPreMatchingFilterTest
@Test public void throwNoExceptionFromPostMatchingFilterFirstFromPreMatchingFilterTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-