17 #ifndef GZ_COMMON_TESTING_TESTPATHS_HH_
18 #define GZ_COMMON_TESTING_TESTPATHS_HH_
27 #include "gz/common/testing/Export.hh"
29 #ifndef TESTING_PROJECT_SOURCE_DIR
30 #define TESTING_PROJECT_SOURCE_DIR ""
33 namespace gz::common::testing
49 enum class GZ_COMMON_TESTING_VISIBLE BuildType
66 public: GZ_COMMON_TESTING_VISIBLE
71 public: GZ_COMMON_TESTING_VISIBLE
77 public:
virtual bool GZ_COMMON_TESTING_VISIBLE
83 public:
virtual bool GZ_COMMON_TESTING_VISIBLE
102 GZ_COMMON_TESTING_VISIBLE
106 bool _cleanup =
true);
123 bool _cleanup =
true)
137 GZ_COMMON_TESTING_VISIBLE
147 GZ_COMMON_TESTING_VISIBLE
159 template <
typename... Args>
163 assert(
nullptr != testPaths);
166 testPaths->ProjectSourcePath(dataDir);
178 template <
typename... Args>
192 template <
typename... Args>
196 assert(
nullptr != testPaths);
199 testPaths->TestTmpPath(dataDir);
203 #endif // GZ_COMMON_TESTING_TESTPATHS_HH_