Documentation ¶
Overview ¶
Package test contains testing utilities usable by all subpackages of networkserver excluding itself.
Index ¶
- Variables
- func HandleApplicationUplinkQueueTest(t *testing.T, q ApplicationUplinkQueue)
- func HandleDeviceRegistryTest(t *testing.T, reg DeviceRegistry)
- func HandleDownlinkTaskQueueTest(t *testing.T, q DownlinkTaskQueue)
- func NewRedisApplicationUplinkQueue(t testing.TB) (ApplicationUplinkQueue, func())
- func NewRedisDeviceRegistry(t testing.TB) (DeviceRegistry, func())
- func NewRedisDownlinkTaskQueue(t testing.TB) (DownlinkTaskQueue, func())
- func NewRedisUplinkDeduplicator(t testing.TB) (UplinkDeduplicator, func())
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CacheTTL = (1 << 5) * test.Delay DefaultMACSettings = DefaultConfig.DefaultMACSettings.Parse() )
Functions ¶
func HandleApplicationUplinkQueueTest ¶
HandleApplicationUplinkQueueTest runs a ApplicationUplinkQueue test suite on reg.
func HandleDeviceRegistryTest ¶
HandleDeviceRegistryTest runs a DeviceRegistry test suite on reg.
func HandleDownlinkTaskQueueTest ¶
HandleDownlinkTaskQueueTest runs a DownlinkTaskQueue test suite on reg.
func NewRedisDeviceRegistry ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.