| 133 | } |
| 134 | |
| 135 | TestSuite ReadTestSuiteFromPath(absl::string_view test_suite_path) { |
| 136 | absl::StatusOr<TestSuite> test_suite_or = |
| 137 | ReadTextProtoFromFile<TestSuite>(test_suite_path); |
| 138 | |
| 139 | if (!test_suite_or.ok()) { |
| 140 | ABSL_LOG(FATAL) << "Failed to load test suite from " << test_suite_path |
| 141 | << ": " << test_suite_or.status(); |
| 142 | } |
| 143 | return *std::move(test_suite_or); |
| 144 | } |
| 145 | |
| 146 | absl::StatusOr<CheckedExpr> ReadCheckedExprFromFile( |
| 147 | absl::string_view file_path) { |