heptane

package
v0.0.0-...-bed264f Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Mock implementation of RowProvider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Row

type Row struct {
	// contains filtered or unexported fields
}

Row implements RowProvider.

func (*Row) Access

func (p *Row) Access(a r.RowAccess) error

Access implements RowProvider.

func (*Row) AccessSlice

func (p *Row) AccessSlice(aa []r.RowAccess) (errs []error)

AccessSlice implements RowProvider.

func (*Row) Mock

func (p *Row) Mock(a r.RowAccess, err error)

Mock ensures the following calls to Access() with the given input fields of RowAccess will return the given output fields of RowAccess and the given error.

Jump to

Keyboard shortcuts

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