mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 14:05:52 +01:00
Create template of testcase for WebHook models JSON serialization
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user