Fix spelling of unitttest_public

Change-Id: Id90dbfe30bb1f1c147299c4ac8cd210dbe7d8b82
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2017-02-02 17:14:53 +01:00
committed by Tim Jenssen
parent 8c3307a51a
commit 79e73ea4ee
10 changed files with 14 additions and 14 deletions

View File

@@ -48,9 +48,9 @@
#endif #endif
#ifdef UNIT_TESTS #ifdef UNIT_TESTS
#define unitttest_public public #define unittest_public public
#else #else
#define unitttest_public private #define unittest_public private
#endif #endif
namespace ClangBackEnd { namespace ClangBackEnd {

View File

@@ -48,9 +48,9 @@
#include <vector> #include <vector>
#ifdef UNIT_TESTS #ifdef UNIT_TESTS
#define unitttest_public public #define unittest_public public
#else #else
#define unitttest_public private #define unittest_public private
#endif #endif
namespace Utils { namespace Utils {
@@ -658,7 +658,7 @@ public:
return comparison < 0; return comparison < 0;
} }
unitttest_public: unittest_public:
bool isShortString() const noexcept bool isShortString() const noexcept
{ {
return !m_data.shortString.isReference; return !m_data.shortString.isReference;

View File

@@ -45,7 +45,7 @@ public:
void setConnectionClient(PchManagerConnectionClient *connectionClient); void setConnectionClient(PchManagerConnectionClient *connectionClient);
unitttest_public: unittest_public:
const std::vector<PchManagerNotifierInterface*> &notifiers() const; const std::vector<PchManagerNotifierInterface*> &notifiers() const;
void precompiledHeaderUpdated(const QString &projectPartId, const QString &pchFilePath); void precompiledHeaderUpdated(const QString &projectPartId, const QString &pchFilePath);

View File

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

View File

@@ -67,7 +67,7 @@ public:
[this, callback=std::move(callback)] { callback(takeFilePaths()); }); [this, callback=std::move(callback)] { callback(takeFilePaths()); });
} }
unitttest_public: unittest_public:
virtual void restartTimer() virtual void restartTimer()
{ {
m_timer.start(20); m_timer.start(20);

View File

@@ -110,7 +110,7 @@ public:
m_notifier = notifier; m_notifier = notifier;
} }
unitttest_public: unittest_public:
static std::vector<uint> idsFromIdPaths(const std::vector<IdPaths> &idPaths) static std::vector<uint> idsFromIdPaths(const std::vector<IdPaths> &idPaths)
{ {
std::vector<uint> ids; std::vector<uint> ids;

View File

@@ -28,10 +28,10 @@
#include <utils/smallstringfwd.h> #include <utils/smallstringfwd.h>
#ifdef UNIT_TESTS #ifdef UNIT_TESTS
#define unitttest_public public #define unittest_public public
#define non_unittest_final #define non_unittest_final
#else #else
#define unitttest_public private #define unittest_public private
#define non_unittest_final final #define non_unittest_final final
#endif #endif

View File

@@ -61,7 +61,7 @@ public:
void setGenerator(PchGeneratorInterface *pchGenerator); void setGenerator(PchGeneratorInterface *pchGenerator);
unitttest_public: unittest_public:
Utils::PathStringVector generateGlobalHeaderPaths() const; Utils::PathStringVector generateGlobalHeaderPaths() const;
Utils::PathStringVector generateGlobalSourcePaths() const; Utils::PathStringVector generateGlobalSourcePaths() const;
Utils::PathStringVector generateGlobalHeaderAndSourcePaths() const; Utils::PathStringVector generateGlobalHeaderAndSourcePaths() const;

View File

@@ -63,7 +63,7 @@ public:
m_notifier = notifier; m_notifier = notifier;
} }
unitttest_public: unittest_public:
Process *addTask(Utils::SmallStringVector &&compilerArguments, ProjectPartPch &&projectPartPch) Process *addTask(Utils::SmallStringVector &&compilerArguments, ProjectPartPch &&projectPartPch)
{ {
auto process = std::make_unique<Process>(); auto process = std::make_unique<Process>();

View File

@@ -42,7 +42,7 @@ public:
void remove(const Utils::SmallStringVector &projectPartIds) override; void remove(const Utils::SmallStringVector &projectPartIds) override;
V2::ProjectPartContainers projects(const Utils::SmallStringVector &projectPartIds) const override; V2::ProjectPartContainers projects(const Utils::SmallStringVector &projectPartIds) const override;
unitttest_public: unittest_public:
static V2::ProjectPartContainers uniqueProjectParts(V2::ProjectPartContainers &&projectsParts); static V2::ProjectPartContainers uniqueProjectParts(V2::ProjectPartContainers &&projectsParts);
V2::ProjectPartContainers newProjectParts(V2::ProjectPartContainers &&projectsParts) const; V2::ProjectPartContainers newProjectParts(V2::ProjectPartContainers &&projectsParts) const;
void mergeProjectParts(const V2::ProjectPartContainers &projectsParts); void mergeProjectParts(const V2::ProjectPartContainers &projectsParts);