Skip to content

Commit

Permalink
Fix Windows visibility for Testing class
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Nov 7, 2023
1 parent 1af6703 commit 44f77e4
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions testing/include/gz/common/testing/TestPaths.hh
Original file line number Diff line number Diff line change
Expand Up @@ -63,27 +63,22 @@ class TestPaths
{
/// \brief Constructor
/// \param[in] _projectSourcePath Path to the root of the project source
public: GZ_COMMON_TESTING_VISIBLE
explicit TestPaths(const std::string &_projectSourcePath =
public: explicit GZ_COMMON_TESTING_VISIBLE TestPaths(const std::string &_projectSourcePath =
kTestingProjectSourceDir);

/// \brief Destructor
public: GZ_COMMON_TESTING_VISIBLE
virtual ~TestPaths() = 0;
public: virtual ~TestPaths() = 0;

/// brief Populate the path to the root project source directory
/// \param[out] _sourceDir path to the root project source directory
/// \return True if path successfully found and set, false otherwise
public: virtual bool GZ_COMMON_TESTING_VISIBLE
ProjectSourcePath(std::string &_sourceDir) = 0;
public: virtual bool ProjectSourcePath(std::string &_sourceDir) = 0;

/// \brief Populate the path to a temporary directory
/// \param[out] _tmpDir path to the root temporary directory
/// \return True if path successfully found and set, false otherwise
public: virtual bool GZ_COMMON_TESTING_VISIBLE
TestTmpPath(std::string &_tmpDir) = 0;
public: virtual bool TestTmpPath(std::string &_tmpDir) = 0;

/// \brief Path to the root of the project source
protected: std::string projectSourcePath;
};

Expand Down

0 comments on commit 44f77e4

Please sign in to comment.