public final class TestProjectPermissionSchemeResource extends BaseJiraRestTest
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_KEY |
static String |
PROJECT_NAME |
static String |
SCHEME_DESC |
static String |
SCHEME_NAME |
backdoor, environmentData, initClass, initData
Constructor and Description |
---|
TestProjectPermissionSchemeResource() |
Modifier and Type | Method and Description |
---|---|
void |
setUpJiraData() |
void |
setUpRestClients() |
void |
testAdminCanAssignPermissionScheme() |
void |
testAdminCanGetAssignedPermissionScheme() |
void |
testAnonymousGets401WhenTryingToGetOrAssignPermissionScheme() |
void |
testAssigningNonExistentPermissionSchemeReturns404() |
void |
testNonAdminGets403WhenTryingToUpdatePermissionScheme() |
void |
testNotProjectAdministratorGets403WhenTryingToGetPermissionScheme() |
void |
testProjectAdministratorCanGetAssignedPermissionScheme() |
void |
testProjectAdministratorGets403WhenTryingToUpdatePermissionScheme() |
void |
testUserThatDoesntHaveAccessToProjectGets404WhenTryingToViewOrAssignPermissionScheme() |
getEnvironmentData
public static final String SCHEME_NAME
public static final String SCHEME_DESC
public static final String PROJECT_KEY
public static final String PROJECT_NAME
public void setUpRestClients()
public void setUpJiraData()
public void testAdminCanGetAssignedPermissionScheme()
public void testProjectAdministratorCanGetAssignedPermissionScheme()
public void testNotProjectAdministratorGets403WhenTryingToGetPermissionScheme()
public void testAdminCanAssignPermissionScheme()
public void testNonAdminGets403WhenTryingToUpdatePermissionScheme()
public void testProjectAdministratorGets403WhenTryingToUpdatePermissionScheme()
public void testUserThatDoesntHaveAccessToProjectGets404WhenTryingToViewOrAssignPermissionScheme()
public void testAnonymousGets401WhenTryingToGetOrAssignPermissionScheme()
public void testAssigningNonExistentPermissionSchemeReturns404()
Copyright © 2002-2018 Atlassian. All Rights Reserved.