MCPcopy
hub / github.com/syncthing/syncthing / TestIssue3829

Function TestIssue3829

lib/model/model_test.go:2323–2332  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2321}
2322
2323func TestIssue3829(t *testing.T) {
2324 m := setupModel(t, defaultCfgWrapper)
2325 defer cleanupModel(m)
2326
2327 // Empty subdirs should be accepted
2328
2329 if err := m.ScanFolderSubdirs("default", []string{""}); err != nil {
2330 t.Error("Unexpected error:", err)
2331 }
2332}
2333
2334// TestIssue4573 tests that contents of an unavailable dir aren't marked deleted
2335func TestIssue4573(t *testing.T) {

Callers

nothing calls this directly

Calls 4

setupModelFunction · 0.85
cleanupModelFunction · 0.85
ScanFolderSubdirsMethod · 0.65
ErrorMethod · 0.65

Tested by

no test coverage detected