diff options
Diffstat (limited to 'src/plugins/cpptools/cpppreprocessertesthelper.cpp')
-rw-r--r-- | src/plugins/cpptools/cpppreprocessertesthelper.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpppreprocessertesthelper.cpp b/src/plugins/cpptools/cpppreprocessertesthelper.cpp index dc1f48df35..64831295b1 100644 --- a/src/plugins/cpptools/cpppreprocessertesthelper.cpp +++ b/src/plugins/cpptools/cpppreprocessertesthelper.cpp @@ -32,7 +32,8 @@ #include <QDir> -using namespace CppTools; +namespace CppTools { +namespace Tests { QString TestIncludePaths::includeBaseDirectory() { @@ -54,3 +55,11 @@ QString TestIncludePaths::directoryOfTestFile() { return QDir::cleanPath(includeBaseDirectory() + QLatin1String("/local")); } + +QString TestIncludePaths::testFilePath(const QString &fileName) +{ + return Tests::TestIncludePaths::directoryOfTestFile() + QLatin1Char('/') + fileName; +} + +} // namespace Tests +} // namespace CppTools |