diff -r 6c1a2771f4b7 -r ae3f1779f6da searchengine/cpix/tsrc/cpixunittest/src/testutils.cpp --- a/searchengine/cpix/tsrc/cpixunittest/src/testutils.cpp Fri May 14 16:57:37 2010 +0300 +++ b/searchengine/cpix/tsrc/cpixunittest/src/testutils.cpp Thu May 27 13:59:44 2010 +0300 @@ -34,6 +34,8 @@ #include "testutils.h" +#include "std_log_result.h" + std::wstring GetItemId(int itemIndex) { using namespace std; @@ -220,6 +222,7 @@ idxDbPath(), qualBaseAppClass(), report); + assert_failed = 1; } schemaId_ = addSchema(); @@ -283,6 +286,7 @@ if ( cpix_Failed( idxDb_ ) ) { + assert_failed = 1; ITK_PANIC("Could not flush idx db '%s' for '%s'", idxDbPath(), qualBaseAppClass()); @@ -488,6 +492,10 @@ result, docUid.c_str()); } + else + { + assert_failed = 1; + } } @@ -577,7 +585,7 @@ failureStr, id, report); - + assert_failed = 1; cpix_ClearError(idxDb()); } }