C# Class Binboo.Tests.Mocks.SkypeMock

Inheritance: Skype
Show file Open project: adrianoc/binboo Class Usage Examples

Private Properties

Property Type Description
NewUserMock User

Public Methods

Method Description
AsyncSearchUsers ( string Target ) : int
Attach ( int Protocol, bool Wait ) : void
ChangeUserStatus ( TUserStatus newVal ) : void
ClearCallHistory ( string Username, TCallHistory Type ) : void
ClearChatHistory ( ) : void
ClearVoicemailHistory ( ) : void
CreateChatMultiple ( UserCollection pMembers ) : Chat
CreateChatUsingBlob ( string Blob ) : Chat
CreateChatWith ( string Username ) : Chat
CreateGroup ( string GroupName ) : Group
CreateSms ( TSmsMessageType MessageType, string TargetNumbers ) : SmsMessage
DeleteGroup ( int GroupId ) : void
EnableApiSecurityContext ( TApiSecurityContext Context ) : void
FindChatUsingBlob ( string Blob ) : Chat
PlaceCall ( string Target, string Target2, string Target3, string Target4 ) : Call
ResetCache ( ) : void
SearchForUsers ( string Target ) : UserCollection
SendCommand ( Command pCommand ) : void
SendMessage ( string username, string text ) : ChatMessage
SendSms ( string TargetNumbers, string MessageText, string ReplyToNumber ) : SmsMessage
SendVoicemail ( string Username ) : Voicemail
SkypeMock ( Func chatRetriever ) : System
get_ApiSecurityContextEnabled ( TApiSecurityContext Context ) : bool
get_Application ( string Name ) : SKYPE4COMLib.Application
get_Call ( int Id ) : Call
get_Calls ( string Target ) : CallCollection
get_Chat ( string Name ) : Chat
get_Command ( int Id, string Command, string Reply, bool Block, int Timeout ) : Command
get_Conference ( int Id ) : Conference
get_Greeting ( string Username ) : Voicemail
get_Message ( int Id ) : ChatMessage
get_Messages ( string Target ) : ChatMessageCollection
get_Privilege ( string Name ) : bool
get_Profile ( string Property ) : string
get_Property ( string ObjectType, string ObjectId, string PropName ) : string
get_User ( string Username ) : User
get_Variable ( string Name ) : string
get_Voicemail ( int Id ) : Voicemail
set_Profile ( string Property, string pVal ) : void
set_Property ( string ObjectType, string ObjectId, string PropName, string pVal ) : void
set_Variable ( string Name, string pVal ) : void

Private Methods

Method Description
NewUserMock ( string username ) : User

Method Details

AsyncSearchUsers() public method

public AsyncSearchUsers ( string Target ) : int
Target string
return int

Attach() public method

public Attach ( int Protocol, bool Wait ) : void
Protocol int
Wait bool
return void

ChangeUserStatus() public method

public ChangeUserStatus ( TUserStatus newVal ) : void
newVal TUserStatus
return void

ClearCallHistory() public method

public ClearCallHistory ( string Username, TCallHistory Type ) : void
Username string
Type TCallHistory
return void

ClearChatHistory() public method

public ClearChatHistory ( ) : void
return void

ClearVoicemailHistory() public method

public ClearVoicemailHistory ( ) : void
return void

CreateChatMultiple() public method

public CreateChatMultiple ( UserCollection pMembers ) : Chat
pMembers UserCollection
return Chat

CreateChatUsingBlob() public method

public CreateChatUsingBlob ( string Blob ) : Chat
Blob string
return Chat

CreateChatWith() public method

public CreateChatWith ( string Username ) : Chat
Username string
return Chat

CreateGroup() public method

public CreateGroup ( string GroupName ) : Group
GroupName string
return Group

CreateSms() public method

public CreateSms ( TSmsMessageType MessageType, string TargetNumbers ) : SmsMessage
MessageType TSmsMessageType
TargetNumbers string
return SmsMessage

DeleteGroup() public method

public DeleteGroup ( int GroupId ) : void
GroupId int
return void

EnableApiSecurityContext() public method

public EnableApiSecurityContext ( TApiSecurityContext Context ) : void
Context TApiSecurityContext
return void

FindChatUsingBlob() public method

public FindChatUsingBlob ( string Blob ) : Chat
Blob string
return Chat

PlaceCall() public method

public PlaceCall ( string Target, string Target2, string Target3, string Target4 ) : Call
Target string
Target2 string
Target3 string
Target4 string
return Call

ResetCache() public method

public ResetCache ( ) : void
return void

SearchForUsers() public method

public SearchForUsers ( string Target ) : UserCollection
Target string
return UserCollection

SendCommand() public method

public SendCommand ( Command pCommand ) : void
pCommand Command
return void

SendMessage() public method

public SendMessage ( string username, string text ) : ChatMessage
username string
text string
return ChatMessage

SendSms() public method

public SendSms ( string TargetNumbers, string MessageText, string ReplyToNumber ) : SmsMessage
TargetNumbers string
MessageText string
ReplyToNumber string
return SmsMessage

SendVoicemail() public method

public SendVoicemail ( string Username ) : Voicemail
Username string
return Voicemail

SkypeMock() public method

public SkypeMock ( Func chatRetriever ) : System
chatRetriever Func
return System

get_ApiSecurityContextEnabled() public method

public get_ApiSecurityContextEnabled ( TApiSecurityContext Context ) : bool
Context TApiSecurityContext
return bool

get_Application() public method

public get_Application ( string Name ) : SKYPE4COMLib.Application
Name string
return SKYPE4COMLib.Application

get_Call() public method

public get_Call ( int Id ) : Call
Id int
return Call

get_Calls() public method

public get_Calls ( string Target ) : CallCollection
Target string
return CallCollection

get_Chat() public method

public get_Chat ( string Name ) : Chat
Name string
return Chat

get_Command() public method

public get_Command ( int Id, string Command, string Reply, bool Block, int Timeout ) : Command
Id int
Command string
Reply string
Block bool
Timeout int
return Command

get_Conference() public method

public get_Conference ( int Id ) : Conference
Id int
return Conference

get_Greeting() public method

public get_Greeting ( string Username ) : Voicemail
Username string
return Voicemail

get_Message() public method

public get_Message ( int Id ) : ChatMessage
Id int
return ChatMessage

get_Messages() public method

public get_Messages ( string Target ) : ChatMessageCollection
Target string
return ChatMessageCollection

get_Privilege() public method

public get_Privilege ( string Name ) : bool
Name string
return bool

get_Profile() public method

public get_Profile ( string Property ) : string
Property string
return string

get_Property() public method

public get_Property ( string ObjectType, string ObjectId, string PropName ) : string
ObjectType string
ObjectId string
PropName string
return string

get_User() public method

public get_User ( string Username ) : User
Username string
return User

get_Variable() public method

public get_Variable ( string Name ) : string
Name string
return string

get_Voicemail() public method

public get_Voicemail ( int Id ) : Voicemail
Id int
return Voicemail

set_Profile() public method

public set_Profile ( string Property, string pVal ) : void
Property string
pVal string
return void

set_Property() public method

public set_Property ( string ObjectType, string ObjectId, string PropName, string pVal ) : void
ObjectType string
ObjectId string
PropName string
pVal string
return void

set_Variable() public method

public set_Variable ( string Name, string pVal ) : void
Name string
pVal string
return void