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

Function TestRejectedThenRejectedThreadStatus

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

Source from the content-addressed store, hash-verified

345}
346
347func TestRejectedThenRejectedThreadStatus(t *testing.T) {
348 rejected := false
349 sampleThread := CommentThread{
350 Comment: comment.Comment{
351 Resolved: &rejected,
352 },
353 Children: []CommentThread{
354 CommentThread{
355 Comment: comment.Comment{
356 Timestamp: "012345",
357 Resolved: &rejected,
358 },
359 },
360 },
361 }
362 sampleThread.updateResolvedStatus()
363 sampleThread.validateRejected(t)
364}
365
366func TestRejectedThenAcceptedThreadsStatus(t *testing.T) {
367 accepted := true

Callers

nothing calls this directly

Calls 2

updateResolvedStatusMethod · 0.95
validateRejectedMethod · 0.95

Tested by

no test coverage detected