Index | Files

package test

import ""

Package test provides common functionality for importer tests.


Package Files


func FindChildRefs Uses

func FindChildRefs(parent *importer.Object) ([]blob.Ref, error)

FindChildRefs returns the children of an importer.Object

func GetRequiredChildPathObj Uses

func GetRequiredChildPathObj(parent *importer.Object, path string) (*importer.Object, error)

GetRequiredChildPathObj returns the child object at path or an error if none exists.

func ImporterTest Uses

func ImporterTest(t *testing.T, importerName string, transport http.RoundTripper, fn func(*importer.RunContext))

ImporterTest sets up the environment for an importer integration test.

Package test imports 10 packages (graph). Updated 2019-06-24. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).