Repository navigation
Commit a7cb5f4
Bridgeless-context TouchEventDispatchTest (#59280)
Summary:
Pull Request resolved: #59280
Migrate `TouchEventDispatchTest` from the deprecated
`createCatalystContextForTest` helper to `createTestReactApplicationContext`,
so the test builds a bridgeless context directly. Install a mocked
`ReactQueueConfiguration` via `initializeMessageQueueThreads` to satisfy the
UI-thread check in `FabricEventDispatcher`, which the mock catalyst
previously provided.
Changelog:
[Internal]
Differential Revision: D1265743641 parent 1714653 commit a7cb5f4
1 file changed
Lines changed: 13 additions & 1 deletion
File tree
- packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/events
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
516 | 520 | | |
517 | 521 | | |
518 | 522 | | |
519 | | - | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
520 | 532 | | |
521 | 533 | | |
522 | 534 | | |
| |||
0 commit comments