From 1b2e5e95f7dd4c92b1f29294b55c74a29f69ea03 Mon Sep 17 00:00:00 2001 From: Nick Draper <nick.draper@stfc.ac.uk> Date: Thu, 25 Oct 2007 10:49:57 +0000 Subject: [PATCH] Removed the num name from the call. C++ is wierd re #21 --- Code/Mantid/Kernel/test/ConfigSvcTest.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Code/Mantid/Kernel/test/ConfigSvcTest.h b/Code/Mantid/Kernel/test/ConfigSvcTest.h index 0816a97927c..d73ae1642fd 100644 --- a/Code/Mantid/Kernel/test/ConfigSvcTest.h +++ b/Code/Mantid/Kernel/test/ConfigSvcTest.h @@ -32,13 +32,13 @@ public: TS_ASSERT_THROWS_NOTHING(log1.fatal("a fatal string")); //checking the level - this should be set to debug in the config file - //therefore this should only return false for trace - TS_ASSERT(log1.is(Logger::Priority::PRIO_DEBUG) == false); //debug - TS_ASSERT(log1.is(Logger::Priority::PRIO_INFORMATION)); //information - TS_ASSERT(log1.is(Logger::Priority::PRIO_WARNING)); //warning - TS_ASSERT(log1.is(Logger::Priority::PRIO_ERROR)); //error - TS_ASSERT(log1.is(Logger::Priority::PRIO_CRITICAL)); //critical - TS_ASSERT(log1.is(Logger::Priority::PRIO_FATAL)); //fatal + //therefore this should only return false for debug + TS_ASSERT(log1.is(Logger::PRIO_DEBUG) == false); //debug + TS_ASSERT(log1.is(Logger::PRIO_INFORMATION)); //information + TS_ASSERT(log1.is(Logger::PRIO_WARNING)); //warning + TS_ASSERT(log1.is(Logger::PRIO_ERROR)); //error + TS_ASSERT(log1.is(Logger::PRIO_CRITICAL)); //critical + TS_ASSERT(log1.is(Logger::PRIO_FATAL)); //fatal } -- GitLab