X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Ftest%2FRWSpinLockTest.cpp;h=1f9c9eef91cc5f98395e8c7c4fe2f0975d661191;hb=f795d501ba155f3fac9ed8bec40cbbc8eb4045ad;hp=8518173063f48e933e23833076857484bc3b5495;hpb=01d9c7dda77f3a0141324946afedb19036bc1292;p=folly.git diff --git a/folly/test/RWSpinLockTest.cpp b/folly/test/RWSpinLockTest.cpp index 85181730..1f9c9eef 100644 --- a/folly/test/RWSpinLockTest.cpp +++ b/folly/test/RWSpinLockTest.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2013 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. @@ -18,15 +18,17 @@ // @author xliu (xliux@fb.com) // +#include + #include -#include #include #include -#include -#include #include -#include "folly/RWSpinLock.h" + +#include +#include +#include DEFINE_int32(num_threads, 8, "num threads"); @@ -234,9 +236,3 @@ TEST(RWSpinLock, concurrent_holder_test) { } } - -int main(int argc, char** argv) { - testing::InitGoogleTest(&argc, argv); - google::ParseCommandLineFlags(&argc, &argv, true); - return RUN_ALL_TESTS(); -}