Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12deef07 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk_unit_test: unclear kExistingNonNdkService err

If surfaceflinger crashes, this will produce really unclear errors,
as may be occuring on presubmit.

Bug: N/A
Change-Id: Ic44081c91aeee19b73731daf460e7beb9e4e5999
Test: N/A
parent 6c504652
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -283,8 +283,8 @@ TEST(NdkBinder, CheckServiceThatDoesntExist) {

TEST(NdkBinder, CheckServiceThatDoesExist) {
    AIBinder* binder = AServiceManager_checkService(kExistingNonNdkService);
    EXPECT_NE(nullptr, binder);
    EXPECT_EQ(STATUS_OK, AIBinder_ping(binder));
    ASSERT_NE(nullptr, binder) << "Could not get " << kExistingNonNdkService;
    EXPECT_EQ(STATUS_OK, AIBinder_ping(binder)) << "Could not ping " << kExistingNonNdkService;

    AIBinder_decStrong(binder);
}