camlistore.org: camlistore.org/pkg/importer/test Index | Files

package test

import "camlistore.org/pkg/importer/test"

Package test provides common functionality for importer tests.

Index

Package Files

helpers.go

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 2018-02-10. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).