summaryrefslogtreecommitdiff
path: root/src/cppunit/DefaultProtector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppunit/DefaultProtector.cpp')
-rw-r--r--src/cppunit/DefaultProtector.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cppunit/DefaultProtector.cpp b/src/cppunit/DefaultProtector.cpp
index d05765c..72460a2 100644
--- a/src/cppunit/DefaultProtector.cpp
+++ b/src/cppunit/DefaultProtector.cpp
@@ -12,12 +12,7 @@ DefaultProtector::protect( const Functor &functor,
{
try
{
- // BUG: => should return what is returned. Need to update
- // UT to prove there is a bug. Consequence: runTest() is called
- // even if setUp() failed in a 'sub-protector'.
- functor();
- return true;
-// return functor();
+ return functor();
}
catch ( Exception &failure )
{