public class TestComponentResource extends BaseJiraFuncTest
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_DESCRIPTION |
static String |
COMPONENT_ID |
static String |
COMPONENT_NAME |
static String |
EMPTY_STRING |
static String |
NEW_COMPONENT_1 |
static String |
NEW_COMPONENT_2 |
static String |
NEW_COMPONENT_3 |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestComponentResource() |
Modifier and Type | Method and Description |
---|---|
void |
setUpTest() |
void |
testCreateComponent() |
void |
testCreateComponentErrors() |
void |
testCreateComponentWithAnonymousUser() |
void |
testCreateComponentWithBadProject() |
void |
testCreateComponentWithDuplicateName() |
void |
testCreateComponentWithInvalidUsername() |
void |
testCreateComponentWithoutName() |
void |
testCreateComponentWithoutPermissions() |
void |
testCreateComponentWithoutPermissionsToConfigureProject() |
void |
testDeleteComponent() |
void |
testEditComponent() |
void |
testEditComponentErrors() |
void |
testGetComponentIssueCounts() |
void |
testGetFilteredComponents() |
void |
testGetVersionIssueCountsNotFound() |
void |
testViewComponent() |
void |
testViewComponentNotFound() |
getAssertions, getBackdoor, getEnvironmentData, getTester
public static final String EMPTY_STRING
public static final String NEW_COMPONENT_3
public static final String NEW_COMPONENT_1
public static final String NEW_COMPONENT_2
public static final String COMPONENT_NAME
public static final String COMPONENT_DESCRIPTION
public static final String COMPONENT_ID
public void setUpTest()
public void testViewComponentNotFound() throws Exception
Exception
public void testCreateComponent()
public void testCreateComponentErrors() throws Exception
Exception
public void testCreateComponentWithBadProject()
public void testCreateComponentWithoutName()
public void testCreateComponentWithDuplicateName()
public void testCreateComponentWithInvalidUsername()
public void testCreateComponentWithoutPermissions()
public void testCreateComponentWithAnonymousUser()
public void testCreateComponentWithoutPermissionsToConfigureProject()
public void testGetComponentIssueCounts() throws Exception
Exception
public void testGetVersionIssueCountsNotFound() throws Exception
Exception
public void testGetFilteredComponents()
Copyright © 2002-2024 Atlassian. All Rights Reserved.