Class RestAssert
java.lang.Object
com.atlassian.bamboo.testutils.backdoor.BackdoorControl<RestAssert>
com.atlassian.bamboo.testutils.backdoor.RestAssert
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
-
Field Summary
Fields inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, XSRF_NO_CHECK, XSRF_TOKEN_HEADER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertErrorStatusCode
(String resourcePath, int errorCode, Pair<String, String>... queryParams) void
assertNotLoggedIn
(String resourcePath) void
assertResourceNotExists
(String resourcePath, Pair<String, String>... queryParams) Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
anonymousResourceRoot, client, createResource, createResourceForPath, createResourceForPath, get, getEnvironmentData, getRestModulePath, getRootPath, percentEncode, ping, post, resourceRoot, tearDown
-
Constructor Details
-
RestAssert
-
-
Method Details
-
assertErrorStatusCode
-
assertResourceNotExists
-
assertNotLoggedIn
-