Lines Matching refs:isOk

377         ASSERT_TRUE(status.isOk()) << "applyPowerPolicyPerPowerStateChangeAsync should return OK";  in testApplyPowerPolicyPerPowerStateChangeAsyncInternal()
401 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
403 ASSERT_FALSE(status.isOk()) << "Duplicated registration is not allowed"; in TEST_F()
406 ASSERT_FALSE(status.isOk()) << "Duplicated registration is not allowed"; in TEST_F()
412 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
421 ASSERT_FALSE(server->registerPowerPolicyChangeCallback(callback, filter).isOk()) in TEST_F()
432 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
453 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
454 ASSERT_FALSE(server->unregisterPowerPolicyChangeCallback(callback).isOk()) in TEST_F()
463 ASSERT_FALSE(status.isOk()) << "The current policy at creation should be null"; in TEST_F()
482 ASSERT_TRUE(status.isOk()) << "applyPowerPolicy should return OK"; in TEST_F()
485 ASSERT_TRUE(status.isOk()) << "getCurrentPowerPolicy should return OK"; in TEST_F()
500 ASSERT_TRUE(status.isOk()) << "applyPowerPolicy should return OK"; in TEST_F()
503 ASSERT_TRUE(status.isOk()) << "getCurrentPowerPolicy should return OK"; in TEST_F()
517 ASSERT_FALSE(status.isOk()) << "applyPowerPolicy should return an error"; in TEST_F()
553 ASSERT_TRUE(status.isOk()) << "applyPowerPolicyAsync should return OK"; in TEST_F()
577 ASSERT_FALSE(status.isOk()) in TEST_F()
613 ASSERT_TRUE(status.isOk()); in TEST_F()
651 ASSERT_TRUE(status.isOk()) << "applyPowerPolicyAsync should return OK"; in TEST_F()
655 ASSERT_FALSE(status.isOk()) in TEST_F()
685 ASSERT_FALSE(status.isOk()) << "applyPowerPolicyPerPowerStateChangeAsync should fail when the " in TEST_F()
712 EXPECT_FALSE(status.isOk()) in TEST_F()