sapling/eden/fs/testharness
Katie Mancini 85942cfaad use portable version of gtest
Summary:
gtest includes some windows headers that will have conflicts with the
folly portability versions. This caused some issues in my in-memory tree
cache diffs (D27050310 (8a1a529fcc)).

We should probably generally be using the folly portable gtests so we can
avoid such issues in the future.

see here for more details: bd600cd4e8/folly/portability/GTest.h (L19)

I ran this with codemod yes to all

- convert all the includes with quotes:
`codemod -d eden/fs --extensions cpp,h '\#include\ "gtest/gtest\.h"' '#include <folly/portability/GTest.h>'`

- convert all the includes with brackets
`codemod -d eden/fs --extensions cpp,h '\#include\ <gtest/gtest\.h>' '#include <folly/portability/GTest.h>'`

- convert the test template
`codemod -d eden/facebook --extensions template '\#include\ <gtest/gtest\.h>' '#include <folly/portability/GTest.h>'`

then used `arc lint` to clean up all the targets files

Reviewed By: genevievehelsel, xavierd

Differential Revision: D28035146

fbshipit-source-id: c3b88df5d4e7cdf4d1e51d9689987ce039f47fde
2021-05-12 15:58:27 -07:00
..
test use portable version of gtest 2021-05-12 15:58:27 -07:00
CMakeLists.txt use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakeBackingStore.cpp Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
FakeBackingStore.h remove the dead getTreeForManifest 2021-05-10 11:53:30 -07:00
FakeClock.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeFuse.cpp utils: compile the tests with @mode/win 2020-10-22 12:52:13 -07:00
FakeFuse.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeObjectStore.cpp remove the dead getTreeForManifest 2021-05-10 11:53:30 -07:00
FakeObjectStore.h remove the dead getTreeForManifest 2021-05-10 11:53:30 -07:00
FakePrivHelper.cpp nfs: allow mountd and nfsd sockets to be non-inet on macOS 2021-05-12 13:06:57 -07:00
FakePrivHelper.h nfs: allow mountd and nfsd sockets to be non-inet on macOS 2021-05-12 13:06:57 -07:00
FakeTreeBuilder.cpp model: remove test-only constructor for TreeEntry 2021-01-05 14:08:14 -08:00
FakeTreeBuilder.h Tidy up license headers 2019-10-11 05:28:23 -07:00
HgRepo.cpp dynamicconfig: backout D26801059 that enabled no-repo configs 2021-04-15 09:00:19 -07:00
HgRepo.h skip edenfs tests when tsan is enabled 2020-12-01 10:18:53 -08:00
InodeUnloader.h use portable version of gtest 2021-05-12 15:58:27 -07:00
LoggingFetchContext.h add cause info to objectFetchContext 2020-06-23 10:02:40 -07:00
StoredObject.h fix lock ordering issues in eden tests 2019-10-22 10:39:13 -07:00
TempFile.cpp enable the fs/utils tests in the Windows build 2020-04-29 11:04:21 -07:00
TempFile.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestChecks.h use portable version of gtest 2021-05-12 15:58:27 -07:00
TestDispatcher.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
TestDispatcher.h inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
TestMain.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestMount.cpp use portable version of gtest 2021-05-12 15:58:27 -07:00
TestMount.h use custom in memory tree cache 2021-04-27 17:38:40 -07:00
TestServer.cpp introduce metadata importer 2020-07-10 16:03:32 -07:00
TestServer.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.h Tidy up license headers 2019-10-11 05:28:23 -07:00