Gazebo Utils

API Reference

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

Go to the source code of this file.

Macros

#define GZ_UTILS_TEST_DISABLED_ON_ARM32(TestName)    DETAIL_GZ_UTILS_TEST_DISABLED_ON_ARM32(TestName)
 Restrict the execution of the test for the ARM32 architecture The test will be compiled on ARM32 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 GZ_UTILS_TEST_DISABLED_ON_ARM64(TestName)    DETAIL_GZ_UTILS_TEST_DISABLED_ON_ARM64(TestName)
 Restrict the execution of the test for the ARM64 architecture The test will be compiled on Linux 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 GZ_UTILS_TEST_DISABLED_ON_LINUX(TestName)    DETAIL_GZ_UTILS_TEST_DISABLED_ON_LINUX(TestName)
 Restrict the execution of the test for the Linux platform The test will be compiled on Linux 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 GZ_UTILS_TEST_DISABLED_ON_MAC(TestName)    DETAIL_GZ_UTILS_TEST_DISABLED_ON_MAC(TestName)
 Restrict the execution of the test for the Mac platform. The test will be compiled on Mac 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 GZ_UTILS_TEST_DISABLED_ON_WIN32(TestName)    DETAIL_GZ_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 GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM32(TestName)    DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM32(TestName)
 Restrict the execution of the test to just the ARM32 architecture 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...
 
#define GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM64(TestName)    DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM64(TestName)
 Restrict the execution of the test to just the ARM64 architecture 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...
 
#define GZ_UTILS_TEST_ENABLED_ONLY_ON_LINUX(TestName)    DETAIL_GZ_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...
 
#define GZ_UTILS_TEST_ENABLED_ONLY_ON_MAC(TestName)    DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_MAC(TestName)
 Restrict the execution of the test to just the MacOS 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...
 
#define GZ_UTILS_TEST_ENABLED_ONLY_ON_WINDOWS(TestName)    DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_WINDOWS(TestName)
 Restrict the execution of the test to just the Windows 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

◆ GZ_UTILS_TEST_DISABLED_ON_ARM32

#define GZ_UTILS_TEST_DISABLED_ON_ARM32 (   TestName)     DETAIL_GZ_UTILS_TEST_DISABLED_ON_ARM32(TestName)

Restrict the execution of the test for the ARM32 architecture The test will be compiled on ARM32 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.

◆ GZ_UTILS_TEST_DISABLED_ON_ARM64

#define GZ_UTILS_TEST_DISABLED_ON_ARM64 (   TestName)     DETAIL_GZ_UTILS_TEST_DISABLED_ON_ARM64(TestName)

Restrict the execution of the test for the ARM64 architecture The test will be compiled on Linux 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.

◆ GZ_UTILS_TEST_DISABLED_ON_LINUX

#define GZ_UTILS_TEST_DISABLED_ON_LINUX (   TestName)     DETAIL_GZ_UTILS_TEST_DISABLED_ON_LINUX(TestName)

Restrict the execution of the test for the Linux platform The test will be compiled on Linux 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.

◆ GZ_UTILS_TEST_DISABLED_ON_MAC

#define GZ_UTILS_TEST_DISABLED_ON_MAC (   TestName)     DETAIL_GZ_UTILS_TEST_DISABLED_ON_MAC(TestName)

Restrict the execution of the test for the Mac platform. The test will be compiled on Mac 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.

◆ GZ_UTILS_TEST_DISABLED_ON_WIN32

#define GZ_UTILS_TEST_DISABLED_ON_WIN32 (   TestName)     DETAIL_GZ_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.

◆ GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM32

#define GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM32 (   TestName)     DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM32(TestName)

Restrict the execution of the test to just the ARM32 architecture 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.

◆ GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM64

#define GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM64 (   TestName)     DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_ARM64(TestName)

Restrict the execution of the test to just the ARM64 architecture 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.

◆ GZ_UTILS_TEST_ENABLED_ONLY_ON_LINUX

#define GZ_UTILS_TEST_ENABLED_ONLY_ON_LINUX (   TestName)     DETAIL_GZ_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.

◆ GZ_UTILS_TEST_ENABLED_ONLY_ON_MAC

#define GZ_UTILS_TEST_ENABLED_ONLY_ON_MAC (   TestName)     DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_MAC(TestName)

Restrict the execution of the test to just the MacOS 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.

◆ GZ_UTILS_TEST_ENABLED_ONLY_ON_WINDOWS

#define GZ_UTILS_TEST_ENABLED_ONLY_ON_WINDOWS (   TestName)     DETAIL_GZ_UTILS_TEST_ENABLED_ONLY_ON_WINDOWS(TestName)

Restrict the execution of the test to just the Windows 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.