public class TestWorklogDateSearching 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 |
|---|
TestWorklogDateSearching() |
| 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 |
testComplexQuery() |
void |
testDuplicatedRelationalOperators() |
void |
testEqualOperators() |
void |
testGreaterThanOperator() |
void |
testGreaterThenOrEqualsOperator() |
void |
testIssueContainsMultipleWorklogs() |
void |
testLessThenOperator() |
void |
testLessThenOrEquals() |
void |
testSearchingCreatedWorklog() |
void |
testSearchingDeletedWorklog() |
void |
testSearchingEditedWorklog() |
void |
testSearchingWorklogInDeletedIssue() |
void |
testWhenTimeTrackingIsOff() |
void |
testWhetherConditionsAreSatisfiedForSingleWorklog() |
void |
testWhetherPermissionsToProjectAreRespected() |
void |
testWhetherPermissionsToVisibleForGroupAreRespected() |
void |
testWhetherPermissionsToVisibleForRoleAreRespected() |
void |
testWorklogServedAsJql() |
void |
testWorklogServedAsString() |
protected void |
updateWorklog(String issueKey,
com.atlassian.jira.testkit.client.restclient.Worklog worklog) |
getEnvironmentDataprotected 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 testGreaterThenOrEqualsOperator()
public void testLessThenOperator()
public void testLessThenOrEquals()
public void testWhetherConditionsAreSatisfiedForSingleWorklog()
throws Exception
Exceptionpublic void testWorklogServedAsString()
throws Exception
Exceptionpublic void testDuplicatedRelationalOperators()
throws Exception
Exceptionpublic void testWhenTimeTrackingIsOff()
throws Exception
Exceptionpublic void testWhetherPermissionsToProjectAreRespected()
throws Exception
Exceptionpublic void testWhetherPermissionsToVisibleForGroupAreRespected()
throws Exception
Exceptionpublic void testWhetherPermissionsToVisibleForRoleAreRespected()
throws Exception
Exceptionpublic void testSearchingCreatedWorklog()
throws Exception
Exceptionpublic void testSearchingEditedWorklog()
throws Exception
Exceptionpublic void testSearchingDeletedWorklog()
throws Exception
Exceptionpublic void testSearchingWorklogInDeletedIssue()
throws Exception
Exceptionpublic void testIssueContainsMultipleWorklogs()
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.