Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.spec.provider.standard.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.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 TypeMethodDescriptionvoidstatic org.jboss.shrinkwrap.api.spec.WebArchivevoidvoidprotected Stringprotected <T> T[]getMediaTypes(Class<T> clazz) MediaType should either be an enum or have the values method It's neither so this method uses reflection to acquire public static fields of given class, either MediaType or String.voidvoidvoidvoidvoidMethods 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, getContextRoot, getLocalInterfaceInfo, getResponseBody, getResponseHeaders, getResponseStatusCode, getServletName, getStatusCode, invoke, isNullOrEmpty, logMsg, logTrace, objectsToString, objectsToString, setContextRoot, setProperty, setProperty, setProperty, setServletName, setTestDir, setTestProperties, setup, setWebTestCaseProperties, setWebTestCaseRequest, toString
-
Constructor Details
-
JAXRSClientIT
public JAXRSClientIT()
-
-
Method Details
-
getMediaTypes
MediaType should either be an enum or have the values method It's neither so this method uses reflection to acquire public static fields of given class, either MediaType or String.- Parameters:
clazz- Class of the public static Field- Returns:
- array of the Fields of a given class
- Throws:
JAXRSCommonClient.Fault
-
getAbsoluteUrl
- Overrides:
getAbsoluteUrlin classJAXRSCommonClient
-
createDeployment
@Deployment(testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() throws IOException- Throws:
IOException
-
byteArrayProviderTest
- Throws:
JAXRSCommonClient.Fault
-
stringProviderTest
- Throws:
JAXRSCommonClient.Fault
-
inputStreamProviderTest
- Throws:
JAXRSCommonClient.Fault
-
readerProviderTest
- Throws:
JAXRSCommonClient.Fault
-
fileProviderTest
- Throws:
JAXRSCommonClient.Fault
-
dataSourceProviderTest
- Throws:
JAXRSCommonClient.Fault
-
sourceProviderTest
- Throws:
JAXRSCommonClient.Fault
-
streamingOutputProviderTest
- Throws:
JAXRSCommonClient.Fault
-