Gazebo Utils

API Reference

2.2.0
gz/utils/ExtraTestMacros.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 
18 #ifndef GZ_UTILS_EXTRATESTMACROS_HH
19 #define GZ_UTILS_EXTRATESTMACROS_HH
20 
21 #include <gz/utils/detail/ExtraTestMacros.hh>
22 
28 #define GZ_UTILS_TEST_ENABLED_ONLY_ON_WINDOWS(TestName) \
29  DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_WINDOWS(TestName)
30 
36 #define GZ_UTILS_TEST_DISABLED_ON_WIN32(TestName) \
37  DETAIL_GZ_UTILS_TEST_DISABLED_ON_WIN32(TestName)
38 
44 #define GZ_UTILS_TEST_ENABLED_ONLY_ON_MAC(TestName) \
45  DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_MAC(TestName)
46 
52 #define GZ_UTILS_TEST_DISABLED_ON_MAC(TestName) \
53  DETAIL_GZ_UTILS_TEST_DISABLED_ON_MAC(TestName)
54 
60 #define GZ_UTILS_TEST_ENABLED_ONLY_ON_LINUX(TestName) \
61  DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_LINUX(TestName)
62 
68 #define GZ_UTILS_TEST_DISABLED_ON_LINUX(TestName) \
69  DETAIL_GZ_UTILS_TEST_DISABLED_ON_LINUX(TestName)
70 
76 #define GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM32(TestName) \
77  DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM32(TestName)
78 
84 #define GZ_UTILS_TEST_DISABLED_ON_ARM32(TestName) \
85  DETAIL_GZ_UTILS_TEST_DISABLED_ON_ARM32(TestName)
86 
92 #define GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM64(TestName) \
93  DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM64(TestName)
94 
100 #define GZ_UTILS_TEST_DISABLED_ON_ARM64(TestName) \
101  DETAIL_GZ_UTILS_TEST_DISABLED_ON_ARM64(TestName)
102 
103 #endif // GZ_UTILS_EXTRATESTMACROS_HH