Documentation ¶
Index ¶
- func AssertImageFilesEqual(t testing.TB, expected []bufimage.ImageFile, actual []bufimage.ImageFile)
- func NewFileDescriptorProto(t testing.TB, path string, importPaths ...string) *descriptorpb.FileDescriptorProto
- func NewImageFile(t testing.TB, fileDescriptorProto *descriptorpb.FileDescriptorProto, ...) bufimage.ImageFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertImageFilesEqual ¶
func AssertImageFilesEqual(t testing.TB, expected []bufimage.ImageFile, actual []bufimage.ImageFile)
AssertImageFilesEqual asserts the expected ImageFiles equal the actual ImageFiles.
func NewFileDescriptorProto ¶
func NewFileDescriptorProto( t testing.TB, path string, importPaths ...string, ) *descriptorpb.FileDescriptorProto
NewFileDescriptorProto returns a new FileDescriptorProto for testing.
func NewImageFile ¶
func NewImageFile( t testing.TB, fileDescriptorProto *descriptorpb.FileDescriptorProto, moduleReference bufmodule.ModuleReference, externalPath string, isImport bool, ) bufimage.ImageFile
NewImageFile returns a new ImageFile for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.