public final class TestWorklogCommentSearching extends BaseJiraRestTest
Modifier and Type | Field and Description |
---|---|
protected org.joda.time.format.DateTimeFormatter |
dateTimeFormatter |
protected static long |
DEFAULT_PERMISSION_SCHEME_ID |
protected String |
defaultStartDate |
protected com.atlassian.jira.testkit.client.restclient.IssueClient |
issueClient |
protected static String |
TIME_FORMAT |
protected com.atlassian.jira.testkit.client.restclient.WorklogClient |
worklogClient |
backdoor, environmentData, initClass, initData
Constructor and Description |
---|
TestWorklogCommentSearching() |
Modifier and Type | Method and Description |
---|---|
protected String |
createDefaultIssue() |
protected com.atlassian.jira.testkit.client.restclient.Worklog |
createWorklog(String issueKey,
org.joda.time.DateTime date,
String userName,
String comment) |
protected com.atlassian.jira.testkit.client.restclient.Worklog |
createWorklog(String issueKey,
String date) |
protected com.atlassian.jira.testkit.client.restclient.Worklog |
createWorklog(String issueKey,
String date,
String userName) |
protected com.atlassian.jira.testkit.client.restclient.Worklog |
createWorklog(String issueKey,
String date,
String userName,
String comment) |
protected com.atlassian.jira.testkit.client.restclient.Worklog |
createWorklogAsUser(String issueKey,
String userName) |
protected com.atlassian.jira.testkit.client.restclient.Worklog |
createWorklogAsUserWithComment(String issueKey,
String userName,
String comment) |
protected void |
deleteWorklog(String issueKey,
com.atlassian.jira.testkit.client.restclient.Worklog worklog) |
protected com.atlassian.jira.testkit.client.restclient.SearchResult |
executeEqualWorklogDateSearch(String date) |
protected com.atlassian.jira.testkit.client.restclient.SearchResult |
executeEqualWorklogDateSearchAsUser(String date,
String user) |
protected com.atlassian.jira.testkit.client.restclient.SearchResult |
executeJqlSearch(String query) |
protected com.atlassian.jira.testkit.client.restclient.SearchResult |
executeJqlSearchAsUser(String query,
String user) |
protected String |
getDateFromString(String date) |
protected int |
getResponseCode(String jql) |
void |
setUp() |
void |
setUpTest() |
void |
testAuthorAndDateConditionSimple() |
void |
testDeleteCommentReindexesIssue() |
void |
testEmptyCommentOperator() |
void |
testEqualsOneCommentOperator() |
void |
testEqualsTwoCommentsOperator() |
void |
testNotEqualsCommentOperator() |
void |
testOrConditions() |
void |
testSearchingWorklogInDeletedIssue() |
void |
testSimpleTextSearchingComplexTextInDescriptionAndWorklog() |
void |
testSimpleTextSearchingInDescriptionAndWorklog() |
void |
testUpdateCommentReindexesIssue() |
protected void |
updateWorklog(String issueKey,
com.atlassian.jira.testkit.client.restclient.Worklog worklog) |
getEnvironmentData
protected static final String TIME_FORMAT
protected static final long DEFAULT_PERMISSION_SCHEME_ID
protected final String defaultStartDate
protected com.atlassian.jira.testkit.client.restclient.WorklogClient worklogClient
protected com.atlassian.jira.testkit.client.restclient.IssueClient issueClient
protected final org.joda.time.format.DateTimeFormatter dateTimeFormatter
public void setUp()
public void testEqualsOneCommentOperator() throws Exception
Exception
public void testNotEqualsCommentOperator() throws Exception
Exception
public void testEqualsTwoCommentsOperator() throws Exception
Exception
public void testDeleteCommentReindexesIssue()
public void testUpdateCommentReindexesIssue()
public void testSearchingWorklogInDeletedIssue() throws Exception
Exception
public void testAuthorAndDateConditionSimple() throws Exception
Exception
public void testSimpleTextSearchingInDescriptionAndWorklog() throws Exception
Exception
public void testSimpleTextSearchingComplexTextInDescriptionAndWorklog() throws Exception
Exception
public void setUpTest()
protected com.atlassian.jira.testkit.client.restclient.Worklog createWorklog(String issueKey, String date)
protected com.atlassian.jira.testkit.client.restclient.Worklog createWorklog(String issueKey, String date, String userName)
protected com.atlassian.jira.testkit.client.restclient.Worklog createWorklog(String issueKey, String date, String userName, String comment)
protected com.atlassian.jira.testkit.client.restclient.Worklog createWorklogAsUser(String issueKey, String userName)
protected com.atlassian.jira.testkit.client.restclient.Worklog createWorklogAsUserWithComment(String issueKey, String userName, String comment)
protected com.atlassian.jira.testkit.client.restclient.Worklog createWorklog(String issueKey, org.joda.time.DateTime date, String userName, String comment)
protected void deleteWorklog(String issueKey, com.atlassian.jira.testkit.client.restclient.Worklog worklog)
protected void updateWorklog(String issueKey, com.atlassian.jira.testkit.client.restclient.Worklog worklog)
protected String createDefaultIssue()
protected com.atlassian.jira.testkit.client.restclient.SearchResult executeEqualWorklogDateSearch(String date)
protected com.atlassian.jira.testkit.client.restclient.SearchResult executeEqualWorklogDateSearchAsUser(String date, String user)
protected com.atlassian.jira.testkit.client.restclient.SearchResult executeJqlSearch(String query)
protected com.atlassian.jira.testkit.client.restclient.SearchResult executeJqlSearchAsUser(String query, String user)
Copyright © 2002-2019 Atlassian. All Rights Reserved.