test

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package test - various support components used in unit-testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForTextSessionManager

type ForTextSessionManager interface {
	// SessionIdleNotify callback triggered when a managed session went IDLE
	SessionIdleNotify()
	// IPCProcessErrorNotify callback triggered when a managed session encountered error
	// interacting with IPC request queue
	IPCProcessErrorNotify(error)
}

ForTextSessionManager dummy session manager interface used for session runner testing

type RedisBufferForTest

type RedisBufferForTest interface {
	goutilsRedis.RingBuffer
}

RedisBufferForTest wrapper interface for generating a mock of `goutilsRedis.RingBuffer`

type RedisClientForTest

type RedisClientForTest interface {
	goutilsRedis.Client
}

RedisClientForTest wrapper interface for generating a mock of `goutilsRedis.Client`

type RedisQueueForTest

type RedisQueueForTest interface {
	goutilsRedis.Queue
}

RedisQueueForTest wrapper interface for generating a mock of `goutilsRedis.Queue`

type TaskProcessorForTest

type TaskProcessorForTest interface {
	goutils.TaskProcessor
}

TaskProcessorForTest wrapper interface for generating a mock of `TaskProcessor`

Jump to

Keyboard shortcuts

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