Documentation
¶
Index ¶
- func AssertFileAnnotationsEqual(t *testing.T, expected []*filev1beta1.FileAnnotation, ...)
- func NewFileAnnotation(path string, startLine int, startColumn int, endLine int, endColumn int, ...) *filev1beta1.FileAnnotation
- func NewFileAnnotationNoLocation(path string, t string) *filev1beta1.FileAnnotation
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.
Click to show internal directories.
Click to hide internal directories.