From e20c0df7560e2e339b48cde3f4603080b78646a3 Mon Sep 17 00:00:00 2001 From: Floris Berendsen <floris.berendsen@gmail.com> Date: Mon, 8 Feb 2016 17:38:21 +0100 Subject: [PATCH] BUG: RegistrationItkv4Test.ImagesOnly wasn't executed --- Modules/Core/ComponentInterface/src/ComponentSelector.cxx | 4 ++-- Testing/Unit/elxRegistrationItkv4Test.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/Core/ComponentInterface/src/ComponentSelector.cxx b/Modules/Core/ComponentInterface/src/ComponentSelector.cxx index 7c884e80..23323c08 100644 --- a/Modules/Core/ComponentInterface/src/ComponentSelector.cxx +++ b/Modules/Core/ComponentInterface/src/ComponentSelector.cxx @@ -80,12 +80,12 @@ ComponentSelector::NumberOfComponentsType ComponentSelector::UpdatePossibleCompo message << "Too many criteria for component. There is no component in our database that fulfills this set of criteria: " << std::endl; for (CriteriaType::const_iterator criterion = this->m_Criteria.begin(); criterion != this->m_Criteria.cend(); ++criterion) { - message << " " << criterion->first << " : {"; + message << " " << criterion->first << " : { "; for (auto const & criterionValue : criterion->second) // auto&& preferred? { message << criterionValue << " "; } - message << " }" << std::endl; + message << "}" << std::endl; } std::cout << message.str(); diff --git a/Testing/Unit/elxRegistrationItkv4Test.cxx b/Testing/Unit/elxRegistrationItkv4Test.cxx index 2458204c..59ac2f1a 100644 --- a/Testing/Unit/elxRegistrationItkv4Test.cxx +++ b/Testing/Unit/elxRegistrationItkv4Test.cxx @@ -108,7 +108,7 @@ TEST_F(RegistrationItkv4Test, ImagesOnly) bool allUniqueComponents; EXPECT_NO_THROW(allUniqueComponents = overlord->Configure()); EXPECT_TRUE(allUniqueComponents); - //EXPECT_NO_THROW(overlord->Execute()); + EXPECT_NO_THROW(overlord->Execute()); } -- GitLab