MCPcopy Index your code
hub / github.com/google/git-appraise / TestRejectedThenAcceptedThreadStatus

Function TestRejectedThenAcceptedThreadStatus

review/review_test.go:308–326  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

306}
307
308func TestRejectedThenAcceptedThreadStatus(t *testing.T) {
309 accepted := true
310 rejected := false
311 sampleThread := CommentThread{
312 Comment: comment.Comment{
313 Resolved: &rejected,
314 },
315 Children: []CommentThread{
316 CommentThread{
317 Comment: comment.Comment{
318 Timestamp: "012345",
319 Resolved: &accepted,
320 },
321 },
322 },
323 }
324 sampleThread.updateResolvedStatus()
325 sampleThread.validateUnresolved(t)
326}
327
328func TestRejectedThenFYIThreadStatus(t *testing.T) {
329 rejected := false

Callers

nothing calls this directly

Calls 2

updateResolvedStatusMethod · 0.95
validateUnresolvedMethod · 0.95

Tested by

no test coverage detected