MockMediaProvider → MediaProviderMock.

This commit is contained in:
Doug
2024-10-02 17:41:08 +01:00
committed by Doug
parent 77e4fae2fb
commit 5522871dd9
65 changed files with 636 additions and 219 deletions
@@ -16,6 +16,7 @@ enum MediaProviderError: Error {
case cancelled
}
// sourcery: AutoMockable
protocol MediaProviderProtocol {
func imageFromSource(_ source: MediaSourceProxy?, size: CGSize?) -> UIImage?
func loadImageFromSource(_ source: MediaSourceProxy, size: CGSize?) async -> Result<UIImage, MediaProviderError>