Package org.nuxeo.ecm.restapi.test
Class ManagementBaseTest
- java.lang.Object
-
- org.nuxeo.ecm.restapi.test.ManagementBaseTest
-
public abstract class ManagementBaseTest extends Object
- Since:
- 11.3
-
-
Field Summary
Fields Modifier and Type Field Description protected HttpClientTestRule
httpClientRule
protected com.fasterxml.jackson.databind.ObjectMapper
mapper
protected ServletContainerFeature
servletContainerFeature
protected TransactionalFeature
txFeature
-
Constructor Summary
Constructors Constructor Description ManagementBaseTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after()
protected void
assertBulkStatusCompleted(com.fasterxml.jackson.databind.JsonNode bulkStatus)
protected void
assertBulkStatusScheduled(com.fasterxml.jackson.databind.JsonNode bulkStatus)
protected void
assertJsonResponse(String actual, String expectedFile)
void
before()
protected String
getBulkCommandId(com.fasterxml.jackson.databind.JsonNode bulkStatus)
protected HttpClientTestRule
getRule()
-
-
-
Field Detail
-
servletContainerFeature
@Inject protected ServletContainerFeature servletContainerFeature
-
txFeature
@Inject protected TransactionalFeature txFeature
-
mapper
protected com.fasterxml.jackson.databind.ObjectMapper mapper
-
httpClientRule
protected HttpClientTestRule httpClientRule
-
-
Constructor Detail
-
ManagementBaseTest
public ManagementBaseTest()
-
-
Method Detail
-
getRule
protected HttpClientTestRule getRule()
-
before
public void before()
-
after
public void after()
-
assertJsonResponse
protected void assertJsonResponse(String actual, String expectedFile) throws IOException, org.json.JSONException
- Throws:
IOException
org.json.JSONException
-
getBulkCommandId
protected String getBulkCommandId(com.fasterxml.jackson.databind.JsonNode bulkStatus)
-
assertBulkStatusScheduled
protected void assertBulkStatusScheduled(com.fasterxml.jackson.databind.JsonNode bulkStatus)
-
assertBulkStatusCompleted
protected void assertBulkStatusCompleted(com.fasterxml.jackson.databind.JsonNode bulkStatus)
-
-