stifui/qt/src/stfqtuimodel.cpp
branchRCL_3
changeset 42 d40e813b23c0
parent 22 822c625f7adc
equal deleted inserted replaced
33:65b472535a0d 42:d40e813b23c0
    89             abortCaseList.append(aCase);
    89             abortCaseList.append(aCase);
    90             break;
    90             break;
    91         case EStatusCrashed:
    91         case EStatusCrashed:
    92             crashedCaseList.append(aCase);
    92             crashedCaseList.append(aCase);
    93             break;
    93             break;
       
    94         default:
       
    95             break;            
    94         }
    96         }
    95     FireOnCaseStatisticChangedEvent();
    97     FireOnCaseStatisticChangedEvent();
    96     }
    98     }
    97 
    99 
    98 QList<CSTFCase> StfQtUIModel::GetCasesByStatus(const TSTFCaseStatusType& type)
   100 QList<CSTFCase> StfQtUIModel::GetCasesByStatus(const TSTFCaseStatusType& type)
   109             return failedCaseList;
   111             return failedCaseList;
   110         case EStatusAborted:
   112         case EStatusAborted:
   111             return abortCaseList;
   113             return abortCaseList;
   112         case EStatusCrashed:
   114         case EStatusCrashed:
   113             return crashedCaseList;
   115             return crashedCaseList;
       
   116         default:
       
   117             break;
   114         }
   118         }
   115     QList<CSTFCase> list;
   119     QList<CSTFCase> list;
   116     return list;
   120     return list;
   117     }
   121     }
   118 
   122 
   157     failedCaseList.clear();
   161     failedCaseList.clear();
   158     abortCaseList.clear();
   162     abortCaseList.clear();
   159     crashedCaseList.clear();
   163     crashedCaseList.clear();
   160     FireOnCaseStatisticChangedEvent();
   164     FireOnCaseStatisticChangedEvent();
   161     }
   165     }
       
   166 
       
   167 // End of File