public class TestWorklogWebHook extends BaseJiraFuncTest
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_SCHEME_ID |
protected static String |
TIME_FORMAT |
WebHookTester |
webHooks |
protected com.atlassian.jira.testkit.client.restclient.WorklogClient |
worklogClient |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestWorklogWebHook() |
Modifier and Type | Method and Description |
---|---|
protected com.atlassian.jira.testkit.client.restclient.Worklog |
createWorklog(IssueCreateResponse issue) |
static org.hamcrest.Matcher<WorklogJsonBean> |
isWorklog(com.atlassian.jira.testkit.client.restclient.Worklog worklog) |
void |
setUpTest() |
void |
testWorklogCreatedWebHook() |
void |
testWorklogDeletedWebHook() |
void |
testWorklogDeletedWebHooksSentWhenIssueDeleted() |
void |
testWorklogUpdatedInIssue() |
void |
testWorklogUpdatedWebHook() |
void |
testWorklogWebHookWorksWhenRegisteredWithModuleDescriptor() |
getAssertions, getBackdoor, getEnvironmentData, getTester
protected static final String TIME_FORMAT
public static final long DEFAULT_SCHEME_ID
protected com.atlassian.jira.testkit.client.restclient.WorklogClient worklogClient
public WebHookTester webHooks
public void setUpTest()
public void testWorklogCreatedWebHook() throws Exception
Exception
public void testWorklogUpdatedWebHook() throws Exception
Exception
public void testWorklogDeletedWebHook() throws Exception
Exception
public void testWorklogWebHookWorksWhenRegisteredWithModuleDescriptor() throws Exception
Exception
public void testWorklogUpdatedInIssue() throws Exception
Exception
public void testWorklogDeletedWebHooksSentWhenIssueDeleted() throws Exception
Exception
protected com.atlassian.jira.testkit.client.restclient.Worklog createWorklog(IssueCreateResponse issue)
public static org.hamcrest.Matcher<WorklogJsonBean> isWorklog(com.atlassian.jira.testkit.client.restclient.Worklog worklog)
Copyright © 2002-2018 Atlassian. All Rights Reserved.