testing

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileDescriptorSets

func GetFileDescriptorSets(workDirPath string, dirPath string) (protoc.FileDescriptorSets, error)

GetFileDescriptorSets gets the FileDescriptorSets that result from compiling the given dirPath.

func PrintFileDescriptorSetsJSON

func PrintFileDescriptorSetsJSON(fileDescriptorSets []*descriptor.FileDescriptorSet) error

PrintFileDescriptorSetsJSON prints the FileDescriptorSets to stdout.

func PrintPackageSetJSON

func PrintPackageSetJSON(packageSet *reflectv1.PackageSet) error

PrintPackageSetJSON prints the PackageSet to stdout.

func RequireGetFileDescriptorSets

func RequireGetFileDescriptorSets(t *testing.T, workDirPath string, dirPath string) protoc.FileDescriptorSets

RequireGetFileDescriptorSets calls GetDescriptorFileSets with require calls.

func RequirePrintFileDescriptorSetsJSON

func RequirePrintFileDescriptorSetsJSON(t *testing.T, fileDescriptorSets []*descriptor.FileDescriptorSet)

RequirePrintFileDescriptorSetsJSON calls PrintFileDescriptorSetsJSON with require calls.

func RequirePrintPackageSetJSON

func RequirePrintPackageSetJSON(t *testing.T, packageSet *reflectv1.PackageSet)

RequirePrintPackageSetJSON calls PrintPackageSetJSON with require calls.

Types

This section is empty.

Jump to

Keyboard shortcuts

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