Searched refs:throwableContentResolver (Results 1 – 6 of 6) sorted by relevance
11 import expo.modules.medialibrary.throwableContentResolver97 val context = mockContext with throwableContentResolver(SecurityException()) in GetAssets should reject on SecurityException()109 val context = mockContext with throwableContentResolver(IOException()) in GetAssets should reject on IOException()
13 import expo.modules.medialibrary.throwableContentResolver121 val context = mockContext with throwableContentResolver(SecurityException()) in queryAssetInfo should reject on SecurityException()132 val context = mockContext with throwableContentResolver(IOException()) in queryAssetInfo should reject on IOException()
12 import expo.modules.medialibrary.throwableContentResolver103 val context = mockContext with throwableContentResolver(SecurityException()) in GetAlbums should reject on SecurityException()115 val context = mockContext with throwableContentResolver(IllegalArgumentException()) in GetAlbums should reject on IllegalArgumentException()
11 import expo.modules.medialibrary.throwableContentResolver112 val context = mockContext with throwableContentResolver(SecurityException()) in queryAlbum should reject on SecurityException()124 val context = mockContext with throwableContentResolver(IllegalArgumentException()) in queryAlbum should reject on IllegalArgumentException()
12 import expo.modules.medialibrary.throwableContentResolver in <lambda>()125 val context = mockContext with throwableContentResolver(SecurityException()) in <lambda>()137 val context = mockContext with throwableContentResolver(IllegalArgumentException()) in <lambda>()
33 fun throwableContentResolver(throwable: Throwable): ContentResolver { in mockContentResolverForResult() method