logging: add a LogHandler::getConfig() method
[folly.git] / folly / test / AtomicStructTest.cpp
index 9e7d68b6ee5bd746778a25f2f9575210f758cdee..507f164cd44b8b514cb7332d51fa2d93e1bf3fff 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  */
 
-#include "folly/AtomicStruct.h"
+#include <folly/AtomicStruct.h>
 
-#include <gflags/gflags.h>
-#include <gtest/gtest.h>
+#include <folly/portability/GTest.h>
 
 using namespace folly;
 
@@ -68,9 +67,3 @@ TEST(AtomicStruct, size_selection) {
   EXPECT_EQ(sizeof(AtomicStruct<S7>), 8);
   EXPECT_EQ(sizeof(AtomicStruct<S8>), 8);
 }
-
-int main(int argc, char** argv) {
-  testing::InitGoogleTest(&argc, argv);
-  google::ParseCommandLineFlags(&argc, &argv, true);
-  return RUN_ALL_TESTS();
-}