MCPcopy Index your code
hub / github.com/syncthing/syncthing / checkedStop

Function checkedStop

test/util.go:520–524  ·  view source on GitHub ↗
(t *testing.T, p *rc.Process)

Source from the content-addressed store, hash-verified

518}
519
520func checkedStop(t *testing.T, p *rc.Process) {
521 if _, err := p.Stop(); err != nil {
522 t.Fatal(err)
523 }
524}
525
526func startInstance(t *testing.T, i int) *rc.Process {
527 log.Printf("Starting instance %d...", i)

Callers 15

testSymlinksFunction · 0.85
TestRescanWithDelayFunction · 0.85
testFileTypeChangeFunction · 0.85
benchmarkTransferFunction · 0.85
TestScanSubdirFunction · 0.85
TestResetFunction · 0.85
TestConflictsDefaultFunction · 0.85
TestConflictsIndexResetFunction · 0.85
TestConflictsSameContentFunction · 0.85
TestManyPeersFunction · 0.85

Calls 2

FatalMethod · 0.80
StopMethod · 0.45

Tested by 15

testSymlinksFunction · 0.68
TestRescanWithDelayFunction · 0.68
testFileTypeChangeFunction · 0.68
benchmarkTransferFunction · 0.68
TestScanSubdirFunction · 0.68
TestResetFunction · 0.68
TestConflictsDefaultFunction · 0.68
TestConflictsIndexResetFunction · 0.68
TestConflictsSameContentFunction · 0.68
TestManyPeersFunction · 0.68