Add RepoManagerAddAllIntegrationTest which adds all known (stable) repos

See: https://forum.f-droid.org/t/known-repositories/721
This commit is contained in:
Torsten Grote
2023-09-05 14:56:55 +02:00
committed by Michael Pöhn
parent 03a5b697bb
commit f068d920bd
3 changed files with 182 additions and 0 deletions

View File

@@ -58,6 +58,11 @@ public class Fetching(
*/
public val canAdd: Boolean = repo != null &&
(fetchResult != null && fetchResult !is FetchResult.IsExistingRepository)
override fun toString(): String {
return "Fetching(repo=${repo?.address}, apps=${apps.size}, fetchResult=$fetchResult, " +
"done=$done, canAdd=$canAdd)"
}
}
public object Adding : AddRepoState()