(defaultCfg config.DeviceConfiguration, id protocol.DeviceID, name string)
| 294 | } |
| 295 | |
| 296 | func newDeviceConfiguration(defaultCfg config.DeviceConfiguration, id protocol.DeviceID, name string) config.DeviceConfiguration { |
| 297 | cfg := defaultCfg.Copy() |
| 298 | cfg.DeviceID = id |
| 299 | cfg.Name = name |
| 300 | return cfg |
| 301 | } |
| 302 | |
| 303 | func replace(t testing.TB, w config.Wrapper, to config.Configuration) { |
| 304 | t.Helper() |
no test coverage detected