Android-cuttlefish cvd tool
Namespaces | Functions
result_matchers.h File Reference
#include <type_traits>
#include <android-base/expected.h>
#include <gmock/gmock.h>
#include "cuttlefish/common/libs/utils/result.h"
Include dependency graph for result_matchers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 

Functions

 cuttlefish::MATCHER (IsOk, "an ok result")
 
 cuttlefish::MATCHER (IsError, "an error result")
 
 cuttlefish::MATCHER_P (IsOkAndValue, result_value_matcher, "")
 
 cuttlefish::MATCHER_P (IsErrorAndMessage, message_matcher, "")