java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHEventPayloadTest
The Class GHEventPayloadTest.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper -
Field Summary
FieldsFields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCheck run event.voidCheck suite event.voidCommit comment.voidcreate()Creates the.voiddelete()Delete.voidDeployment.voidDeployment status.voidDiscussion answered.voidDiscussion comment created.voidDiscussion created.voidDiscussion labeled.voidfork()Fork.voidInstallation event.voidInstallation event.voidInstallation repositories event.voidIssue body edited.voidIssue comment.voidIssue comment edited.voidIssue labeled.voidIssue title edited.voidIssue unlabeled.voidissues()Issues.voidLabel created.voidLabel deleted.voidLabel edited.voidMember added.voidMember added with role name defined.voidMember edited.voidMembership added.voidping()Ping.voidProjectsv 2 item archived.voidProjectsv 2 item created.voidProjectsv 2 item edited.voidProjectsv 2 item reordered.voidProjectsv 2 item restored.voidpublic_()Public.voidPull request.voidPull request edited base.voidPull request edited title.voidPull request labeled.voidPull request review.voidPull request review comment.voidPull request review comment edited.voidpush()Push.voidPush to fork.voidRelease published.voidRepository.voidRepository renamed.voidRepository ownership transferred to an organization.voidRepository ownership transferred to a user.voidstarred()Starred.voidstatus()Status.voidstatus2()Status 2.voidteam_add()TeamAdd.voidTeam created.voidTeam edited description.voidTeam edited repository permission.voidTeam edited visibility.voidWorkflow dispatch.voidWorkflow job.voidWorkflow run.voidWorkflow run other repository.voidWorkflow run pull request.Methods inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
assertThat, assertThat, assertThat, cleanupRepository, cleanupTempRepositories, fail, fail, getGitHubBuilder, getNonRecordingGitHub, getTempRepository, getTempRepository, getUser, getUser, getWireMockOptions, kohsuke, requireProxy, snapshotNotAllowed, verifyAuthenticated, wireMockSetup
-
Field Details
-
payload
The payload.
-
-
Constructor Details
-
GHEventPayloadTest
public GHEventPayloadTest()Instantiates a new GH event payload test.
-
-
Method Details
-
InstallationCreatedEvent
Installation event.- Throws:
Exception- the exception
-
InstallationDeletedEvent
Installation event.- Throws:
Exception- the exception
-
InstallationRepositoriesEvent
Installation repositories event.- Throws:
Exception- the exception
-
checkRunEvent
Check run event.- Throws:
Exception- the exception
-
checkSuiteEvent
Check suite event.- Throws:
Exception- the exception
-
commit_comment
Commit comment.- Throws:
Exception- the exception
-
create
Creates the.- Throws:
Exception- the exception
-
delete
Delete.- Throws:
Exception- the exception
-
deployment
Deployment.- Throws:
Exception- the exception
-
deployment_status
Deployment status.- Throws:
Exception- the exception
-
discussion_answered
Discussion answered.- Throws:
Exception- the exception
-
discussion_comment_created
Discussion comment created.- Throws:
Exception- the exception
-
discussion_created
Discussion created.- Throws:
Exception- the exception
-
discussion_labeled
Discussion labeled.- Throws:
Exception- the exception
-
fork
Fork.- Throws:
Exception- the exception
-
issue_body_edited
Issue body edited.- Throws:
Exception- the exception
-
issue_comment
Issue comment.- Throws:
Exception- the exception
-
issue_comment_edited
Issue comment edited.- Throws:
Exception- the exception
-
issue_labeled
Issue labeled.- Throws:
Exception- the exception
-
issue_title_edited
Issue title edited.- Throws:
Exception- the exception
-
issue_unlabeled
Issue unlabeled.- Throws:
Exception- the exception
-
issues
Issues.- Throws:
Exception- the exception
-
label_created
Label created.- Throws:
Exception- the exception
-
label_deleted
Label deleted.- Throws:
Exception- the exception
-
label_edited
Label edited.- Throws:
Exception- the exception
-
member_added
Member added.- Throws:
Exception- the exception
-
member_added_role_name
Member added with role name defined.- Throws:
Exception- the exception
-
member_edited
Member edited.- Throws:
Exception- the exception
-
membership_added
Membership added.- Throws:
Exception- the exception
-
ping
Ping.- Throws:
Exception- the exception
-
projectsv2item_archived
Projectsv 2 item archived.- Throws:
Exception- the exception
-
projectsv2item_created
Projectsv 2 item created.- Throws:
Exception- the exception
-
projectsv2item_edited
Projectsv 2 item edited.- Throws:
Exception- the exception
-
projectsv2item_reordered
Projectsv 2 item reordered.- Throws:
Exception- the exception
-
projectsv2item_restored
Projectsv 2 item restored.- Throws:
Exception- the exception
-
public_
Public.- Throws:
Exception- the exception
-
pull_request
Pull request.- Throws:
Exception- the exception
-
pull_request_edited_base
Pull request edited base.- Throws:
Exception- the exception
-
pull_request_edited_title
Pull request edited title.- Throws:
Exception- the exception
-
pull_request_labeled
Pull request labeled.- Throws:
Exception- the exception
-
pull_request_review
Pull request review.- Throws:
Exception- the exception
-
pull_request_review_comment
Pull request review comment.- Throws:
Exception- the exception
-
pull_request_review_comment_edited
Pull request review comment edited.- Throws:
Exception- the exception
-
push
Push.- Throws:
Exception- the exception
-
pushToFork
Push to fork.- Throws:
Exception- the exception
-
release_published
Release published.- Throws:
Exception- the exception
-
repository
Repository.- Throws:
Exception- the exception
-
repository_renamed
Repository renamed.- Throws:
Exception- the exception
-
repository_transferred_to_org
Repository ownership transferred to an organization.- Throws:
Exception- the exception
-
repository_transferred_to_user
Repository ownership transferred to a user.- Throws:
Exception- the exception
-
starred
Starred.- Throws:
Exception- the exception
-
status
Status.- Throws:
Exception- the exception
-
status2
Status 2.- Throws:
Exception- the exception
-
team_add
TeamAdd.- Throws:
Exception- the exception
-
team_created
Team created.- Throws:
Exception- the exception
-
team_edited_description
Team edited description.- Throws:
Exception- the exception
-
team_edited_permission
Team edited repository permission.- Throws:
Exception- the exception
-
team_edited_visibility
Team edited visibility.- Throws:
Exception- the exception
-
workflow_dispatch
Workflow dispatch.- Throws:
Exception- the exception
-
workflow_job
Workflow job.- Throws:
Exception- the exception
-
workflow_run
Workflow run.- Throws:
Exception- the exception
-
workflow_run_other_repository
Workflow run other repository.- Throws:
Exception- the exception
-
workflow_run_pull_request
Workflow run pull request.- Throws:
Exception- the exception
-