Documentation

Overview

    Package test provides common functionality for importer tests.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func FindChildRefs

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

      FindChildRefs returns the children of an importer.Object

      func GetRequiredChildPathObj

      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

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

          ImporterTest sets up the environment for an importer integration test.

          Types

          This section is empty.

          Source Files