From: Laszlo Boszormenyi (GCS) Date: Thu, 29 Feb 2024 18:11:37 +0000 (+0000) Subject: can't use these X-Git-Tag: archive/raspbian/0.19.0-2.1+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0bba092f06b4372fbc489c51a16efcbb083fb4f8;p=thrift.git can't use these Forwarded: no Last-Update: 2023-07-02 Gbp-Pq: Name missing_go_test.patch --- diff --git a/test/go/src/common/clientserver_test.go b/test/go/src/common/clientserver_test.go index a39519d..0580ed4 100644 --- a/test/go/src/common/clientserver_test.go +++ b/test/go/src/common/clientserver_test.go @@ -21,14 +21,10 @@ package common import ( "context" - "errors" - "reflect" "sync" "testing" - "github.com/golang/mock/gomock" - "github.com/apache/thrift/lib/go/thrift" "github.com/apache/thrift/test/go/src/gen/thrifttest" ) @@ -61,6 +57,7 @@ func TestAllConnection(t *testing.T) { } func doUnit(t *testing.T, unit *test_unit) { +/* ctrl := gomock.NewController(t) defer ctrl.Finish() handler := NewMockThriftTest(ctrl) @@ -84,6 +81,7 @@ func doUnit(t *testing.T, unit *test_unit) { } defer trans.Close() callEverythingWithMock(t, client, handler) +*/ } var rmapmap = map[int32]map[int32]int32{ @@ -101,6 +99,7 @@ var xxs = &thrifttest.Xtruct{ var xcept = &thrifttest.Xception{ErrorCode: 1001, Message: "some"} var defaultCtx = context.Background() +/* func callEverythingWithMock(t *testing.T, client *thrifttest.ThriftTestClient, handler *MockThriftTest) { u := thrift.Tuuid{ 0x00, 0x11, 0x22, 0x33, @@ -352,3 +351,4 @@ func callEverythingWithMock(t *testing.T, client *thrifttest.ThriftTestClient, h t.Errorf("Unexpected error in TestVoid() call: %s", err) } } +*/