From dcf2f1dfdf698e44eef793d7f3683e2e4754a160 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Mon, 24 Dec 2018 23:59:14 +0900 Subject: [PATCH] Create template of testcase for WebHook models JSON serialization --- .../core/service/WebHookJsonFormatSpec.scala | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/test/scala/gitbucket/core/service/WebHookJsonFormatSpec.scala diff --git a/src/test/scala/gitbucket/core/service/WebHookJsonFormatSpec.scala b/src/test/scala/gitbucket/core/service/WebHookJsonFormatSpec.scala new file mode 100644 index 000000000..6f7327918 --- /dev/null +++ b/src/test/scala/gitbucket/core/service/WebHookJsonFormatSpec.scala @@ -0,0 +1,38 @@ +package gitbucket.core.service + +import org.json4s.jackson.JsonMethods.parse +import org.json4s._ +import org.scalatest.FunSuite + +class WebHookJsonFormatSpec extends FunSuite { + import gitbucket.core.api.ApiSpecModels._ + + test("WebHookCreatePayload"){ + fail("TODO") + } + + test("WebHookPushPayload"){ + fail("TODO") + } + + test("WebHookIssuesPayload"){ + fail("TODO") + } + + test("WebHookPullRequestPayload"){ + fail("TODO") + } + + test("WebHookIssueCommentPayload"){ + fail("TODO") + } + + test("WebHookPullRequestReviewCommentPayload"){ + fail("TODO") + } + + test("WebHookGollumPayload"){ + fail("TODO") + } + +}