Searched refs:expectedAppLabel (Results 1 – 1 of 1) sorted by relevance
178 final String expectedAppLabel = "fake app label"; in testGetAppLabel_loadDataFromApplicationInfo() local186 doReturn(expectedAppLabel).when(mockPackageManager) in testGetAppLabel_loadDataFromApplicationInfo()192 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromApplicationInfo()198 assertThat(nameAndIcon.name).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromApplicationInfo()206 final String expectedAppLabel = "Android OS"; in testGetAppLabel_loadDataFromPreDefinedNameAndUid() local213 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromPreDefinedNameAndUid()218 assertThat(nameAndIcon.name).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromPreDefinedNameAndUid()223 final String expectedAppLabel = "fake app label"; in testGetAppLabel_nullAppLabel_returnAppLabelInBatteryHistEntry() local226 values.put("appLabel", expectedAppLabel); in testGetAppLabel_nullAppLabel_returnAppLabelInBatteryHistEntry()232 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_nullAppLabel_returnAppLabelInBatteryHistEntry()[all …]