test_helpers

package
v0.0.0-...-3179b94 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchActualLRP

func MatchActualLRP(expected *models.ActualLRP) types.GomegaMatcher

func MatchActualLRPGroup

func MatchActualLRPGroup(expected *models.ActualLRPGroup) types.GomegaMatcher

func NewSQLRunner

func NewSQLRunner(dbName string) sqlrunner.SQLRunner

func ReplaceQuestionMarks

func ReplaceQuestionMarks(queryString string) string

func UseMySQL

func UseMySQL() bool

func UsePostgres

func UsePostgres() bool

func UseSQL

func UseSQL() bool

Types

type DeepEqualMatcher

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

func DeepEqual

func DeepEqual(expected interface{}) DeepEqualMatcher

func (DeepEqualMatcher) FailureMessage

func (m DeepEqualMatcher) FailureMessage(actual interface{}) (message string)

func (DeepEqualMatcher) Match

func (m DeepEqualMatcher) Match(actual interface{}) (success bool, err error)

func (DeepEqualMatcher) NegatedFailureMessage

func (m DeepEqualMatcher) NegatedFailureMessage(actual interface{}) (message string)

type LocketHelper

type LocketHelper struct {
	LocketClient locketmodels.LocketClient
	// contains filtered or unexported fields
}

func NewLocketHelper

func NewLocketHelper(logger lager.Logger, LocketClient locketmodels.LocketClient) *LocketHelper

func (*LocketHelper) RegisterCell

func (h *LocketHelper) RegisterCell(cell *models.CellPresence)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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