searchengine/cpix/tsrc/cpixunittest/src/suggestion.cpp
changeset 24 65456528cac2
parent 14 8bd192d47aaa
equal deleted inserted replaced
23:d4d56f5e7c55 24:65456528cac2
   136                           doc,
   136                           doc,
   137                           1);
   137                           1);
   138             if (doc[0]->ptr_ != NULL) {
   138             if (doc[0]->ptr_ != NULL) {
   139             if (cpix_Failed(hits))
   139             if (cpix_Failed(hits))
   140                 {
   140                 {
   141             ITK_EXPECT(testMgr,
   141                     ITK_EXPECT(testMgr,
   142                     false,
   142                             false,
   143                     "Failed to get doc %d",
   143                             "Failed to get doc %d",
   144                     i);
   144                             i);
   145             cpix_ClearError(hits);
   145                     cpix_ClearError(hits);
   146             goOn = false;
   146                     goOn = false;
   147             break;
   147                     break;
   148                 }
   148                 }
   149 
   149 
   150             suggestions.push_back(Suggestion(doc[0],
   150             suggestions.push_back(Suggestion(doc[0],
   151                     testMgr));
   151                     testMgr));
   152             }
   152             }