Function Catch::parseReporterSpec

Function Documentation

Optional<ReporterSpec> Catch::parseReporterSpec(StringRef reporterSpec)

Parses provided reporter spec string into

Returns empty optional on errors, e.g.

  • field that is not first and not a key+value pair

  • duplicated keys in kv pair

  • unknown catch reporter option

  • empty key/value in an custom kv pair