Skip to content

Add tests for RestoreFromBackupManagerImpl (data transfer support) - #826

Draft
LouisCAD with Copilot wants to merge 19 commits into
data-transfer-supportfrom
copilot/wip-address-feedback-tests-data-transfer-support
Draft

Add tests for RestoreFromBackupManagerImpl (data transfer support)#826
LouisCAD with Copilot wants to merge 19 commits into
data-transfer-supportfrom
copilot/wip-address-feedback-tests-data-transfer-support

test: add RestoreFromBackupManagerImpl tests for data transfer support

dabb313
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 30, 2026 in 31s

Quality Gate failed

Annotations

Check warning on line 226 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "transferredDevice_derivationFails_emitsRestoringFromBackupFailedState" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFf&open=AZ-zl8q4xvXlsfYEXnFf&pullRequest=826

Check warning on line 273 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "transferredDevice_derivationFails_giveUp_removesFailedUserAndSettles" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFh&open=AZ-zl8q4xvXlsfYEXnFh&pullRequest=826

Check warning on line 126 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "multipleUsers_allSameDevice_settlesImmediately" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFZ&open=AZ-zl8q4xvXlsfYEXnFZ&pullRequest=826

Check warning on line 192 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "multipleUsers_allTransferred_allSucceed_settles" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFd&open=AZ-zl8q4xvXlsfYEXnFd&pullRequest=826

Check warning on line 113 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "sameDevice_settlesImmediately" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFY&open=AZ-zl8q4xvXlsfYEXnFY&pullRequest=826

Check warning on line 246 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "transferredDevice_derivationFails_thenRetry_succeeds" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFg&open=AZ-zl8q4xvXlsfYEXnFg&pullRequest=826

Check warning on line 176 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "transferredDevice_derivationSucceeds_updatesTokenAndSettles" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFc&open=AZ-zl8q4xvXlsfYEXnFc&pullRequest=826

Check warning on line 208 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "multipleUsers_mixedDevices_onlyTransferredAreRestored" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFe&open=AZ-zl8q4xvXlsfYEXnFe&pullRequest=826

Check warning on line 289 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "multipleUsers_partialFailure_giveUp_onlyRemovesFailedUser" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFi&open=AZ-zl8q4xvXlsfYEXnFi&pullRequest=826

Check warning on line 158 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "multipleUsers_allMissingBindings_addsBindingsAndSettles" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFb&open=AZ-zl8q4xvXlsfYEXnFb&pullRequest=826

Check warning on line 99 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "noUsers_settlesImmediately" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFX&open=AZ-zl8q4xvXlsfYEXnFX&pullRequest=826

Check warning on line 143 in Auth/src/test/java/com/infomaniak/core/auth/backup/RestoreFromBackupManagerImplTest.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "missingBinding_addsBindingAndSettles" to match the regular expression ^[a-zA-Z][a-zA-Z0-9]*$

See more on https://sonarcloud.io/project/issues?id=Infomaniak_android-core&issues=AZ-zl8q4xvXlsfYEXnFa&open=AZ-zl8q4xvXlsfYEXnFa&pullRequest=826