forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user