AutoTest: Shuffle namespaces for clearer separation

Change-Id: I6ac440c6d72c3d0dbcd75907f8a6ae756f3cf5ee
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2019-08-19 10:55:32 +02:00
parent df93c6c5a7
commit 03b80025a9
27 changed files with 56 additions and 66 deletions

View File

@@ -47,7 +47,6 @@ using namespace ProjectExplorer;
using namespace Utils;
namespace Autotest {
namespace Internal {
TestConfiguration::~TestConfiguration()
{
@@ -103,7 +102,7 @@ void TestConfiguration::completeTestInformation(ProjectExplorer::RunConfiguratio
m_buildDir = QFileInfo(buildBase + m_projectFile.mid(projBase.length())).absolutePath();
}
if (runMode == TestRunMode::Debug || runMode == TestRunMode::DebugWithoutDeploy)
m_runConfig = new TestRunConfiguration(rc->target(), this);
m_runConfig = new Internal::TestRunConfiguration(rc->target(), this);
}
void TestConfiguration::completeTestInformation(TestRunMode runMode)
@@ -202,7 +201,7 @@ void TestConfiguration::completeTestInformation(TestRunMode runMode)
m_runnable.executable = currentExecutable;
m_displayName = runConfig->displayName();
if (runMode == TestRunMode::Debug || runMode == TestRunMode::DebugWithoutDeploy)
m_runConfig = new TestRunConfiguration(target, this);
m_runConfig = new Internal::TestRunConfiguration(target, this);
break;
}
}
@@ -223,7 +222,7 @@ void TestConfiguration::completeTestInformation(TestRunMode runMode)
m_deducedConfiguration = true;
m_deducedFrom = rc->displayName();
if (runMode == TestRunMode::Debug)
m_runConfig = new TestRunConfiguration(rc->target(), this);
m_runConfig = new Internal::TestRunConfiguration(rc->target(), this);
} else {
qCDebug(LOG) << "not using the fallback as the current active run configuration "
"appears to be non-Desktop";
@@ -351,5 +350,4 @@ bool TestConfiguration::hasExecutable() const
return !m_runnable.executable.isEmpty();
}
} // namespace Internal
} // namespace Autotest