mocks

package
v0.0.0-...-a535717 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Room

type Room struct {
	mock.Mock
}

Room is an autogenerated mock type for the Room type

func NewRoom

func NewRoom(t testing.TB) *Room

NewRoom creates a new instance of Room. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*Room) Run

func (_m *Room) Run(_a0 context.Context)

Run provides a mock function with given fields: _a0

type RoomManager

type RoomManager struct {
	mock.Mock
}

RoomManager is an autogenerated mock type for the RoomManager type

func NewRoomManager

func NewRoomManager(t testing.TB) *RoomManager

NewRoomManager creates a new instance of RoomManager. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*RoomManager) NewRoom

func (_m *RoomManager) NewRoom(_a0 string, _a1 string, _a2 []string) (room.Room, chan bool)

NewRoom provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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