| 344 | } |
| 345 | |
| 346 | Status TestFlightServer::RunAction1(const Action& action, |
| 347 | std::unique_ptr<ResultStream>* out) { |
| 348 | std::vector<Result> results; |
| 349 | for (int i = 0; i < 3; ++i) { |
| 350 | Result result; |
| 351 | std::string value = action.body->ToString() + "-part" + std::to_string(i); |
| 352 | result.body = Buffer::FromString(std::move(value)); |
| 353 | results.push_back(result); |
| 354 | } |
| 355 | *out = std::make_unique<SimpleResultStream>(std::move(results)); |
| 356 | return Status::OK(); |
| 357 | } |
| 358 | |
| 359 | Status TestFlightServer::RunAction2(std::unique_ptr<ResultStream>* out) { |
| 360 | // Empty |
nothing calls this directly
no test coverage detected