Searched refs:mockContentResolver (Results 1 – 7 of 7) sorted by relevance
10 import expo.modules.medialibrary.mockContentResolver48 val context = mockContext with mockContentResolver(cursor) in GetAlbums should resolve with correct response()77 val context = mockContext with mockContentResolver(cursor) in GetAlbums should not list albums with null name()91 val context = mockContext with mockContentResolver(null) in GetAlbums should reject on null cursor()
9 import expo.modules.medialibrary.mockContentResolver84 val context = mockContext with mockContentResolver(cursor) in queryAlbum returns correct values()100 val context = mockContext with mockContentResolver(null) in queryAlbum should reject on null cursor()
11 import expo.modules.medialibrary.mockContentResolver in <lambda>()113 val context = mockContext with mockContentResolver(null) in <lambda>()156 mockContentResolver(mockAlbumCursor(cursorResults)) in <lambda>()
19 fun mockContentResolver(cursor: Cursor?): ContentResolver { in mockContentResolver() method31 mockContentResolver(mockCursor(cursorResults)) in mockContentResolverForResult()
9 import expo.modules.medialibrary.mockContentResolver85 val context = mockContext with mockContentResolver(null) in GetAssets should reject on null cursor()
11 import expo.modules.medialibrary.mockContentResolver109 val context = mockContext with mockContentResolver(null) in queryAssetInfo should reject on null cursor()
7 import expo.modules.medialibrary.mockContentResolver41 val contentResolver = mockContentResolver(cursor) in putAssetsInfo returns correct response when fullInfo=false()