Package-level declarations
Types
Link copied to clipboard
class FakeGrantManager(var mockStatus: <Error class: unknown class> = GrantStatus.NOT_DETERMINED, var mockRequestResult: <Error class: unknown class> = GrantStatus.GRANTED)
An in-memory GrantManager for tests — no platform APIs, no Activity, no real permission dialog.
Link copied to clipboard
class FakeGrantStore
An in-memory GrantStore for tests — same contract as dev.brewkits.grant.InMemoryGrantStore, reimplemented here so tests don't need to depend on grant-core's internal implementation to get a working store.
Link copied to clipboard
An in-memory ServiceManager for tests — every ServiceType reports the same mockStatus (or mockEnabled, its boolean view) until told otherwise; there is no per-service override because no real consumer of this project has needed one yet. Add setStatus the moment one does, following FakeGrantManager's per-permission pattern.
Link copied to clipboard
class MultiGrantFakeManager
A GrantManager fake that behaves statefully across calls, unlike FakeGrantManager.