| 239 | } |
| 240 | |
| 241 | std::vector<std::pair<int, std::string>> TestDataGenerator::errorScenarios() { |
| 242 | return {{400, "Bad request - invalid parameters"}, |
| 243 | {401, "Unauthorized - invalid API key"}, |
| 244 | {403, "Forbidden - insufficient permissions"}, |
| 245 | {404, "Not found - invalid endpoint"}, |
| 246 | {429, "Rate limit exceeded"}, |
| 247 | {500, "Internal server error"}, |
| 248 | {502, "Bad gateway"}, |
| 249 | {503, "Service unavailable"}}; |
| 250 | } |
| 251 | |
| 252 | std::vector<std::string> TestDataGenerator::createStreamingEvents() { |
| 253 | return { |
nothing calls this directly
no outgoing calls
no test coverage detected