[gidl] Port (most) Go conformance tests into GIDL
Had two fix two small things: - unions were not supported (they look just like xunions) - optional values in structs must be referenced by pointer See generated tests in separate CL: https://fuchsia-review.googlesource.com/c/third_party/go/+/278988 FIDL-508 #comment FIDL-621 #comment FIDL-625 #comment FIDL-626 #comment Change-Id: Ib40876cc55aa1caf140b60708b522c320ee58fd3
Showing
- tools/fidl/gidl-conformance-suite/conformance.gidl 403 additions, 0 deletionstools/fidl/gidl-conformance-suite/conformance.gidl
- tools/fidl/gidl-conformance-suite/mix_and_match.test.fidl 51 additions, 0 deletionstools/fidl/gidl-conformance-suite/mix_and_match.test.fidl
- tools/fidl/gidl-conformance-suite/regen.sh 31 additions, 30 deletionstools/fidl/gidl-conformance-suite/regen.sh
- tools/fidl/gidl-conformance-suite/structs.gidl 0 additions, 24 deletionstools/fidl/gidl-conformance-suite/structs.gidl
- tools/fidl/gidl-conformance-suite/structs.test.fidl 18 additions, 1 deletiontools/fidl/gidl-conformance-suite/structs.test.fidl
- tools/fidl/gidl-conformance-suite/tables.test.fidl 32 additions, 0 deletionstools/fidl/gidl-conformance-suite/tables.test.fidl
- tools/fidl/gidl-conformance-suite/xunion.test.fidl 37 additions, 0 deletionstools/fidl/gidl-conformance-suite/xunion.test.fidl
- tools/fidl/gidl/golang/golang.go 17 additions, 0 deletionstools/fidl/gidl/golang/golang.go
- tools/fidl/gidl/mixer/mixer.go 64 additions, 4 deletionstools/fidl/gidl/mixer/mixer.go
Loading
Please register or sign in to comment