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, 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) |
forTest, forTest
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 testGreaterThenOrEqualsOperator()
public void testLessThenOperator()
public void testLessThenOrEquals()
public void testWhetherConditionsAreSatisfiedForSingleWorklog() throws Exception
Exception
public void testWorklogServedAsString() throws Exception
Exception
public void testDuplicatedRelationalOperators() throws Exception
Exception
public void testWhenTimeTrackingIsOff() throws Exception
Exception
public void testWhetherPermissionsToProjectAreRespected() throws Exception
Exception
public void testWhetherPermissionsToVisibleForGroupAreRespected() throws Exception
Exception
public void testWhetherPermissionsToVisibleForRoleAreRespected() throws Exception
Exception
public void testSearchingCreatedWorklog() throws Exception
Exception
public void testSearchingEditedWorklog() throws Exception
Exception
public void testSearchingDeletedWorklog() throws Exception
Exception
public void testSearchingWorklogInDeletedIssue() throws Exception
Exception
public 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-2015 Atlassian. All Rights Reserved.