testing

package
v0.0.0-...-d79950a Latest Latest
Warning

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

Go to latest
Published: May 16, 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

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