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

Commit ebdf5c21 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

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

Change-Id: I2cadd36ff576162fef409e904d839be48b150bb2
parents 13c62a51 0b2c10b1
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