mocks

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2016 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionMock

type SessionMock struct{}

SessionMock is a mock of the Session interface

func (*SessionMock) ApprovePresenceSubscription

func (*SessionMock) ApprovePresenceSubscription(string, string) error

ApprovePresenceSubscription is the implementation for Session interface

func (*SessionMock) AutoApprove

func (*SessionMock) AutoApprove(string)

AutoApprove is the implementation for Session interface

func (*SessionMock) AwaitVersionReply

func (*SessionMock) AwaitVersionReply(<-chan data.Stanza, string)

AwaitVersionReply is the implementation for Session interface

func (*SessionMock) Close

func (*SessionMock) Close()

Close is the implementation for Session interface

func (*SessionMock) CommandManager

func (*SessionMock) CommandManager() client.CommandManager

CommandManager is the implementation for Session interface

func (*SessionMock) Config

Config is the implementation for Session interface

func (*SessionMock) Conn

func (*SessionMock) Conn() xi.Conn

Conn is the implementation for Session interface

func (*SessionMock) Connect

func (*SessionMock) Connect(string, tls.Verifier) error

Connect is the implementation for Session interface

func (*SessionMock) ConversationManager

func (*SessionMock) ConversationManager() client.ConversationManager

ConversationManager is the implementation for Session interface

func (*SessionMock) DenyPresenceSubscription

func (*SessionMock) DenyPresenceSubscription(string, string) error

DenyPresenceSubscription is the implementation for Session interface

func (*SessionMock) EncryptAndSendTo

func (*SessionMock) EncryptAndSendTo(string, string) error

EncryptAndSendTo is the implementation for Session interface

func (*SessionMock) GetConfig

func (*SessionMock) GetConfig() *config.Account

GetConfig is the implementation for Session interface

func (*SessionMock) GroupDelimiter

func (*SessionMock) GroupDelimiter() string

GroupDelimiter is the implementation for Session interface

func (*SessionMock) HandleConfirmOrDeny

func (*SessionMock) HandleConfirmOrDeny(string, bool)

HandleConfirmOrDeny is the implementation for Session interface

func (*SessionMock) IsConnected

func (*SessionMock) IsConnected() bool

IsConnected is the implementation for Session interface

func (*SessionMock) IsDisconnected

func (*SessionMock) IsDisconnected() bool

IsDisconnected is the implementation for Session interface

func (*SessionMock) OtrEventHandler

func (*SessionMock) OtrEventHandler() map[string]*event.OtrEventHandler

OtrEventHandler is the implementation for Session interface

func (*SessionMock) PrivateKeys

func (*SessionMock) PrivateKeys() []otr3.PrivateKey

PrivateKeys is the implementation for Session interface

func (*SessionMock) R

func (*SessionMock) R() *roster.List

R is the implementation for Session interface

func (*SessionMock) ReloadKeys

func (*SessionMock) ReloadKeys()

ReloadKeys is the implementation for Session interface

func (*SessionMock) RemoveContact

func (*SessionMock) RemoveContact(string)

RemoveContact is the implementation for Session interface

func (*SessionMock) RequestPresenceSubscription

func (*SessionMock) RequestPresenceSubscription(string, string) error

RequestPresenceSubscription is the implementation for Session interface

func (*SessionMock) Send

func (*SessionMock) Send(string, string) error

Send is the implementation for Session interface

func (*SessionMock) SetCommandManager

func (*SessionMock) SetCommandManager(client.CommandManager)

SetCommandManager is the implementation for Session interface

func (*SessionMock) SetConnectionLogger

func (*SessionMock) SetConnectionLogger(io.Writer)

SetConnectionLogger is the implementation for Session interface

func (*SessionMock) SetConnector

func (*SessionMock) SetConnector(access.Connector)

SetConnector is the implementation for Session interface

func (*SessionMock) SetLastActionTime

func (*SessionMock) SetLastActionTime(time.Time)

SetLastActionTime is the implementation for Session interface

func (*SessionMock) SetSessionEventHandler

func (*SessionMock) SetSessionEventHandler(access.EventHandler)

SetSessionEventHandler is the implementation for Session interface

func (*SessionMock) SetWantToBeOnline

func (*SessionMock) SetWantToBeOnline(bool)

SetWantToBeOnline is the implementation for Session interface

func (*SessionMock) Subscribe

func (*SessionMock) Subscribe(chan<- interface{})

Subscribe is the implementation for Session interface

func (*SessionMock) Timeout

func (*SessionMock) Timeout(data.Cookie, time.Time)

Timeout is the implementation for Session interface

Jump to

Keyboard shortcuts

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