test

package
v0.0.0-...-403c8b4 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 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

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

func GetStatsTest

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

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

func ReframeFindIndexTest

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

func Register

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

func RemoveProviderTest

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