From 44dcd737f7e77320d8d1380e483f93a82dc9a970 Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Fri, 20 Oct 2017 22:25:03 -0700 Subject: [PATCH] Use folly/portability/GTest.h in folly/executurs/test/ Summary: [Folly] Use `folly/portability/GTest.h` in `folly/executurs/test/`. Applying the general rule for folly tests to some recently-introduced violations. Reviewed By: Orvid Differential Revision: D6113707 fbshipit-source-id: f9a2961ac845489b85b5a539595e4c82df03d922 --- folly/executors/task_queue/test/UnboundedBlockingQueueTest.cpp | 2 +- folly/executors/test/AsyncTest.cpp | 2 +- folly/executors/test/CodelTest.cpp | 2 +- folly/executors/test/GlobalExecutorTest.cpp | 2 +- folly/executors/test/SerialExecutorTest.cpp | 3 +-- folly/executors/test/ThreadPoolExecutorTest.cpp | 2 +- folly/executors/test/ThreadedExecutorTest.cpp | 3 +-- 7 files changed, 7 insertions(+), 9 deletions(-) diff --git a/folly/executors/task_queue/test/UnboundedBlockingQueueTest.cpp b/folly/executors/task_queue/test/UnboundedBlockingQueueTest.cpp index 06de12ac..a7b1efd5 100644 --- a/folly/executors/task_queue/test/UnboundedBlockingQueueTest.cpp +++ b/folly/executors/task_queue/test/UnboundedBlockingQueueTest.cpp @@ -15,7 +15,7 @@ */ #include #include -#include +#include #include using namespace folly; diff --git a/folly/executors/test/AsyncTest.cpp b/folly/executors/test/AsyncTest.cpp index 60f913f7..0622a8a6 100644 --- a/folly/executors/test/AsyncTest.cpp +++ b/folly/executors/test/AsyncTest.cpp @@ -16,7 +16,7 @@ #include #include -#include +#include using namespace folly; diff --git a/folly/executors/test/CodelTest.cpp b/folly/executors/test/CodelTest.cpp index 71450011..046feee5 100644 --- a/folly/executors/test/CodelTest.cpp +++ b/folly/executors/test/CodelTest.cpp @@ -15,7 +15,7 @@ */ #include -#include +#include #include #include diff --git a/folly/executors/test/GlobalExecutorTest.cpp b/folly/executors/test/GlobalExecutorTest.cpp index 06484cfc..a111ee3e 100644 --- a/folly/executors/test/GlobalExecutorTest.cpp +++ b/folly/executors/test/GlobalExecutorTest.cpp @@ -16,7 +16,7 @@ #include #include -#include +#include using namespace folly; diff --git a/folly/executors/test/SerialExecutorTest.cpp b/folly/executors/test/SerialExecutorTest.cpp index 1a132ef1..285fd747 100644 --- a/folly/executors/test/SerialExecutorTest.cpp +++ b/folly/executors/test/SerialExecutorTest.cpp @@ -16,12 +16,11 @@ #include -#include - #include #include #include #include +#include using namespace std::chrono; using folly::SerialExecutor; diff --git a/folly/executors/test/ThreadPoolExecutorTest.cpp b/folly/executors/test/ThreadPoolExecutorTest.cpp index fd96b9f1..faf92172 100644 --- a/folly/executors/test/ThreadPoolExecutorTest.cpp +++ b/folly/executors/test/ThreadPoolExecutorTest.cpp @@ -22,7 +22,7 @@ #include #include #include -#include +#include using namespace folly; using namespace std::chrono; diff --git a/folly/executors/test/ThreadedExecutorTest.cpp b/folly/executors/test/ThreadedExecutorTest.cpp index 7bdf4c0e..591be574 100644 --- a/folly/executors/test/ThreadedExecutorTest.cpp +++ b/folly/executors/test/ThreadedExecutorTest.cpp @@ -16,11 +16,10 @@ #include -#include - #include #include #include +#include namespace { -- 2.34.1