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

Commit 6d59c274 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Expand TestableDeviceConfigTest#getProperties()." into rvc-dev am:...

Merge "Expand TestableDeviceConfigTest#getProperties()." into rvc-dev am: 6a2213ae am: 0b2c10b1 am: ebdf5c21

Change-Id: If855c139cc375105dafa1b40895704165e8fb325
parents ebfda387 ebdf5c21
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -122,6 +122,12 @@ public class TestableDeviceConfigTest {
        properties = DeviceConfig.getProperties(sNamespace, sKey, newKey);
        assertThat(properties.getString(sKey, null)).isEqualTo(sValue);
        assertThat(properties.getString(newKey, null)).isEqualTo(newValue);

        String unsetKey = "key3";
        properties = DeviceConfig.getProperties(sNamespace, newKey, unsetKey);
        assertThat(properties.getKeyset()).containsExactly(newKey, unsetKey);
        assertThat(properties.getString(newKey, null)).isEqualTo(newValue);
        assertThat(properties.getString(unsetKey, null)).isNull();
    }

    @Test