searchengine/cpix/tsrc/cpixunittest/src/testutils.cpp
changeset 24 65456528cac2
parent 14 8bd192d47aaa
--- a/searchengine/cpix/tsrc/cpixunittest/src/testutils.cpp	Tue Oct 05 13:15:12 2010 +0530
+++ b/searchengine/cpix/tsrc/cpixunittest/src/testutils.cpp	Fri Oct 15 12:09:28 2010 +0530
@@ -226,10 +226,8 @@
                       idxDbPath(),
                       qualBaseAppClass(),
                       report);
-            assert_failed = 1;
-        }
-
-    schemaId_ = addSchema();
+}
+             schemaId_ = addSchema();
 }
 
 void IdxUtil::reload() throw (Itk::PanicExc)
@@ -290,7 +288,7 @@
 	
     if ( cpix_Failed( idxDb_ ) )
     {
-        assert_failed = 1;
+
 		ITK_PANIC("Could not flush idx db '%s' for '%s'",
 				  idxDbPath(),
 				  qualBaseAppClass());
@@ -499,10 +497,7 @@
                     result,
                     docUid.c_str());
         }
-    else
-        {
-            assert_failed = 1;
-        }
+
 }
 
 
@@ -592,12 +587,11 @@
                        failureStr,
                        id,
                        report);
-            assert_failed = 1;
+            
             cpix_ClearError(idxDb());
         }
 }
 
-
 std::wstring SmsIdxUtil::getIdStr(cpix_Document * doc,
                                   Itk::TestMgr  * testMgr)
 {