MCPcopy
hub / github.com/syncthing/syncthing / newTestModel

Function newTestModel

lib/protocol/common_test.go:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func newTestModel() *TestModel {
28 return &TestModel{
29 closedCh: make(chan struct{}),
30 }
31}
32
33func (t *TestModel) Index(_ Connection, idx *Index) error {
34 if t.indexFn != nil {

Callers 11

TestPingFunction · 0.85
TestCloseFunction · 0.85
TestCloseOnBlockingSendFunction · 0.85
TestCloseRaceFunction · 0.85
TestClusterConfigFirstFunction · 0.85
TestCloseTimeoutFunction · 0.85
TestRequestMaxSizeFunction · 0.85
TestRequestZeroSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected