observer

package
v1.4.0-pre.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestSensorManager

func GetTestSensorManager(t *testing.T) *tus.TestSensorManager

GetTestSensorManager returns a new test sensor manager. Some tests require an observer running, some do not. To support both, the function checks if a sensor manager has already been setup in the observer, and uses it if so. Otherwise, it creates a new one. If it creates a new one it will use the test name to create a unqique directory for maps/etc, and will also register the necessary cleanup functions using t.Cleanup()

func GetTestSensorManagerWithDummyPF

func GetTestSensorManagerWithDummyPF(t *testing.T) *tus.TestSensorManager

Types

This section is empty.

Jump to

Keyboard shortcuts

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