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

Function runRefRoundTrip

integration_tests/idl_tests/javascript/roundtrip.ts:946–954  ·  view source on GitHub ↗
(compatible: boolean)

Source from the content-addressed store, hash-verified

944}
945
946function runRefRoundTrip(compatible: boolean): void {
947 const refFory = buildFory(compatible, true, [
948 registerTreeTypes,
949 registerGraphTypes,
950 ]);
951
952 runFileRoundTrip("DATA_FILE_TREE", refFory, buildTree(), assertTreeEqual);
953 runFileRoundTrip("DATA_FILE_GRAPH", refFory, buildGraph(), assertGraphEqual);
954}
955
956for (const compatible of resolveCompatibleModes()) {
957 runStandardRoundTrip(compatible);

Callers 1

roundtrip.tsFile · 0.85

Calls 4

buildForyFunction · 0.70
runFileRoundTripFunction · 0.70
buildTreeFunction · 0.70
buildGraphFunction · 0.70

Tested by

no test coverage detected