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
/
SynchronizedTestLib.h
diff --git
a/folly/test/SynchronizedTestLib.h
b/folly/test/SynchronizedTestLib.h
index 8e73273d0209da831639d10baedd8fe387fd2f51..5bf969551433e1ea63f67dd483ae740926d7283e 100644
(file)
--- a/
folly/test/SynchronizedTestLib.h
+++ b/
folly/test/SynchronizedTestLib.h
@@
-28,21
+28,17
@@
//
// ... similar for testConcurrency, testDualLocking, etc.
//
// ... similar for testConcurrency, testDualLocking, etc.
-
+namespace folly {
+namespace sync_tests {
template <class Mutex> void testBasic();
template <class Mutex> void testBasic();
-
template <class Mutex> void testConcurrency();
template <class Mutex> void testConcurrency();
-
template <class Mutex> void testDualLocking();
template <class Mutex> void testDualLocking();
-
template <class Mutex> void testDualLockingWithConst();
template <class Mutex> void testDualLockingWithConst();
-
template <class Mutex> void testTimedSynchronized();
template <class Mutex> void testTimedSynchronized();
-
template <class Mutex> void testTimedSynchronizedWithConst();
template <class Mutex> void testTimedSynchronizedWithConst();
-
template <class Mutex> void testConstCopy();
template <class Mutex> void testConstCopy();
-
template <class Mutex> void testInPlaceConstruction();
template <class Mutex> void testInPlaceConstruction();
+}
+}
#include <folly/test/SynchronizedTestLib-inl.h>
#include <folly/test/SynchronizedTestLib-inl.h>