(t *testing.T, s Server)
| 105 | } |
| 106 | |
| 107 | func TestLiveRecordingPause(t *testing.T, s Server) { |
| 108 | key := ari.NewKey(ari.LiveRecordingKey, "lr1") |
| 109 | |
| 110 | runTest("ok", t, s, func(t *testing.T, m *mock, cl ari.Client) { |
| 111 | testLiveRecordingCommand(t, m, "Pause", key, nil, cl.LiveRecording().Pause) |
| 112 | }) |
| 113 | runTest("err", t, s, func(t *testing.T, m *mock, cl ari.Client) { |
| 114 | testLiveRecordingCommand(t, m, "Pause", key, errors.New("err"), cl.LiveRecording().Pause) |
| 115 | }) |
| 116 | } |
| 117 | |
| 118 | func TestLiveRecordingStop(t *testing.T, s Server) { |
| 119 | key := ari.NewKey(ari.LiveRecordingKey, "lr1") |
no test coverage detected