All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type |
Method and Description |
protected static java.util.stream.Stream<Long> |
filterOutColdCacheMeasures(List<Long> value) |
protected static long |
getAverage(List<Long> values) |
protected Long |
getCfIdAsLong(String cfIdAsString) |
protected static long |
getMax(List<Long> values) |
protected static long |
getMedian(List<Long> values) |
protected static long |
getMin(List<Long> values) |
protected abstract ProjectPermissionKey |
getPermission() |
protected abstract TestOptimisedUserSearch.UserSearchResults |
getUserSearchResults() |
protected abstract TestOptimisedUserSearch.UserSearchResults |
getUserSearchResults(String query) |
protected abstract boolean |
issueAlreadyExists() |
protected static String |
ldapUser(String username) |
protected void |
multiplePermissionsCorrectOrderingAssertion(String admin,
String userAndrzej,
String userAnkit,
String userAntoni,
String userDaria,
String userJakub,
String userKamil,
String userKarol,
String userMaciej,
String userSzymonG,
String userSzymonK) |
static void |
printResults() |
protected void |
searchPerformanceAfterAssigneeIsAnonymizedAssertion() |
protected void |
searchPerformanceAfterReporterIsAnonymizedAssertion() |
protected void |
searchPerformanceWhenIssueIsUnassignedAssertion() |
protected void |
searchPerformanceWhenReporterIsNotSetAssertion() |
protected abstract void |
searchPerformanceWithManyResultsAssertion(List<String> firstNJiraUsers,
int expectedMentionsCount) |
protected void |
setAssignee(String issueKey,
String username) |
protected void |
setCustomFieldValue(String issueKey,
String customFieldType,
String customFieldId,
String... values) |
protected void |
setReporter(String issueKey,
String username) |
void |
setUp() |
void |
tearDown() |
void |
testAnonymizedUserDoesNotAppearInSearch() |
void |
testDeletedUserDoesNotAppearInSearch() |
void |
testInactiveUserDoesNotAppearInSearch() |
void |
testMultiplePermissionsCorrectOrdering() |
void |
testSearchCorrectnessCaseSensitiveOrder() |
void |
testSearchCorrectnessCaseSensitiveOrderUserAndGroupPermissions() |
void |
testSearchCorrectnessCaseSensitiveOrderWithLimitedQueriesUserAndGroupPermissions() |
void |
testSearchCorrectnessCaseSensitiveOrderWithLimitedQueriesUserPermissions()
We return values ordered case sensitive, but we limit them beforehand case insensitive o_O.
|
void |
testSearchCorrectnessDifferentFields() |
void |
testSearchCorrectnessDifferentPartOfDisplayName() |
protected void |
testSearchPerformance(TestOptimisedUserSearch.TestType testType,
org.hamcrest.Matcher expectedUsers) |
void |
testSearchPerformanceAfterAssigneeIsAnonymized() |
void |
testSearchPerformanceAfterReporterIsAnonymized() |
void |
testSearchPerformanceAfterUserInCustomFieldIsAnonymized() |
void |
testSearchPerformanceForUserWithNoApplicationAccess() |
void |
testSearchPerformanceWhenGroupPickerCustomFieldHasNoValue() |
void |
testSearchPerformanceWhenIssueIsUnassigned() |
void |
testSearchPerformanceWhenReporterIsNotSet() |
void |
testSearchPerformanceWhenUserPickerCustomFieldHasNoValue() |
void |
testSearchPerformanceWithApplicationRole() |
void |
testSearchPerformanceWithApplicationRoleAnyLoggedInUser() |
void |
testSearchPerformanceWithFiveExplicitUsersAndEveryone() |
void |
testSearchPerformanceWithGroup() |
void |
testSearchPerformanceWithGroupAny() |
void |
testSearchPerformanceWithGroupPickerCustomField() |
void |
testSearchPerformanceWithGroupThatHasManyGroups() |
void |
testSearchPerformanceWithGroupThatHasSixNestedGroups() |
void |
testSearchPerformanceWithManyBigGroups() |
void |
testSearchPerformanceWithManyResults() |
void |
testSearchPerformanceWithManyUserPermissions()
The following two tests are very slow, hence we don't run them automatically.
|
void |
testSearchPerformanceWithManyUserPermissionsWithPrefix() |
void |
testSearchPerformanceWithMultiGroupPickerCustomFieldId() |
void |
testSearchPerformanceWithMultiSelectCustomField() |
void |
testSearchPerformanceWithMultiSelectCustomFieldHavingSelectedOptionsThatAreNotAGroup() |
void |
testSearchPerformanceWithMultiUserPickerCustomField() |
void |
testSearchPerformanceWithProjectLeadUser() |
void |
testSearchPerformanceWithProjectLeadUserButNoPermissions() |
void |
testSearchPerformanceWithProjectRoleGroup() |
void |
testSearchPerformanceWithProjectRoleUsers() |
void |
testSearchPerformanceWithSelectCustomField() |
void |
testSearchPerformanceWithThreeLetterQuery() |
void |
testSearchPerformanceWithThreeLetterQueryButAllJiraUsersAllowed()
This test shows the greatest regression of the new mentions mechanism.
|
void |
testSearchPerformanceWithUserPickerCustomField() |
void |
testSearchPerformanceWithUsers() |
void |
testUsersFromDeletedGroupDoesNotAppearInSearch() |