Skip to content

Commit

Permalink
Adding a main file for test libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
alainjobart committed Aug 10, 2015
1 parent 0e46960 commit 9d08e24
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import (
"github.com/youtube/vitess/go/rpcplus"
"github.com/youtube/vitess/go/rpcwrap/bsonrpc"
"github.com/youtube/vitess/go/vt/vtgate/gorpcvtgateservice"

// import the gorpc client, it will register itself
_ "github.com/youtube/vitess/go/vt/vtgate/gorpcvtgateconn"
)

// TestGoRPCGoClient tests the go client using goRPC
Expand Down
10 changes: 10 additions & 0 deletions go/cmd/vtgateclienttest/gorpcclienttest/import.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2015 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package gorpcclienttest

import (
// import the gorpc client, it will register itself
_ "github.com/youtube/vitess/go/vt/vtgate/gorpcvtgateconn"
)
3 changes: 0 additions & 3 deletions go/cmd/vtgateclienttest/grpcclienttest/grpc_goclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ import (
"github.com/youtube/vitess/go/cmd/vtgateclienttest/goclienttest"
"github.com/youtube/vitess/go/cmd/vtgateclienttest/services"
"github.com/youtube/vitess/go/vt/vtgate/grpcvtgateservice"

// import the grpc client, it will register itself
_ "github.com/youtube/vitess/go/vt/vtgate/grpcvtgateconn"
)

// TestGRPCGoClient tests the go client using gRPC
Expand Down
10 changes: 10 additions & 0 deletions go/cmd/vtgateclienttest/grpcclienttest/import.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2015 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package grpcclienttest

import (
// import the grpc client, it will register itself
_ "github.com/youtube/vitess/go/vt/vtgate/grpcvtgateconn"
)

0 comments on commit 9d08e24

Please sign in to comment.