MCPcopy
hub / github.com/google/git-appraise / TestSimpleAcceptedThreadStatus

Function TestSimpleAcceptedThreadStatus

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

Source from the content-addressed store, hash-verified

170}
171
172func TestSimpleAcceptedThreadStatus(t *testing.T) {
173 resolved := true
174 simpleThread := CommentThread{
175 Comment: comment.Comment{
176 Resolved: &resolved,
177 },
178 }
179 simpleThread.updateResolvedStatus()
180 simpleThread.validateAccepted(t)
181}
182
183func TestSimpleRejectedThreadStatus(t *testing.T) {
184 resolved := false

Callers

nothing calls this directly

Calls 2

updateResolvedStatusMethod · 0.95
validateAcceptedMethod · 0.95

Tested by

no test coverage detected