public class TestFilterResource extends BaseJiraRestTest
backdoor, environmentData, initClass, initData
Constructor and Description |
---|
TestFilterResource() |
getEnvironmentData
public void setUpTest()
public void testAnonymous()
public void bobCanAccessFilterSharedWithHimOwnedByAdmin()
public void fredCanNotAccessFilterSharedWithBobOwnedByAdmin()
public void adminCanEditFilterCreatedByHimSharedWithBob()
public void adminCanEditFilterCreatedByHimWhichIsPrivate()
public void bobCanEditFilterCreatedByAdminAndSharedWithHimWithEditRights()
public void fredCanEditFilterCreatedByAdminAndSharedWithGroupWithEditRights()
public void bobCannotEditFilterCreatedByAdmin()
public void inactiveUserCanBeAddedAsEditor()
public void bobCanEditHisFilterByChangingJQL()
public void bobCanEditFilterByChangingJQLCreatedByAdminAndSharedWithHimWithEditRights()
public void bobCannotChangeOwnerOfHisOwnFilter()
public void bobCannotChangeOwnerOfAdminsFilterSharedWithHimWithEditRights()
public void adminCanModifyOwnerOfPrivateFilterOfAnActiveUser()
public void adminCanModifyOwnerOfPrivateFilterOfAnInactiveUser()
public void adminCanModifyOwnerOfPrivateFilterOfAnAnonymisedUser()
public void adminCantModifyPrivateFilterOfAnotherUserWithFfDisabled()
public void adminCanModifyPrivateFilterOfAnotherUser()
public void testGetFavouriteFilters()
public void testCreateBasicFavoriteFilterWorks()
public void testCreateNotFavoriteFilterWorks()
public void testCreateFilterWithBadJqlReturns400()
public void testCreateFilterWithBadJql2Returns400()
public void testCreateFilterWithEmptyJqlWorks()
public void testCreateFilterWithEmptNameReturns400()
public void testCreateFilterWithEmptyNameAndBadJqlReturns400With2Errors()
public void testCreateFilterWithTooLongNameReturns400()
public void testCreateFilterWithExistingNameReturns400()
public void testCreateFilterChecksQueryValidation()
public void testCreateFilterForAnonymousAndBadJqlReturns401()
public void testCreateFilterChecksUserPermissions()
public void testAdminCannotCreateFilterOwnedByAnotherUser()
public void testBobCannotCreateFilterOwnedByAnotherUser()
public void testCopyFilter()
public void testUpdateFilter()
public void testSharePermissions()
public void testGlobalUsageInEditContextThrowsAnError()
public void testGlobalUsageInViewContextIsOK()
public void testAuthenticatedUsageInEditContextThrowsAnError()
public void testLoggedInlUsageInViewContextIsOK()
public void testGroupUsageInEditContextIsOK()
public void testGroupUsageInViewContextIsOK()
public void testProjectUsageInEditContextIsOK()
public void testProjectUsageInViewContextIsOK()
public void testUserUsageInEditContextIsOK()
public void testUserUsageInViewContextThrowsError()
public void testFilterSubscriptions()
public void testSharedUsersWithGroup()
public void testSharedUsersGlobal()
public void testSharedUsersWithRole()
public void testSharedUsersWithProject()
public void testSharedUsersWithUser()
public void testSharedUsersHaveSizeOnlyWhenExpanded()
public void testGetAndSetColumns()
public void testDefaultShareScope()
public static org.hamcrest.Matcher<com.atlassian.jira.testkit.client.restclient.Filter.FilterPermission> matchesFilterPermission(com.atlassian.jira.testkit.client.restclient.Filter.FilterPermission expected)
Copyright © 2002-2024 Atlassian. All Rights Reserved.