-
#include "tensorstore/util/status_testutil.h" -
template <typename CodeMatcher, typename MessageMatcher>
auto tensorstore::StatusIs(CodeMatcher code_matcher,
MessageMatcher message_matcher); -
template <typename CodeMatcher>
auto tensorstore::StatusIs(CodeMatcher code_matcher); Returns a gMock matcher that matches an
absl::Status,Result, orFuturewhose status code matchescode_matcherand whose error message matchesmessage_matcher(if specified).