testing

package
v1.0.0-alpha.6.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package testing includes useful mocks for testing initial sync status in unit tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sync

type Sync struct {
	IsSyncing bool
}

Sync defines a mock for the sync service.

func (*Sync) Resync added in v0.3.0

func (s *Sync) Resync() error

Resync --

func (*Sync) Status

func (s *Sync) Status() error

Status --

func (*Sync) Syncing

func (s *Sync) Syncing() bool

Syncing --

Jump to

Keyboard shortcuts

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