| 189 | } |
| 190 | |
| 191 | gcs::Client GcsClient() { |
| 192 | return gcs::Client( |
| 193 | google::cloud::Options{} |
| 194 | .set<gcs::RestEndpointOption>("http://127.0.0.1:" + Testbench()->port()) |
| 195 | .set<gc::UnifiedCredentialsOption>(gc::MakeInsecureCredentials())); |
| 196 | } |
| 197 | |
| 198 | std::string RandomLine(int lineno, std::size_t width) { |
| 199 | auto line = std::to_string(lineno) + ": "; |