extfiletesting

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertFileAnnotationsEqual

func AssertFileAnnotationsEqual(t *testing.T, expected []*filev1beta1.FileAnnotation, actual []*filev1beta1.FileAnnotation)

AssertFileAnnotationsEqual asserts that the annotations are equal minus the Message field.

func NewFileAnnotation

func NewFileAnnotation(path string, startLine int, startColumn int, endLine int, endColumn int, t string) *filev1beta1.FileAnnotation

NewFileAnnotation returns a new FileAnnotation for testing.

This does not set the Message field.

func NewFileAnnotationNoLocation

func NewFileAnnotationNoLocation(path string, t string) *filev1beta1.FileAnnotation

NewFileAnnotationNoLocation returns a new FileAnnotation for testing.

This does not set the Message field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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