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 |
testWorklogWebHooksWithJQL() |
void |
testWorklogWebHookWorksWhenRegisteredWithModuleDescriptor() |
getAssertions, getBackdoor, getEnvironmentData, getTesterprotected 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 testWorklogWebHooksWithJQL()
throws Exception
Exceptionpublic void testWorklogCreatedWebHook()
throws Exception
Exceptionpublic void testWorklogUpdatedWebHook()
throws Exception
Exceptionpublic void testWorklogDeletedWebHook()
throws Exception
Exceptionpublic void testWorklogWebHookWorksWhenRegisteredWithModuleDescriptor()
throws Exception
Exceptionpublic void testWorklogUpdatedInIssue()
throws Exception
Exceptionpublic void testWorklogDeletedWebHooksSentWhenIssueDeleted()
throws Exception
Exceptionprotected 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-2022 Atlassian. All Rights Reserved.