WebHookTester
instead@Deprecated public abstract class AbstractWebHookTest extends BaseJiraFuncTest
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractWebHookTest.WebHookResponseSupplier
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractWebHookTest.WebHookResponseSupplier |
receivedByPersistentListener
Deprecated.
|
protected HttpResponseTester |
responseTester
Deprecated.
|
protected VersionControl |
versionControl
Deprecated.
|
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
AbstractWebHookTest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addToCleaunpList(HttpResponseTester tester)
Deprecated.
|
protected org.json.JSONObject |
getUrlParametersOfReceivedWebHook(String webhookPath)
Deprecated.
This method returns a map of URL paramters supplied to the webhook listener.
|
protected WebHookResponseData |
getWebHookResponse()
Deprecated.
|
protected WebHookResponseData |
getWebHookResponseFromReferencePlugin(String webHookId)
Deprecated.
|
protected String |
getWebHookResponseFromTestServlet(String webhookId)
Deprecated.
|
protected com.google.common.base.Supplier<String> |
receivedByModuleDescriptorListener(String webhookPath)
Deprecated.
|
protected void |
registerWebHook(String webHook)
Deprecated.
|
protected void |
setUpTest()
Deprecated.
|
void |
stopHttpResponseTester()
Deprecated.
|
getAssertions, getBackdoor, getEnvironmentData, getTester
protected HttpResponseTester responseTester
protected VersionControl versionControl
protected final AbstractWebHookTest.WebHookResponseSupplier receivedByPersistentListener
protected final com.google.common.base.Supplier<String> receivedByModuleDescriptorListener(String webhookPath)
protected void setUpTest()
protected WebHookResponseData getWebHookResponse()
protected String getWebHookResponseFromTestServlet(String webhookId)
protected WebHookResponseData getWebHookResponseFromReferencePlugin(String webHookId)
protected org.json.JSONObject getUrlParametersOfReceivedWebHook(String webhookPath) throws org.json.JSONException
It returns a JSON instead of a map so that we can leverage powerful Matchers.
org.json.JSONException
public void addToCleaunpList(HttpResponseTester tester)
public void stopHttpResponseTester()
protected void registerWebHook(String webHook)
Copyright © 2002-2024 Atlassian. All Rights Reserved.