MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / ReadTestSuiteFromPath

Function ReadTestSuiteFromPath

testing/testrunner/runner_bin.cc:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135TestSuite 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
146absl::StatusOr<CheckedExpr> ReadCheckedExprFromFile(
147 absl::string_view file_path) {

Callers 1

GetTestSuiteFunction · 0.85

Calls 1

okMethod · 0.45

Tested by

no test coverage detected