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

Commit 266f9e63 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk_unit_test: fix after light install

This test assumes what is installed on CF. Fixing cases for
now, will keep bug open to de-couple the test.

Bug: 300548972
Test: libbinder_ndk_unit_test (fails w/o, passes w/)
Change-Id: I4160497c1e384b862d07071df9377ecf98b605eb
parent ba1f9d67
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -435,7 +435,7 @@ TEST(NdkBinder, GetLazyService) {

TEST(NdkBinder, IsUpdatable) {
    bool isUpdatable = AServiceManager_isUpdatableViaApex("android.hardware.light.ILights/default");
    EXPECT_EQ(isUpdatable, false);
    EXPECT_EQ(isUpdatable, true);
}

TEST(NdkBinder, GetUpdatableViaApex) {
@@ -445,7 +445,7 @@ TEST(NdkBinder, GetUpdatableViaApex) {
            [](const char* apexName, void* context) {
                *static_cast<std::optional<std::string>*>(context) = apexName;
            });
    EXPECT_EQ(updatableViaApex, std::nullopt) << *updatableViaApex;
    EXPECT_NE(updatableViaApex, std::nullopt) << *updatableViaApex;
}

// This is too slow