From ed93718cf2d3e29fad745ebf9b47ffc4a50fc6c6 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Fri, 23 Oct 2026 11:44:46 +0100 Subject: [PATCH] Fix MountItemDispatcherTest compilation after pullTransaction was added #57164 added `RecordingItemDispatchListener` to `MountItemDispatcherTest`, but #59029 had added an abstract `pullTransaction(surfaceId: Int)` to `MountItemDispatcher.ItemDispatchListener` in the meantime. Each change was green on its own; combined, `compileDebugUnitTestKotlin` fails on main and breaks `build_android`. Implement `pullTransaction` as a no-op in the test listener, matching the other callbacks it doesn't need to record. --- .../facebook/react/fabric/mounting/MountItemDispatcherTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/mounting/MountItemDispatcherTest.kt b/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/mounting/MountItemDispatcherTest.kt index e0327690c416..ebc5c9349dae 100644 --- a/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/mounting/MountItemDispatcherTest.kt +++ b/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/mounting/MountItemDispatcherTest.kt @@ -176,6 +176,8 @@ class MountItemDispatcherTest { didDispatchCount++ } + override fun pullTransaction(surfaceId: Int) = Unit + override fun onItemsQueued() = Unit }