MCPcopy Create free account
hub / github.com/apache/fory / TestSerializeArray

Function TestSerializeArray

go/fory/fory_test.go:260–268  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

258}
259
260func TestSerializeArray(t *testing.T) {
261 for _, referenceTracking := range []bool{false, true} {
262 fory := NewFory(WithXlang(true), WithCompatible(false), WithRefTracking(referenceTracking))
263 for _, data := range commonArray() {
264 serde(t, fory, data)
265 }
266 serde(t, fory, commonArray())
267 }
268}
269
270func TestSerializeStructSimple(t *testing.T) {
271 for _, referenceTracking := range []bool{false, true} {

Callers

nothing calls this directly

Calls 6

NewForyFunction · 0.85
WithXlangFunction · 0.85
WithCompatibleFunction · 0.85
WithRefTrackingFunction · 0.85
commonArrayFunction · 0.85
serdeFunction · 0.85

Tested by

no test coverage detected