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 HttpClientTestRule
httpClient
protected RestServerFeature
restServerFeature
protected TransactionalFeature
txFeature
-
Constructor Summary
Constructors Constructor Description ManagementBaseTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
protected String
getBulkCommandId(com.fasterxml.jackson.databind.JsonNode bulkStatus)
-
-
-
Field Detail
-
restServerFeature
@Inject protected RestServerFeature restServerFeature
-
txFeature
@Inject protected TransactionalFeature txFeature
-
httpClient
public final HttpClientTestRule httpClient
-
-
Method Detail
-
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)
-
-