testlocation

package
v0.0.0-...-a467797 Latest Latest
Warning

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

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

Documentation

Overview

Package testlocation contains utility functions and helpers for testing with locations.

Index

Constants

This section is empty.

Variables

View Source
var ManagerWithAAndE = &location.Manager{
	RoomManagers: map[string]*location.RoomManager{
		"ED": {
			Poc:      "ED",
			Facility: "Simulated Hospital",
			Building: "Building-1",
			Floor:    "7",
			Room:     "Room-1",
			Type:     "ED",
		},
	},
}

ManagerWithAAndE is a location manager with an ED location.

Functions

func NewLocationManager

func NewLocationManager(ctx context.Context, t *testing.T, locations ...string) *location.Manager

NewLocationManager creates a new location manager with the given locations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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