Lines Matching refs:ID
39 if rep.ID == "" {
42 _, dbCrash, dbBuild := c.loadBug(rep.ID)
46 ID: rep.ID,
82 _, dbCrash, _ = c.loadBug(rep.ID)
91 ID: rep.ID,
101 c.client.updateBug(rep.ID, dashapi.BugStatusUpstream, "")
104 reply, _ = c.client.ReportingUpdate(&dashapi.BugUpdate{ID: rep.ID, Status: dashapi.BugStatusOpen})
115 if rep2.ID == "" || rep2.ID == rep.ID {
116 t.Fatalf("bad report ID: %q", rep2.ID)
118 want.ID = rep2.ID
126 ID: rep2.ID,
146 ID: rep.ID,
153 closed, _ := c.client.ReportingPollClosed([]string{rep.ID, "foobar"})
158 c.client.updateBug(rep.ID, dashapi.BugStatusInvalid, "")
161 closed, _ := c.client.ReportingPollClosed([]string{rep.ID, "foobar"})
163 c.expectEQ(closed[0], rep.ID)
181 if rep.ID == "" {
184 _, dbCrash, dbBuild := c.loadBug(rep.ID)
188 ID: rep.ID,
253 c.client.updateBug(rep2.ID, dashapi.BugStatusDup, rep1.ID)
256 closed, _ := c.client.ReportingPollClosed([]string{rep1.ID, rep2.ID})
261 c.client.updateBug(rep2.ID, dashapi.BugStatusOpen, "")
264 c.client.updateBug(rep2.ID, dashapi.BugStatusDup, rep1.ID)
271 c.client.updateBug(rep1.ID, dashapi.BugStatusInvalid, "")
274 closed, _ := c.client.ReportingPollClosed([]string{rep1.ID, rep2.ID})
276 c.expectEQ(closed[0], rep1.ID)
277 c.expectEQ(closed[1], rep2.ID)
287 ID: rep2.ID,
309 c.client.updateBug(reports[0].ID, dashapi.BugStatusInvalid, "")
310 c.client.updateBug(reports[1].ID, dashapi.BugStatusDup, reports[0].ID)
336 c.client.updateBug(rep2.ID, dashapi.BugStatusUpstream, "")
340 closed, _ := c.client.ReportingPollClosed([]string{rep1.ID, rep2.ID, rep3.ID})
342 c.expectEQ(closed[0], rep2.ID)
347 {ID: rep1.ID, DupOf: rep1.ID},
348 {ID: rep1.ID, DupOf: rep2.ID},
349 {ID: rep1.ID, DupOf: rep3.ID},
350 {ID: rep2.ID, DupOf: rep1.ID},
351 {ID: rep2.ID, DupOf: rep2.ID},
352 {ID: rep2.ID, DupOf: rep3.ID},
353 {ID: rep3.ID, DupOf: rep1.ID},
354 {ID: rep3.ID, DupOf: rep2.ID},
355 {ID: rep3.ID, DupOf: rep3.ID},
358 t.Logf("duping %v -> %v", cmd.ID, cmd.DupOf)
389 c.client.updateBug(rep1.ID, dashapi.BugStatusUpstream, "")