Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PathVisitor: add hybrid test for access/set/get for thrift container …
…key under hybrid node Summary: # Overview Using new defined test struct, adding test case for accessing with path visitor with the case of thrift path terminating at hybrid node Of the overall test cases listed below, this covers the combo of 2c x 3c,3d,3e D66525279 Update test struct definitions for comprehensive coverage of hybrid node access patterns for all visitors: a. Thrift path terminating at HybridNode (annotated member hybridMapOfI32ToStruct) b. Thrift path terminating at Thrift container (list, map, set, struct field in ChildStruct) under HybridNode c. Thrift path terminating at leaf primitive under HybridNode (primitive leaves under ChildStruct: leafEnum, optionalI32, childMap/<key>, structMap/<key>/<field>, listOfStruct<key>/<field>) d. [Existing UTs already cover] paths that terminate in COW leaf, COW nodes of various TCs Path Visitor UTs to cover following operations on access patterns in #2 above: a. modifyPath b. removePath c. Set d. Get e. Access (folly::dynamic) ref: https://fburl.com/gdoc/46krq4xp Differential Revision: D67049121 fbshipit-source-id: 3fa5d99845426f689853f5f915e55bac20b2bb9c
- Loading branch information