Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareObjects ¶
func CompareObjects(actual interface{}, expected interface{}) error
CompareObjects checks equality of 2 objects and returns a formatted error on failure. If the object types have unexported fields, a custom marshaler is required to be defined.
func GetRouterVersion ¶
func GetRouterVersion(t *testing.T, filePath string) *models.RouterVersion
GetRouterVersion reads the given file, attempts to convert the contents into a router version model object and returns it. The method records a failure to the test s if an error is encountered.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.