Lines Matching refs:TaskGeneric
35 : TaskGeneric(TaskGeneric::ETaskCase), in TaskCase()
56 bool TaskCase::addChild(TaskGeneric* child) in addChild()
58 if ((child->getType() != TaskGeneric::ETaskSetup) in addChild()
59 && (child->getType() != TaskGeneric::ETaskAction) in addChild()
60 && (child->getType() != TaskGeneric::ETaskSave)) { in addChild()
64 return TaskGeneric::addChild(child); in addChild()
306 TaskGeneric::ExecutionResult TaskCase::run() in run()
315 std::list<TaskGeneric*>::iterator i = getChildren().begin(); in run()
316 std::list<TaskGeneric*>::iterator end = getChildren().end(); in run()
317 TaskGeneric* setup = *i; in run()
319 TaskGeneric* action = *i; in run()
321 TaskGeneric* save = (i == end)? NULL : *i; in run()
326 TaskGeneric::ExecutionResult result = setup->run(); in run()
327 TaskGeneric::ExecutionResult resultAction(TaskGeneric::EResultOK); in run()
328 if (result != TaskGeneric::EResultOK) { in run()
333 if (resultAction != TaskGeneric::EResultPass) { in run()
341 if (result != TaskGeneric::EResultOK) { in run()
347 result = TaskGeneric::EResultPass; in run()
351 if (resultAction != TaskGeneric::EResultOK) { in run()