test

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	*test.Mock
	IsClosedInvocations      int
	IsClosedOutputs          []bool
	CloseInvocations         int
	EnsureIndexesInvocations int
	EnsureIndexesOutputs     []error
}

func NewSession

func NewSession() *Session

func (*Session) Close

func (s *Session) Close()

func (*Session) EnsureIndexes

func (s *Session) EnsureIndexes() error

func (*Session) Expectations

func (s *Session) Expectations()

func (*Session) IsClosed

func (s *Session) IsClosed() bool

func (*Session) UnusedOutputsCount

func (s *Session) UnusedOutputsCount() int

type Store

type Store struct {
	*test.Mock
	IsClosedInvocations int
	IsClosedOutputs     []bool
	CloseInvocations    int
	StatusInvocations   int
	StatusOutputs       []interface{}
}

func NewStore

func NewStore() *Store

func (*Store) Close

func (s *Store) Close()

func (*Store) Expectations

func (s *Store) Expectations()

func (*Store) IsClosed

func (s *Store) IsClosed() bool

func (*Store) Status

func (s *Store) Status() interface{}

func (*Store) UnusedOutputsCount

func (s *Store) UnusedOutputsCount() int

Jump to

Keyboard shortcuts

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