test-access-control.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
21 #ifndef PSYNC_TEST_ACCESS_CONTROL_HPP
22 #define PSYNC_TEST_ACCESS_CONTROL_HPP
23 
24 #include "PSync/detail/config.hpp"
25 
26 #ifdef WITH_TESTS
27 #define VIRTUAL_WITH_TESTS virtual
28 #define PUBLIC_WITH_TESTS_ELSE_PROTECTED public
29 #define PUBLIC_WITH_TESTS_ELSE_PRIVATE public
30 #define PROTECTED_WITH_TESTS_ELSE_PRIVATE protected
31 #else
32 #define VIRTUAL_WITH_TESTS
33 #define PUBLIC_WITH_TESTS_ELSE_PROTECTED protected
34 #define PUBLIC_WITH_TESTS_ELSE_PRIVATE private
35 #define PROTECTED_WITH_TESTS_ELSE_PRIVATE private
36 #endif
37 
38 #endif // PSYNC_TEST_ACCESS_CONTROL_HPP