(t testing.TB, w config.Wrapper, fcfg config.FolderConfiguration)
| 324 | } |
| 325 | |
| 326 | func setFolder(t testing.TB, w config.Wrapper, fcfg config.FolderConfiguration) { |
| 327 | t.Helper() |
| 328 | waiter, err := w.Modify(func(cfg *config.Configuration) { |
| 329 | cfg.SetFolder(fcfg) |
| 330 | }) |
| 331 | if err != nil { |
| 332 | t.Fatal(err) |
| 333 | } |
| 334 | waiter.Wait() |
| 335 | } |
| 336 | |
| 337 | func pauseDevice(t testing.TB, w config.Wrapper, id protocol.DeviceID, paused bool) { |
| 338 | t.Helper() |
no test coverage detected