test

package
v0.0.0-...-3911a41 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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