mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-04 05:34:49 -04:00
Add RepoManagerAddAllIntegrationTest which adds all known (stable) repos
See: https://forum.f-droid.org/t/known-repositories/721
This commit is contained in:
committed by
Michael Pöhn
parent
03a5b697bb
commit
f068d920bd
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user