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