| 5385 | } |
| 5386 | |
| 5387 | type fakeNetworkRuntime struct { |
| 5388 | mu sync.Mutex |
| 5389 | status *network.Status |
| 5390 | statusErr error |
| 5391 | sendID string |
| 5392 | sendErr error |
| 5393 | sendCalls []network.SendRequest |
| 5394 | runtimeSendCalls []network.RuntimeSendRequest |
| 5395 | joinCalls []fakeNetworkJoinCall |
| 5396 | leaveCalls []string |
| 5397 | turnEnds []string |
| 5398 | inboxes map[string][]network.Envelope |
| 5399 | shutdownErr error |
| 5400 | onShutdown func() |
| 5401 | } |
| 5402 | |
| 5403 | type fakeNetworkJoinCall struct { |
| 5404 | sessionID string |
nothing calls this directly
no outgoing calls
no test coverage detected