Gazebo Utils

API Reference

1.5.1
gz/utils/ExtraTestMacros.hh File Reference
#include <gz/utils/detail/ExtraTestMacros.hh>

Go to the source code of this file.

Macros

#define IGN_UTILS_TEST_DISABLED_ON_MAC(TestName)   DETAIL_IGN_UTILS_TEST_DISABLED_ON_MAC(TestName)
 Restrict the execution of the test for the Mac platform. The test will be compiled on Windows too but will never be run as part of the test suite. The macro uses the Disabled_ prefix provided by googletest. See https://chromium.googlesource.com/external/github.com/google/googletest/+/HEAD/googletest/docs/advanced.md. More...
 
#define IGN_UTILS_TEST_DISABLED_ON_WIN32(TestName)   DETAIL_IGN_UTILS_TEST_DISABLED_ON_WIN32(TestName)
 Restrict the execution of the test for the Windows platform. The test will be compiled on Windows too but will never be run as part of the test suite. The macro uses the Disabled_ prefix provided by googletest. See https://chromium.googlesource.com/external/github.com/google/googletest/+/HEAD/googletest/docs/advanced.md. More...
 
#define IGN_UTILS_TEST_ENABLED_ONLY_ON_LINUX(TestName)   DETAIL_IGN_UTILS_TEST_ENABLED_ONLY_ON_LINUX(TestName)
 Restrict the execution of the test to just the Linux platform Other platforms will get the test compiled but it won't be run as part of the test suite execution. The macro uses the Disabled_ prefix provided by googletest. See https://chromium.googlesource.com/external/github.com/google/googletest/+/HEAD/googletest/docs/advanced.md. More...
 

Macro Definition Documentation

◆ IGN_UTILS_TEST_DISABLED_ON_MAC

#define IGN_UTILS_TEST_DISABLED_ON_MAC (   TestName)    DETAIL_IGN_UTILS_TEST_DISABLED_ON_MAC(TestName)

Restrict the execution of the test for the Mac platform. The test will be compiled on Windows too but will never be run as part of the test suite. The macro uses the Disabled_ prefix provided by googletest. See https://chromium.googlesource.com/external/github.com/google/googletest/+/HEAD/googletest/docs/advanced.md.

◆ IGN_UTILS_TEST_DISABLED_ON_WIN32

#define IGN_UTILS_TEST_DISABLED_ON_WIN32 (   TestName)    DETAIL_IGN_UTILS_TEST_DISABLED_ON_WIN32(TestName)

Restrict the execution of the test for the Windows platform. The test will be compiled on Windows too but will never be run as part of the test suite. The macro uses the Disabled_ prefix provided by googletest. See https://chromium.googlesource.com/external/github.com/google/googletest/+/HEAD/googletest/docs/advanced.md.

◆ IGN_UTILS_TEST_ENABLED_ONLY_ON_LINUX

#define IGN_UTILS_TEST_ENABLED_ONLY_ON_LINUX (   TestName)    DETAIL_IGN_UTILS_TEST_ENABLED_ONLY_ON_LINUX(TestName)

Restrict the execution of the test to just the Linux platform Other platforms will get the test compiled but it won't be run as part of the test suite execution. The macro uses the Disabled_ prefix provided by googletest. See https://chromium.googlesource.com/external/github.com/google/googletest/+/HEAD/googletest/docs/advanced.md.