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

Function TestSerializePrimitives

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

Source from the content-addressed store, hash-verified

121}
122
123func TestSerializePrimitives(t *testing.T) {
124 for _, referenceTracking := range []bool{false, true} {
125 fory := NewFory(WithXlang(true), WithCompatible(false), WithRefTracking(referenceTracking))
126 for _, value := range primitiveData() {
127 serde(t, fory, value)
128 }
129 }
130}
131
132func TestSerializeInterface(t *testing.T) {
133 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
primitiveDataFunction · 0.85
serdeFunction · 0.85

Tested by

no test coverage detected