public class TestProjectTypeResource extends BaseJiraRestTest
Modifier and Type | Field and Description |
---|---|
static String |
BUSINESS |
backdoor, environmentData, initClass, initData
Constructor and Description |
---|
TestProjectTypeResource() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testGetAccessibleProjectTypeReturns401IfTheUserIsNotLoggedIn() |
void |
testGetAccessibleProjectTypeReturns404IfTheUserIsLoggedInAndDoesNotHaveAccessToIt() |
void |
testGetAccessibleProjectTypeReturnsTheTypeIfTheUserIsLoggedInAndHasAccessToIt() |
void |
testGetAllProjectTypesReturnsAllTheExistingProjectTypes() |
void |
testGetProjectTypeByKeyReturns404WhenItDoesNotExist() |
void |
testGetProjectTypeByKeyReturnsTheExpectedTypeWhenItExists() |
getEnvironmentData
public static final String BUSINESS
public void setUp()
public void testGetAllProjectTypesReturnsAllTheExistingProjectTypes() throws Exception
Exception
public void testGetProjectTypeByKeyReturnsTheExpectedTypeWhenItExists() throws Exception
Exception
public void testGetProjectTypeByKeyReturns404WhenItDoesNotExist() throws Exception
Exception
public void testGetAccessibleProjectTypeReturnsTheTypeIfTheUserIsLoggedInAndHasAccessToIt() throws Exception
Exception
public void testGetAccessibleProjectTypeReturns404IfTheUserIsLoggedInAndDoesNotHaveAccessToIt() throws Exception
Exception
Copyright © 2002-2019 Atlassian. All Rights Reserved.