From 74ad9d2c0f5c1a5816258dccd08ceac40feed2bd Mon Sep 17 00:00:00 2001 From: Srikanth Ravipati <rsri131@gmail.com> Date: Wed, 24 Feb 2021 16:57:18 +0000 Subject: [PATCH] Fixed as per clang-format --- .../test/ReflectometryReductionOneAuto2Test.h | 7 ++++--- .../test/ReflectometryReductionOneAuto3Test.h | 7 ++++--- .../test/ISISReflectometry/Runs/RunsPresenterTest.h | 9 ++++----- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Framework/Reflectometry/test/ReflectometryReductionOneAuto2Test.h b/Framework/Reflectometry/test/ReflectometryReductionOneAuto2Test.h index f07fe29e7cb..de841e3f7f5 100644 --- a/Framework/Reflectometry/test/ReflectometryReductionOneAuto2Test.h +++ b/Framework/Reflectometry/test/ReflectometryReductionOneAuto2Test.h @@ -77,13 +77,14 @@ private: public: void setUp() override { - Mantid::Kernel::ConfigService::Instance().setString("default.facility", "ISIS"); + Mantid::Kernel::ConfigService::Instance().setString("default.facility", + "ISIS"); } void tearDown() override { - Mantid::Kernel::ConfigService::Instance().setString("default.facility", "NONE"); - + Mantid::Kernel::ConfigService::Instance().setString("default.facility", + "NONE"); } // This pair of boilerplate methods prevent the suite being created statically diff --git a/Framework/Reflectometry/test/ReflectometryReductionOneAuto3Test.h b/Framework/Reflectometry/test/ReflectometryReductionOneAuto3Test.h index cff9a152f47..8901ba99073 100644 --- a/Framework/Reflectometry/test/ReflectometryReductionOneAuto3Test.h +++ b/Framework/Reflectometry/test/ReflectometryReductionOneAuto3Test.h @@ -66,13 +66,14 @@ private: public: void setUp() override { - Mantid::Kernel::ConfigService::Instance().setString("default.facility", "ISIS"); + Mantid::Kernel::ConfigService::Instance().setString("default.facility", + "ISIS"); } void tearDown() override { - Mantid::Kernel::ConfigService::Instance().setString("default.facility", "NONE"); - + Mantid::Kernel::ConfigService::Instance().setString("default.facility", + "NONE"); } // This pair of boilerplate methods prevent the suite being created statically diff --git a/qt/scientific_interfaces/test/ISISReflectometry/Runs/RunsPresenterTest.h b/qt/scientific_interfaces/test/ISISReflectometry/Runs/RunsPresenterTest.h index 4d2bdfda946..aa12686b68b 100644 --- a/qt/scientific_interfaces/test/ISISReflectometry/Runs/RunsPresenterTest.h +++ b/qt/scientific_interfaces/test/ISISReflectometry/Runs/RunsPresenterTest.h @@ -40,17 +40,16 @@ using testing::ReturnRef; //===================================================================================== class RunsPresenterTest : public CxxTest::TestSuite { public: - void setUp() override { - Mantid::Kernel::ConfigService::Instance().setString("default.facility", "ISIS"); - + Mantid::Kernel::ConfigService::Instance().setString("default.facility", + "ISIS"); } void tearDown() override { - Mantid::Kernel::ConfigService::Instance().setString("default.facility", "NONE"); - + Mantid::Kernel::ConfigService::Instance().setString("default.facility", + "NONE"); } // This pair of boilerplate methods prevent the suite being created statically -- GitLab