Utils: Change UNIT_TEST_PUBLIC in unitttest_public

Change-Id: If60f24e3b055d543ba7864d4eb7e8287721d1012
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tim Jenssen
2017-01-09 13:09:18 +01:00
committed by Marco Bubke
parent 16c2b73061
commit c191672013
2 changed files with 4 additions and 4 deletions

View File

@@ -59,9 +59,9 @@
#endif
#ifdef UNIT_TESTS
#define UNIT_TEST_PUBLIC public
#define unitttest_public public
#else
#define UNIT_TEST_PUBLIC private
#define unitttest_public private
#endif
namespace Utils {
@@ -519,7 +519,7 @@ public:
return joinedString;
}
UNIT_TEST_PUBLIC:
unitttest_public:
bool isShortString() const noexcept
{
return !m_data.shortString.isReference;

View File

@@ -68,7 +68,7 @@ public:
void setRefactoringConnectionClient(ClangBackEnd::RefactoringConnectionClient *connectionClient);
UNIT_TEST_PUBLIC:
unitttest_public:
void addSearchResult(const ClangBackEnd::SourceRangeWithTextContainer &sourceRange,
std::unordered_map<uint, QString> &filePaths);