Home
last modified time | relevance | path

Searched refs:IsOk (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/common/libs/utils/
Dflag_parser_test.cpp50 ASSERT_THAT(flag.Parse({"-myflag=a"}), IsOk()); in TEST()
52 ASSERT_THAT(flag.Parse({"--myflag=b"}), IsOk()); in TEST()
54 ASSERT_THAT(flag.Parse({"-myflag", "c"}), IsOk()); in TEST()
56 ASSERT_THAT(flag.Parse({"--myflag", "d"}), IsOk()); in TEST()
58 ASSERT_THAT(flag.Parse({"--myflag="}), IsOk()); in TEST()
65 ASSERT_THAT(flag.Parse({"-my-flag=a"}), IsOk()); in TEST()
67 ASSERT_THAT(flag.Parse({"--my-flag=b"}), IsOk()); in TEST()
69 ASSERT_THAT(flag.Parse({"-my-flag", "c"}), IsOk()); in TEST()
71 ASSERT_THAT(flag.Parse({"--my-flag", "d"}), IsOk()); in TEST()
73 ASSERT_THAT(flag.Parse({"--my-flag="}), IsOk()); in TEST()
[all …]
Dresult_matchers.h27 MATCHER(IsOk, "an ok result") {
50 ::testing::AllOf(IsOk(), ::testing::Property("value", &ResultType::value,
/device/google/cuttlefish/common/libs/security/
Dconfui_sign.cpp69 if (!IsOk()) { in Receive()
97 if (!impl_.IsOk()) { in Send()
101 return impl_.IsOk(); in Send()
106 return impl_.IsOk(); in Request()
110 if (!impl_.IsOk()) { in Receive()
Dconfui_sign.h50 bool IsOk() const { return !IsIoError() && !IsLogicError(); } in IsOk() function
79 bool IsOk() const { return impl_.IsOk(); } in IsOk() function