go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/callerid/testsuite Index | Files

package testsuite

import "gopkg.in/src-d/go-vitess.v1/vt/callerid/testsuite"

Index

Package Files

testsuite.go

Constants

const (
    // FakePrincipal is the principal of testing effective CallerID
    FakePrincipal = "TestPrincipal"
    // FakeComponent is the component of testing effective CallerID
    FakeComponent = "TestComponent"
    // FakeSubcomponent is the subcomponent of testing effective CallerID
    FakeSubcomponent = "TestSubcomponent"
    // FakeUsername is the username of testing immediate CallerID
    FakeUsername = "TestUsername"
)

func RunTests Uses

func RunTests(t *testing.T, im *querypb.VTGateCallerID, ef *vtrpcpb.CallerID, newContext func(context.Context, *vtrpcpb.CallerID, *querypb.VTGateCallerID) context.Context)

RunTests performs the necessary testsuite for CallerID operations

Package testsuite imports 6 packages (graph). Updated 2019-06-13. Refresh now. Tools for package owners.