sapling/eden/fs/utils/test
Victor Zverovich e3f4a56f6b Migrate to field_ref Thrift API
Summary:
We are unifying C++ APIs for accessing optional and unqualified fields:
https://fb.workplace.com/groups/1730279463893632/permalink/2541675446087359/.

This diff migrates code from accessing data members generated from unqualified
Thrift fields directly to the `field_ref` API, i.e. replacing

```
thrift_obj.field
```

with

```
*thrift_obj.field_ref()
```

The `_ref` suffixes will be removed in the future once data members are private
and names can be reclaimed.

The output of this codemod has been reviewed in D20039637.

The new API is documented in
https://our.intern.facebook.com/intern/wiki/Thrift/FieldAccess/.

drop-conflicts

Reviewed By: yfeldblum

Differential Revision: D22631599

fbshipit-source-id: 9bfcaeb636f34a32fd871c7cd6a2db4a7ace30bf
2020-07-21 11:23:35 -07:00
..
test-data read memory stats from /proc/self/statm instead of /proc/self/status 2019-05-28 12:55:41 -07:00
BenchmarkMain.cpp switch from folly benchmark to google benchmark 2020-04-30 09:36:01 -07:00
BucketedLogTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
BugTest.cpp refactor the EDEN_BUG() macro 2019-11-22 15:38:33 -08:00
ChronoTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ChronoUnitTest.cpp Remove dead includes in eden 2019-10-11 16:45:01 -07:00
CMakeLists.txt move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
CoverageSetTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FaultInjectorTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FutureTest.cpp add a collectSafe function 2020-02-03 11:30:50 -08:00
IDGenBenchmark.cpp switch from folly benchmark to google benchmark 2020-04-30 09:36:01 -07:00
IDGenTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
IoFutureTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
LazyInitializeTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
MappedDiskVectorTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
MemoryTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
PathFuncsTest.cpp enable the fs/utils tests in the Windows build 2020-04-29 11:04:21 -07:00
PathMapTest.cpp enable the fs/utils tests in the Windows build 2020-04-29 11:04:21 -07:00
ProcessAccessLogBenchmark.cpp switch from folly benchmark to google benchmark 2020-04-30 09:36:01 -07:00
ProcessAccessLogTest.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
ProcessNameCacheBenchmark.cpp switch from folly benchmark to google benchmark 2020-04-30 09:36:01 -07:00
ProcessNameCacheTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ProcUtilTest.cpp add memory usage statistics to macOS 2019-10-28 11:19:44 -07:00
ScopedEnvVar.cpp enable the fs/utils tests in the Windows build 2020-04-29 11:04:21 -07:00
ScopedEnvVar.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ServiceAddressTest.cpp eden: fix API server failures due to service router disabled sliently 2019-10-22 15:06:47 -07:00
UnixSocketTest.cpp Remove dead includes in eden 2019-10-11 16:45:01 -07:00
UserInfoTest.cpp move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
Utf8Test.cpp add some utf-8 helper functions 2020-06-10 19:29:51 -07:00