forked from qt-creator/qt-creator
AutoTest: Use using namespace Utils more often
Change-Id: I9d20cd3496c4719d58a977f8fd53253c86d55463 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -13,11 +13,13 @@
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/stringutils.h>
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace Autotest {
|
||||
namespace Internal {
|
||||
|
||||
TestOutputReader *BoostTestConfiguration::createOutputReader(
|
||||
const QFutureInterface<TestResult> &fi, Utils::QtcProcess *app) const
|
||||
const QFutureInterface<TestResult> &fi, QtcProcess *app) const
|
||||
{
|
||||
auto settings = static_cast<BoostTestSettings *>(framework()->testSettings());
|
||||
return new BoostTestOutputReader(fi, app, buildDirectory(), projectFile(),
|
||||
@@ -113,11 +115,11 @@ QStringList BoostTestConfiguration::argumentsForTestRunner(QStringList *omitted)
|
||||
return arguments;
|
||||
}
|
||||
|
||||
Utils::Environment BoostTestConfiguration::filteredEnvironment(const Utils::Environment &original) const
|
||||
Environment BoostTestConfiguration::filteredEnvironment(const Environment &original) const
|
||||
{
|
||||
const QStringList interferingEnv = interfering(InterferingType::EnvironmentVariables);
|
||||
|
||||
Utils::Environment result = original;
|
||||
Environment result = original;
|
||||
if (!result.hasKey("BOOST_TEST_COLOR_OUTPUT"))
|
||||
result.set("BOOST_TEST_COLOR_OUTPUT", "1"); // use colored output by default
|
||||
for (const QString &key : interferingEnv)
|
||||
|
||||
Reference in New Issue
Block a user