Lines Matching refs:crash
16 // - upload crash -> need repro
19 func testNeedRepro1(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {
31 // Still need repro for this crash.
37 crash2 := new(dashapi.Crash)
61 // Upload C repro with first crash -> don't need repro.
62 func testNeedRepro2(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {
83 func testNeedRepro3(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {
122 func testNeedRepro4(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {
157 func normalCrash(c *Ctx) *dashapi.Crash {
163 func dupCrash(c *Ctx) *dashapi.Crash {
174 func closedCrash(c *Ctx) *dashapi.Crash {
178 func closedWithReproCrash(c *Ctx) *dashapi.Crash {
182 func closedCrashImpl(c *Ctx, withRepro bool) *dashapi.Crash {
186 crash := testCrash(build, 1)
188 crash.ReproC = []byte("repro C")
190 resp, _ := c.client.ReportCrash(crash)
196 crash.ReproC = nil
197 return crash