itopotest

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestTopoProvider

type TestTopoProvider struct {
	*topology.Topo
}

TestTopoProvider is a provider for a specific topology object.

func TopoProviderFromFile

func TopoProviderFromFile(t *testing.T, fName string) *TestTopoProvider

TopoProviderFromFile creates a topo provider from a topology file. It fails the test if loading the file fails.

func (*TestTopoProvider) Get

func (t *TestTopoProvider) Get() itopo.Topology

Get returns the stored topology.

Jump to

Keyboard shortcuts

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