(hasPermission bool, hasTrack bool, pubIdentity livekit.ParticipantIdentity, pubID livekit.ParticipantID)
| 564 | } |
| 565 | |
| 566 | func newTestResolver(hasPermission bool, hasTrack bool, pubIdentity livekit.ParticipantIdentity, pubID livekit.ParticipantID) *testResolver { |
| 567 | return &testResolver{ |
| 568 | hasPermission: hasPermission, |
| 569 | hasTrack: hasTrack, |
| 570 | pubIdentity: pubIdentity, |
| 571 | pubID: pubID, |
| 572 | } |
| 573 | } |
| 574 | |
| 575 | func (t *testResolver) SetPause(paused bool) { |
| 576 | t.lock.Lock() |
no outgoing calls
no test coverage detected