Home
last modified time | relevance | path

Searched refs:any (Results 1 – 25 of 1267) sorted by relevance

12345678910>>...51

/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/
H A DRemoteLoaderTest.kt77 every { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } answers { in setup()
93 verify(exactly = 2) { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } in testRemoteLoader_SimpleCase()
104 every { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } answers { in testRemoteLoader_FailureToDownloadAssets()
114 verify(exactly = 2) { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } in testRemoteLoader_FailureToDownloadAssets()
139 verify(exactly = 1) { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } in testRemoteLoader_AssetExists_BothDbAndDisk()
166 verify(exactly = 2) { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } in testRemoteLoader_AssetExists_DbOnly()
196 verify(exactly = 0) { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } in testRemoteLoader_UpdateExists_Ready()
220 verify(exactly = 2) { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } in testRemoteLoader_UpdateExists_Pending()
244 verify(exactly = 0) { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } in testRemoteLoader_UpdateExists_DifferentScopeKey()
275 verify(exactly = 0) { mockFileDownloader.downloadAsset(any(), any(), any(), any(), any()) } in testRemoteLoader_DevelopmentModeManifest()
[all …]
H A DEmbeddedLoaderTest.kt75 verify(exactly = 2) { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } in testEmbeddedLoader_SimpleCase()
88 …every { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } throws IOException("mock failed… in testEmbeddedLoader_FailureToCopyAssets()
94 verify(exactly = 2) { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } in testEmbeddedLoader_FailureToCopyAssets()
119 verify(exactly = 2) { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } in testEmbeddedLoader_MultipleScales()
143 verify(exactly = 2) { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } in testEmbeddedLoader_MultipleScales_ReverseOrder()
171 verify(exactly = 1) { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } in testEmbeddedLoader_AssetExists_BothDbAndDisk()
197 verify(exactly = 2) { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } in testEmbeddedLoader_AssetExists_DbOnly()
199 verify(exactly = 1) { mockLoaderFiles.copyResourceAndGetHash(any(), any(), any()) } in testEmbeddedLoader_AssetExists_DbOnly()
225 verify(exactly = 1) { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } in testEmbeddedLoader_AssetExists_DiskOnly()
253 verify(exactly = 0) { mockLoaderFiles.copyAssetAndGetHash(any(), any(), any()) } in testEmbeddedLoader_UpdateExists_Ready()
[all …]
/expo/packages/expo-notifications/android/src/test/java/expo/modules/notifications/service/delegates/
H A DExpoHandlingDelegateTest.kt32 every { notificationManager.onNotificationReceived(any()) } answers { } in setup()
35 every { NotificationsService.present(any(), any(), any(), any()) } answers {} in setup()
45 verify(inverse = true) { NotificationsService.present(any(), any(), any(), any()) } in handleNotification when in foreground invokes listener and does not present()
55 verify(inverse = true) { notificationManager.onNotificationReceived(any()) } in handleNotification when in background does not invoke listener and presents notification()
56 verify { NotificationsService.present(any(), expectedNotification, any(), any()) } in handleNotification when in background does not invoke listener and presents notification()
66 verify(inverse = true) { notificationManager.onNotificationReceived(any()) } in handleNotification when in background with title only presents notification()
67 verify { NotificationsService.present(any(), expectedNotification, any(), any()) } in handleNotification when in background with title only presents notification()
77 verify(inverse = true) { notificationManager.onNotificationReceived(any()) } in handleNotification when in background with text only presents notification()
78 verify { NotificationsService.present(any(), expectedNotification, any(), any()) } in handleNotification when in background with text only presents notification()
89 verify(inverse = true) { notificationManager.onNotificationReceived(any()) } in handleNotification when in background and data only does not present notification()
[all …]
/expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/
H A DTestUtils.kt24 any(), any(), any(), any() in mockContentResolver()
35 every { contentResolver.query(any(), any(), any(), any(), any()) } throws throwable in mockContentResolverForResult()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/db/
H A DBuildDataTest.kt92 verify(exactly = 0) { spyBuildData.clearAllUpdatesFromDatabase(any()) } in ensureBuildDataIsConsistent_buildDataIsNull()
93 verify(exactly = 1) { spyBuildData.setBuildDataInDatabase(any(), any()) } in ensureBuildDataIsConsistent_buildDataIsNull()
104 verify(exactly = 0) { spyBuildData.clearAllUpdatesFromDatabase(any()) } in ensureBuildDataIsConsistent_buildDataIsInconsistent_channel()
105 verify(exactly = 1) { spyBuildData.setBuildDataInDatabase(any(), any()) } in ensureBuildDataIsConsistent_buildDataIsInconsistent_channel()
115 verify(exactly = 2) { spyBuildData.setBuildDataInDatabase(any(), any()) } in ensureBuildDataIsConsistent_buildDataIsInconsistent_channel()
129 verify(exactly = 1) { spyBuildData.setBuildDataInDatabase(any(), any()) } in ensureBuildDataIsConsistent_buildDataIsInconsistent_releaseChannel()
139 verify(exactly = 2) { spyBuildData.setBuildDataInDatabase(any(), any()) } in ensureBuildDataIsConsistent_buildDataIsInconsistent_releaseChannel()
154 verify(exactly = 1) { spyBuildData.setBuildDataInDatabase(any(), any()) } in ensureBuildDataIsConsistent_buildDataIsConsistent_channel()
164 verify(exactly = 1) { spyBuildData.setBuildDataInDatabase(any(), any()) } in ensureBuildDataIsConsistent_buildDataIsConsistent_channel()
179 verify(exactly = 1) { spyBuildData.setBuildDataInDatabase(any(), any()) } in ensureBuildDataIsConsistent_buildDataIsConsistent_releaseChannel()
[all …]
/expo/packages/expo-checkbox/
H A DCHANGELOG.md15 _This version does not introduce any user-facing changes._
19 _This version does not introduce any user-facing changes._
23 _This version does not introduce any user-facing changes._
33 _This version does not introduce any user-facing changes._
37 _This version does not introduce any user-facing changes._
41 _This version does not introduce any user-facing changes._
45 _This version does not introduce any user-facing changes._
61 _This version does not introduce any user-facing changes._
65 _This version does not introduce any user-facing changes._
69 _This version does not introduce any user-facing changes._
[all …]
/expo/packages/expo-status-bar/
H A DCHANGELOG.md21 _This version does not introduce any user-facing changes._
31 _This version does not introduce any user-facing changes._
35 _This version does not introduce any user-facing changes._
39 _This version does not introduce any user-facing changes._
49 _This version does not introduce any user-facing changes._
53 _This version does not introduce any user-facing changes._
57 _This version does not introduce any user-facing changes._
61 _This version does not introduce any user-facing changes._
65 _This version does not introduce any user-facing changes._
69 _This version does not introduce any user-facing changes._
[all …]
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/errorrecovery/
H A DErrorRecoveryTest.kt37 every { errorRecovery.handler.postDelayed(any(), any()) } answers { in setup()
57 mockDelegate.relaunch(any()) in testHandleException_NewWorkingUpdateAlreadyLoaded()
81 mockDelegate.relaunch(any()) in testHandleException_NewUpdateLoaded_RelaunchFails()
124 mockDelegate.relaunch(any()) in testHandleException_NewBrokenUpdateLoaded_WorkingUpdateCached()
132 mockDelegate.relaunch(any()) in testHandleException_NewBrokenUpdateLoaded_WorkingUpdateCached()
135 mockDelegate.relaunch(any()) in testHandleException_NewBrokenUpdateLoaded_WorkingUpdateCached()
147 mockDelegate.relaunch(any()) in testHandleException_NewBrokenUpdateLoaded_UpdateAlreadyLaunchedSuccessfully()
156 mockDelegate.relaunch(any()) in testHandleException_NewBrokenUpdateLoaded_UpdateAlreadyLaunchedSuccessfully()
172 mockDelegate.relaunch(any()) in testHandleException_RemoteLoadTimesOut()
246 mockDelegate.relaunch(any()) in testHandleException_CheckAutomaticallyNever()
[all …]
/expo/packages/expo-dev-client/
H A DCHANGELOG.md17 _This version does not introduce any user-facing changes._
21 _This version does not introduce any user-facing changes._
25 _This version does not introduce any user-facing changes._
29 _This version does not introduce any user-facing changes._
43 _This version does not introduce any user-facing changes._
53 _This version does not introduce any user-facing changes._
57 _This version does not introduce any user-facing changes._
77 _This version does not introduce any user-facing changes._
81 _This version does not introduce any user-facing changes._
85 _This version does not introduce any user-facing changes._
[all …]
/expo/packages/expo-dev-client-components/
H A DCHANGELOG.md15 _This version does not introduce any user-facing changes._
19 _This version does not introduce any user-facing changes._
23 _This version does not introduce any user-facing changes._
27 _This version does not introduce any user-facing changes._
47 _This version does not introduce any user-facing changes._
51 _This version does not introduce any user-facing changes._
55 _This version does not introduce any user-facing changes._
59 _This version does not introduce any user-facing changes._
63 _This version does not introduce any user-facing changes._
73 _This version does not introduce any user-facing changes._
/expo/apps/test-suite/tests/
H A DApplication.js13 expect(applicationName).toEqual(jasmine.any(String));
19 expect(applicationId).toEqual(jasmine.any(String));
24 expect(nativeApplicationVersion).toEqual(jasmine.any(String));
30 expect(nativeBuildVersion).toEqual(jasmine.any(String));
37 expect(installationTime).toEqual(jasmine.any(Date));
53 expect(idfv).toEqual(jasmine.any(String));
60 expect(appReleaseType).toEqual(jasmine.any(Number));
67 expect(apnsEnvironment).toEqual(jasmine.any(String));
119 expect(androidId).toEqual(jasmine.any(String));
132 expect(installReferrer).toEqual(jasmine.any(String));
[all …]
H A DBattery.js28 expect(batteryLevel).toEqual(jasmine.any(Number));
48 expect(lowPowerMode).toEqual(jasmine.any(Boolean));
56 batteryLevel: jasmine.any(Number),
57 batteryState: jasmine.any(Number),
58 lowPowerMode: jasmine.any(Boolean),
/expo/packages/expo/
H A DCHANGELOG.md15 _This version does not introduce any user-facing changes._
19 _This version does not introduce any user-facing changes._
23 _This version does not introduce any user-facing changes._
27 _This version does not introduce any user-facing changes._
46 _This version does not introduce any user-facing changes._
96 _This version does not introduce any user-facing changes._
100 _This version does not introduce any user-facing changes._
104 _This version does not introduce any user-facing changes._
108 _This version does not introduce any user-facing changes._
112 _This version does not introduce any user-facing changes._
[all …]
/expo/packages/expo-dev-client-components/src/
H A Dcreate-primitive.tsx52 const variantFreeProps: any = { ...props };
81 function stylesForVariants(props: any, variants: any = {}) {
98 function stylesForSelectors(props: any, selectors: any = {}, state: any = {}) {
99 const styles: any[] = [];
117 function stylesForSelectorProps(selectors: any = {}, state: any = {}) {
118 const styles: any[] = [];
/expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/assets/
H A DGetAssetsTest.kt52 …every { getQueryFromOptions(any()) } returns GetAssetsQuery(selection = "", order = "", limit = 10… in setUp()
55 every { putAssetsInfo(any(), any(), any(), any(), any(), any()) } just runs in setUp()
H A DAssetUtilsTests.kt45 getAssetDimensionsFromCursor(contentResolver, any(), cursor, any(), any()) in putAssetsInfo returns correct response when fullInfo=false()
54 getExifFullInfo(any(), any()) in putAssetsInfo returns correct response when fullInfo=false()
128 every { exifInterface.getAttribute(any()) } returns null in getExifFullInfo creates exif value()
141 every { exifInterface.getAttribute(any()) } returns null in getExifFullInfo iterates through exifTags()
147 verify(atLeast = EXIF_TAGS.size) { exifInterface.getAttribute(any()) } in getExifFullInfo iterates through exifTags()
/expo/apps/native-component-list/src/screens/Clipboard/
H A DImagePreview.tsx22 typeof (obj as any).data === 'string' &&
23 typeof (obj as any).size === 'object' &&
24 typeof (obj as any).size.width === 'number' &&
25 typeof (obj as any).size.height === 'number'
/expo/packages/expo-dev-menu/mocks/react-native-gesture-handler/src/
H A Dindex.tsx4 function createHandler(): React.ComponentType<React.RefAttributes<any>> {
6 private refHandler = (node: any) => {
9 const { ref }: any = child;
20 const child: any = React.Children.only(this.props.children);
/expo/packages/expo-clipboard/android/src/test/java/expo/modules/clipboard/
H A DClipboardImageTest.kt59 every { ClipboardFileProvider.getUriForFile(any(), any(), any()) } returns expectedUri in <lambda>()
65 context, any(), in <lambda>()
81 coEvery { bitmapFromContentUriAsync(any(), any()) } returns bitmap in <lambda>()
86 bitmap.compress(options.imageFormat.compressFormat, 42, any()) in <lambda>()
97 coEvery { bitmapFromContentUriAsync(any(), any()) } returns bitmap in <lambda>()
/expo/packages/expo-dev-client-components/src/__tests__/
H A Dcreate-primitive.test.tsx13 let json: any = textJSON();
36 const json: any = toJSON();
49 const json: any = toJSON();
61 const json: any = toJSON();
109 const darkThemeRender: any = toJSON();
121 const lightThemeRender: any = toJSON();
139 const darkThemeRender: any = toJSON();
148 const lightThemeRender: any = toJSON();
162 const output: any = toJSON();
/expo/packages/expo-dev-menu/app/components/
H A DLoadInitialData.tsx8 children: React.ReactElement<any> | React.ReactElement<any>[];
9 loader?: React.ReactElement<any>;
/expo/packages/expo-av/android/src/test/java/expo/modules/av/progress/
H A DProgressLooperTest.kt158 verify(exactly = 1) { timeMachine.scheduleAt(900, any()) } in next tick scheduled with adjustment to passed time when invoked too late()
168 verify(exactly = 1) { timeMachine.scheduleAt(1100, any()) } in next tick scheduled with adjustment to passed time when invoked too early()
204 verify(exactly = 0) { timeMachine.scheduleAt(any(), any()) } in time machine not called if no looping started()
210 verify(exactly = 1) { timeMachine.scheduleAt(any(), any()) } in time machine not called after looping stopped()
214 verify(exactly = 2) { timeMachine.scheduleAt(any(), any()) } in time machine not called after looping stopped()
219 verify(exactly = 2) { timeMachine.scheduleAt(any(), any()) } in time machine not called after looping stopped()
/expo/packages/expo-router/src/
H A DuseScreens.tsx25 TOptions extends Record<string, any> = Record<string, any>,
36 initialParams?: { [key: string]: any };
43 navigation: any;
98 // Add any remaining children
124 default: React.forwardRef((props: any, ref: any) => {
163 let getLoadable: (props: any, ref: any) => JSX.Element;
170 default: React.ComponentType<any>;
173 getLoadable = (props: any, ref: any) => (
193 getLoadable = (props: any, ref: any) => (
216 }: any,
[all …]
/expo/packages/expo-dev-launcher/bundle/hooks/__mocks__/
H A DuseDebounce.tsx1 export const useDebounce = jest.fn().mockImplementation((val: any) => val);
2 export const useThrottle = jest.fn().mockImplementation((val: any) => val);
/expo/packages/expo-application/
H A DCHANGELOG.md32 _This version does not introduce any user-facing changes._
46 _This version does not introduce any user-facing changes._
50 _This version does not introduce any user-facing changes._
60 _This version does not introduce any user-facing changes._
70 _This version does not introduce any user-facing changes._
80 _This version does not introduce any user-facing changes._
96 _This version does not introduce any user-facing changes._
127 _This version does not introduce any user-facing changes._
131 _This version does not introduce any user-facing changes._
157 _This version does not introduce any user-facing changes._
[all …]

12345678910>>...51