Empty Device List redesign #651
Triggered via pull request
February 14, 2025 12:37
Status
Failure
Total duration
13m 53s
Artifacts
–
Annotations
6 errors
com.weatherxm.data.services.CacheServiceTest ► Then: call the respective clearAll function:
app/src/main/java/com/weatherxm/data/services/CacheService.kt#L375
Failed test found in:
app/build/test-results/testRemoteProdDebugUnitTest/TEST-com.weatherxm.data.services.CacheServiceTest.xml
Error:
io.mockk.MockKException: no answer found for SharedPreferences(#3).getBoolean(should_show_claiming_badge, true) among the configured answers: (SharedPreferences(#3).getString(eq(temperature_unit), eq(°C)))
|
com.weatherxm.usecases.DeviceListUseCaseTest ► Then: return these devices with alerts and default options:
app/src/main/java/com/weatherxm/usecases/DeviceListUseCaseImpl.kt#L28
Failed test found in:
app/build/test-results/testRemoteProdDebugUnitTest/TEST-com.weatherxm.usecases.DeviceListUseCaseTest.xml
Error:
io.mockk.MockKException: no answer found for UserPreferencesRepository(#1991).setClaimingBadgeShouldShow(false) among the configured answers: (UserPreferencesRepository(#1991).setDevicesSortFilterOptions(eq(DATE_ADDED), eq(ALL), eq(NO_GROUPING)))
|
com.weatherxm.usecases.DeviceListUseCaseTest ► Then: return these devices with alerts and the above options:
app/src/main/java/com/weatherxm/usecases/DeviceListUseCaseImpl.kt#L28
Failed test found in:
app/build/test-results/testRemoteProdDebugUnitTest/TEST-com.weatherxm.usecases.DeviceListUseCaseTest.xml
Error:
io.mockk.MockKException: no answer found for UserPreferencesRepository(#1991).setClaimingBadgeShouldShow(false) among the configured answers: (UserPreferencesRepository(#1991).setDevicesSortFilterOptions(eq(DATE_ADDED), eq(ALL), eq(NO_GROUPING)))
|
com.weatherxm.usecases.DeviceListUseCaseTest ► Then: return these devices with alerts and the above options:
app/src/main/java/com/weatherxm/usecases/DeviceListUseCaseImpl.kt#L28
Failed test found in:
app/build/test-results/testRemoteProdDebugUnitTest/TEST-com.weatherxm.usecases.DeviceListUseCaseTest.xml
Error:
io.mockk.MockKException: no answer found for UserPreferencesRepository(#1991).setClaimingBadgeShouldShow(false) among the configured answers: (UserPreferencesRepository(#1991).setDevicesSortFilterOptions(eq(DATE_ADDED), eq(ALL), eq(NO_GROUPING)))
|
unit-tests
Process completed with exit code 1.
|
unit-tests
Failed test were found and 'fail-on-error' option is set to true
|