projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various improvements to the Synchronized tests
[folly.git]
/
folly
/
test
/
SynchronizedTest.cpp
diff --git
a/folly/test/SynchronizedTest.cpp
b/folly/test/SynchronizedTest.cpp
index 29a8d031592951156b552c4ca029145293824a65..d89b9f448e1fc7a06b24f09083042e84113f64f2 100644
(file)
--- a/
folly/test/SynchronizedTest.cpp
+++ b/
folly/test/SynchronizedTest.cpp
@@
-27,7
+27,7
@@
#include <folly/test/SynchronizedTestLib.h>
#include <gtest/gtest.h>
#include <folly/test/SynchronizedTestLib.h>
#include <gtest/gtest.h>
-namespace {
+using namespace folly::sync_tests;
template <class Mutex>
class SynchronizedTest : public testing::Test {};
template <class Mutex>
class SynchronizedTest : public testing::Test {};
@@
-224,4
+224,3
@@
TEST_F(SynchronizedLockTest, NestedSyncUnSync2) {
}
EXPECT_EQ((CountPair{4, 4}), FakeMutex::getLockUnlockCount());
}
}
EXPECT_EQ((CountPair{4, 4}), FakeMutex::getLockUnlockCount());
}
-}