Searched refs:TEST_AND_RETURN (Results 1 – 2 of 2) sorted by relevance
47 #define TEST_AND_RETURN(expr) \ macro150 TEST_AND_RETURN(ResultIsSuccess(service->registerCallback(first))); in TestCallbacks()151 TEST_AND_RETURN(ResultIsSuccess(service->registerCallback(second))); in TestCallbacks()160 TEST_AND_RETURN(ResultIsSuccess(service->update())); in TestCallbacks()165 TEST_AND_RETURN(ResultIsSuccess(service->unregisterCallback(first))); in TestCallbacks()173 TEST_AND_RETURN(ResultIsSuccess(service->update())); in TestCallbacks()178 TEST_AND_RETURN(ResultIsSuccess(service->unregisterCallback(second))); in TestCallbacks()194 TEST_AND_RETURN(IsOk(ret)); in TestUnregisterNonExistentCallback()
45 #define TEST_AND_RETURN(expr) \ macro414 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P()430 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P()446 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P()463 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P()466 TEST_AND_RETURN(isOk(mHealth->getCurrentNow([&](auto result, auto value) { in TEST_P()481 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P()485 TEST_AND_RETURN(isOk(mHealth->getCurrentAverage([&](auto result, auto value) { in TEST_P()499 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P()503 TEST_AND_RETURN(isOk(mHealth->getCurrentNow([&](auto result, auto value) { in TEST_P()[all …]