Lines Matching refs:Success
52 Result<Success> result = Success(); in TEST()
56 EXPECT_EQ(Success(), *result); in TEST()
57 EXPECT_EQ(Success(), result.value()); in TEST()
64 auto MakeRvalueSuccessResult = []() -> Result<Success> { return Success(); }; in TEST()
68 EXPECT_EQ(Success(), *MakeRvalueSuccessResult()); in TEST()
69 EXPECT_EQ(Success(), MakeRvalueSuccessResult().value()); in TEST()
73 Result<Success> result = Error() << "failure" << 1; in TEST()
82 Result<Success> result = Error(); in TEST()
97 auto MakeRvalueErrorResult = []() -> Result<Success> { return Error() << "failure" << 1; }; in TEST()
108 Result<Success> result = ErrnoError() << "failure" << 1; in TEST()
120 Result<Success> result = ErrnoError(); in TEST()
131 Result<Success> result = Error() << error_text; in TEST()
147 Result<Success> result = Error() << error_text; in TEST()
165 Result<Success> result = ErrnoError() << error_text; in TEST()
283 auto return_result_result_with_success = []() -> Result<Result<Success>> { in TEST()
284 return Result<Success>(); in TEST()
295 auto return_result_result_with_error = []() -> Result<Result<Success>> { in TEST()
296 return Result<Success>(ResultError("failure string", 6)); in TEST()