integration

package
v2.5.3+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package integration contains integration tests for server to client communications

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestApplicationData

func TestApplicationData(t *testing.T, s Server)

func TestApplicationGet

func TestApplicationGet(t *testing.T, s Server)

func TestApplicationList

func TestApplicationList(t *testing.T, s Server)

func TestApplicationSubscribe

func TestApplicationSubscribe(t *testing.T, s Server)

func TestApplicationUnsubscribe

func TestApplicationUnsubscribe(t *testing.T, s Server)

func TestAsteriskInfo

func TestAsteriskInfo(t *testing.T, s Server)

func TestAsteriskVariablesGet

func TestAsteriskVariablesGet(t *testing.T, s Server)

func TestAsteriskVariablesSet

func TestAsteriskVariablesSet(t *testing.T, s Server)

func TestBridgeAddChannel

func TestBridgeAddChannel(t *testing.T, s Server)

func TestBridgeCreate

func TestBridgeCreate(t *testing.T, s Server)

func TestBridgeData

func TestBridgeData(t *testing.T, s Server)

func TestBridgeDelete

func TestBridgeDelete(t *testing.T, s Server)

func TestBridgeList

func TestBridgeList(t *testing.T, s Server)

func TestBridgePlay

func TestBridgePlay(t *testing.T, s Server)

func TestBridgeRecord

func TestBridgeRecord(t *testing.T, s Server)

func TestBridgeRemoveChannel

func TestBridgeRemoveChannel(t *testing.T, s Server)

func TestChannelAnswer

func TestChannelAnswer(t *testing.T, s Server)

func TestChannelBusy

func TestChannelBusy(t *testing.T, s Server)

func TestChannelCongestion

func TestChannelCongestion(t *testing.T, s Server)

func TestChannelContinue

func TestChannelContinue(t *testing.T, s Server)

func TestChannelCreate

func TestChannelCreate(t *testing.T, s Server)

func TestChannelData

func TestChannelData(t *testing.T, s Server)

func TestChannelDial

func TestChannelDial(t *testing.T, s Server)

func TestChannelHangup

func TestChannelHangup(t *testing.T, s Server)

func TestChannelHold

func TestChannelHold(t *testing.T, s Server)

func TestChannelList

func TestChannelList(t *testing.T, s Server)

func TestChannelMOH

func TestChannelMOH(t *testing.T, s Server)

func TestChannelMute

func TestChannelMute(t *testing.T, s Server)

func TestChannelOriginate

func TestChannelOriginate(t *testing.T, s Server)

func TestChannelPlay

func TestChannelPlay(t *testing.T, s Server)

func TestChannelRecord

func TestChannelRecord(t *testing.T, s Server)

func TestChannelRing

func TestChannelRing(t *testing.T, s Server)

func TestChannelSendDTMF

func TestChannelSendDTMF(t *testing.T, s Server)

func TestChannelSilence

func TestChannelSilence(t *testing.T, s Server)

func TestChannelSnoop

func TestChannelSnoop(t *testing.T, s Server)

func TestChannelStopHold

func TestChannelStopHold(t *testing.T, s Server)

func TestChannelStopMOH

func TestChannelStopMOH(t *testing.T, s Server)

func TestChannelStopRing

func TestChannelStopRing(t *testing.T, s Server)

func TestChannelStopSilence

func TestChannelStopSilence(t *testing.T, s Server)

func TestChannelUnmute

func TestChannelUnmute(t *testing.T, s Server)

func TestChannelVariableGet

func TestChannelVariableGet(t *testing.T, s Server)

func TestChannelVariableSet

func TestChannelVariableSet(t *testing.T, s Server)

func TestConfigData

func TestConfigData(t *testing.T, s Server)

func TestConfigDelete

func TestConfigDelete(t *testing.T, s Server)

func TestConfigUpdate

func TestConfigUpdate(t *testing.T, s Server)

func TestDeviceData

func TestDeviceData(t *testing.T, s Server)

func TestDeviceDelete

func TestDeviceDelete(t *testing.T, s Server)

func TestDeviceList

func TestDeviceList(t *testing.T, s Server)

func TestDeviceUpdate

func TestDeviceUpdate(t *testing.T, s Server)

func TestEndpointData

func TestEndpointData(t *testing.T, s Server)

func TestEndpointList

func TestEndpointList(t *testing.T, s Server)

func TestEndpointListByTech

func TestEndpointListByTech(t *testing.T, s Server)

func TestLiveRecordingData

func TestLiveRecordingData(t *testing.T, s Server)

func TestLiveRecordingMute

func TestLiveRecordingMute(t *testing.T, s Server)

func TestLiveRecordingPause

func TestLiveRecordingPause(t *testing.T, s Server)

func TestLiveRecordingResume

func TestLiveRecordingResume(t *testing.T, s Server)

func TestLiveRecordingScrap

func TestLiveRecordingScrap(t *testing.T, s Server)

func TestLiveRecordingStop

func TestLiveRecordingStop(t *testing.T, s Server)

func TestLiveRecordingUnmute

func TestLiveRecordingUnmute(t *testing.T, s Server)

func TestLoggingCreate

func TestLoggingCreate(t *testing.T, s Server)

func TestLoggingDelete

func TestLoggingDelete(t *testing.T, s Server)

func TestLoggingList

func TestLoggingList(t *testing.T, s Server)

func TestLoggingRotate

func TestLoggingRotate(t *testing.T, s Server)

func TestMailboxData

func TestMailboxData(t *testing.T, s Server)

func TestMailboxDelete

func TestMailboxDelete(t *testing.T, s Server)

func TestMailboxList

func TestMailboxList(t *testing.T, s Server)

func TestMailboxUpdate

func TestMailboxUpdate(t *testing.T, s Server)

func TestModulesData

func TestModulesData(t *testing.T, s Server)

func TestModulesList

func TestModulesList(t *testing.T, s Server)

func TestModulesLoad

func TestModulesLoad(t *testing.T, s Server)

func TestModulesReload

func TestModulesReload(t *testing.T, s Server)

func TestModulesUnload

func TestModulesUnload(t *testing.T, s Server)

func TestPlaybackControl

func TestPlaybackControl(t *testing.T, s Server)

func TestPlaybackData

func TestPlaybackData(t *testing.T, s Server)

func TestPlaybackStop

func TestPlaybackStop(t *testing.T, s Server)

func TestSoundData

func TestSoundData(t *testing.T, s Server)

func TestSoundList

func TestSoundList(t *testing.T, s Server)

func TimeoutCount

func TimeoutCount(c ari.Client) (int64, bool)

TimeoutCount gets the timeout count from the ari client, if available.

Types

type Server

type Server interface {
	Start(ctx context.Context, t *testing.T, client ari.Client, nc *nats.EncodedConn, completeCh chan struct{}) (ari.Client, error)
	Ready() <-chan struct{}
	Close() error
}

Server represents a generalized ari-proxy server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL