testutils

package
v19.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package testutils provides some basic test routines that were proliferating

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertAllEqual

func AssertAllEqual(t *testing.T, errorMessage string, objs ...interface{})

AssertFalse produces an error if a deep inspection of the passed-in objects differ

func AssertEqual

func AssertEqual(t *testing.T, errorMessage string, obj1, obj2 interface{})

AssertFalse produces an error if the passed-in objects differ

func AssertFalse

func AssertFalse(t *testing.T, errorMessage string, booleanCondition bool)

AssertFalse produces an error if the passed-in condition is not false

func AssertNotEqual

func AssertNotEqual(t *testing.T, errorMessage string, obj1, obj2 interface{})

AssertNotEqual produces an error if the passed-in objects are equal

func AssertTrue

func AssertTrue(t *testing.T, errorMessage string, booleanCondition bool)

AssertFalse produces an error if the passed-in condition is false

Types

This section is empty.

Jump to

Keyboard shortcuts

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