test: remove BasicTestingSetup from sync unit tests

This commit is contained in:
fanquake 2021-05-27 13:51:11 +08:00
parent 1aee83421f
commit ef8bb0473b
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -8,6 +8,7 @@
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <mutex> #include <mutex>
#include <stdexcept>
namespace { namespace {
template <typename MutexType> template <typename MutexType>
@ -76,7 +77,7 @@ void TestInconsistentLockOrderDetected(MutexType& mutex1, MutexType& mutex2) NO_
} }
} // namespace } // namespace
BOOST_FIXTURE_TEST_SUITE(sync_tests, BasicTestingSetup) BOOST_AUTO_TEST_SUITE(sync_tests)
BOOST_AUTO_TEST_CASE(potential_deadlock_detected) BOOST_AUTO_TEST_CASE(potential_deadlock_detected)
{ {