Searched refs:IsOk (Results 1 – 4 of 4) sorted by relevance
/device/google/cuttlefish/common/libs/utils/ |
D | flag_parser_test.cpp | 50 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 …]
|
D | result_matchers.h | 27 MATCHER(IsOk, "an ok result") { 50 ::testing::AllOf(IsOk(), ::testing::Property("value", &ResultType::value,
|
/device/google/cuttlefish/common/libs/security/ |
D | confui_sign.cpp | 69 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()
|
D | confui_sign.h | 50 bool IsOk() const { return !IsIoError() && !IsLogicError(); } in IsOk() function 79 bool IsOk() const { return impl_.IsOk(); } in IsOk() function
|