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

Commit a5f8e50f authored by David Anderson's avatar David Anderson
Browse files

liblp: Remove tests for alignment_offset being 0.

This test doesn't exist on AOSP anymore, and the bugs around
alignment_offset have been fixed in R. There is no need for the test
anymore.

Bug: 157398966
Test: liblp_test gtest
Change-Id: I00ac7486faf8db8b18f764e61db1d545feb0312c
Merged-In: I563122282e940e07a7ece97ed1a9846ad1f3253c
parent ab7a967d
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -56,10 +56,6 @@ TEST_F(DeviceTest, BlockDeviceInfo) {


    // Having an alignment offset > alignment doesn't really make sense.
    // Having an alignment offset > alignment doesn't really make sense.
    EXPECT_LT(device_info.alignment_offset, device_info.alignment);
    EXPECT_LT(device_info.alignment_offset, device_info.alignment);

    if (IPropertyFetcher::GetInstance()->GetBoolProperty("ro.virtual_ab.enabled", false)) {
        EXPECT_EQ(device_info.alignment_offset, 0);
    }
}
}


TEST_F(DeviceTest, ReadSuperPartitionCurrentSlot) {
TEST_F(DeviceTest, ReadSuperPartitionCurrentSlot) {