-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test.thrift: define hybrid node access patterns
Summary: Update test struct defintion to cover hybrid node access patterns mimicing prod Thrift model. This will be used in next diffs to update thrift_cow node and visitor UTs to cover follwing access patterns: * ThriftStructNode UT for EnableHybridStorage template parameter to cover paths traversing multiple TCs (map, list, struct) and path length 1 and 2 before reaching HybridNode Visitor UTs to cover Thrift paths of following patterns, starting at RootTestStruct: * path terminating at HybridNode (annotated member hybridMapOfI32ToStruct) * path terminating at Thrift container (list, map, set, struct field in ChildStruct) * path terminating at leaf primitive under HybridNode (primitive leaves under ChildStruct: optionalEnum, leafI32, childMap/<key>, structMap/<key>/<field>, listOfStruct<key>/<field>) Reviewed By: wilsonwinhi Differential Revision: D66525279 fbshipit-source-id: 87febe619c3da504ce5f22577cf9a679af7ea674
- Loading branch information
1 parent
210ce5c
commit 64dba13
Showing
3 changed files
with
50 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters