Class CommonFixture
java.lang.Object
org.opengis.cite.ogcapifeatures10.conformance.CommonFixture
- Direct Known Subclasses:
AbstractBBoxCrs
,AbstractFeatureCrs
,AbstractFeaturesCrs
,ApiDefinition
,CommonDataFixture
,Conformance
,GeneralHttp
,LandingPage
A supporting base class that sets up a common test fixture. These configuration methods
are invoked before those defined in a subclass.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected io.restassured.filter.log.RequestLoggingFilter
protected io.restassured.filter.log.ResponseLoggingFilter
protected URI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearMessages.getRequest.getResponse.protected io.restassured.specification.RequestSpecification
init()
init.void
initCommonFixture
(org.testng.ITestContext testContext) Initializes the common test fixture with a client component for interacting with HTTP endpoints.
-
Field Details
-
requestLoggingFilter
protected io.restassured.filter.log.RequestLoggingFilter requestLoggingFilter -
responseLoggingFilter
protected io.restassured.filter.log.ResponseLoggingFilter responseLoggingFilter -
rootUri
-
-
Constructor Details
-
CommonFixture
public CommonFixture()
-
-
Method Details
-
initCommonFixture
@BeforeClass public void initCommonFixture(org.testng.ITestContext testContext) Initializes the common test fixture with a client component for interacting with HTTP endpoints.- Parameters:
testContext
- The test context that contains all the information for a test run, including suite attributes.
-
clearMessages
@BeforeMethod public void clearMessages()clearMessages.
-
getRequest
getRequest.
- Returns:
- a
String
object
-
getResponse
getResponse.
- Returns:
- a
String
object
-
init
protected io.restassured.specification.RequestSpecification init()init.
- Returns:
- a
RequestSpecification
object
-