()
| 492 | } |
| 493 | |
| 494 | func getExampleInt2Float() *proto.TypeDescriptor { |
| 495 | includeDirs := util_test.MustGitPath("testdata/idl/") // includeDirs is used to find the include files. |
| 496 | svc, err := proto.NewDescritorFromPath(context.Background(), util_test.MustGitPath(exampleIDLPath), includeDirs) |
| 497 | if err != nil { |
| 498 | panic(err) |
| 499 | } |
| 500 | return (*svc).LookupMethodByName("Int2FloatMethod").Output() |
| 501 | } |
| 502 | |
| 503 | func TestInt2String(t *testing.T) { |
| 504 | cv := NewBinaryConv(conv.Options{}) |
no test coverage detected
searching dependent graphs…