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.
Click to show internal directories.
Click to hide internal directories.