test

package
v0.4.21 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0, MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindIndexTest

func FindIndexTest(ctx context.Context, t *testing.T, c client.Finder, ind indexer.Interface, reg *registry.Registry)

func GetProviderTest added in v0.3.0

func GetProviderTest(t *testing.T, c client.Finder, providerID peer.ID)

func GetStatsTest added in v0.4.18

func GetStatsTest(ctx context.Context, t *testing.T, c client.Finder)

func InitIndex

func InitIndex(t *testing.T, withCache bool) indexer.Interface

InitIndex initialize a new indexer engine.

func InitRegistry

func InitRegistry(t *testing.T) *registry.Registry

InitRegistry initializes a new registry

func ListProvidersTest added in v0.3.0

func ListProvidersTest(t *testing.T, c client.Finder, providerID peer.ID)

func ReframeFindIndexTest added in v0.4.11

func ReframeFindIndexTest(ctx context.Context, t *testing.T, c client.Finder, rc *reframeclient.Client, ind indexer.Interface, reg *registry.Registry)

func Register added in v0.3.0

func Register(ctx context.Context, t *testing.T, reg *registry.Registry) peer.ID

func RemoveProviderTest added in v0.4.18

func RemoveProviderTest(ctx context.Context, t *testing.T, c client.Finder, ind indexer.Interface, reg *registry.Registry)

Types

This section is empty.

Jump to

Keyboard shortcuts

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