test

package
v2.0.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2016 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package test contains utilities to test topo.Impl implementations. If you are testing your implementation, you will want to call all the check methods in your test methods. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Package test contains utilities to test topo.Impl implementations. If you are testing your implementation, you will want to call TopoServerTestSuite in your test method. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TopoServerTestSuite

func TopoServerTestSuite(t *testing.T, factory func() topo.Impl)

TopoServerTestSuite runs the full topo.Impl test suite. The factory method should return a topo server that has a single cell called 'test'.

Types

This section is empty.

Directories

Path Synopsis
Package faketopo contains utitlities for tests that have to interact with a Vitess topology.
Package faketopo contains utitlities for tests that have to interact with a Vitess topology.

Jump to

Keyboard shortcuts

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