Skip to content

Convert FakeRCTEventEmitter to Kotlin - #37733

Closed
dcangulo wants to merge 1 commit into
react:mainfrom
dcangulo:FakeRCTEventEmitter
Closed

dcangulo wants to merge 1 commit into
react:mainfrom
dcangulo:FakeRCTEventEmitter

Conversation

@dcangulo

@dcangulo dcangulo commented Jun 6, 2023

Copy link
Copy Markdown
Contributor

Summary:

Converts FakeRCTEventEmitter from Java to Kotlin, as per issue #37708

Changelog:

[Internal] [Changed] - Convert FakeRCTEventEmitter to Kotlin

Test Plan:

Tests pass: ./gradlew :packages:react-native:ReactAndroid:test
Formatted with KtFmt

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 6, 2023
@analysis-bot

Copy link
Copy Markdown
Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,744,414 +2
android hermes armeabi-v7a 8,056,576 +1
android hermes x86 9,235,514 -1
android hermes x86_64 9,086,329 -1
android jsc arm64-v8a 9,306,974 -2
android jsc armeabi-v7a 8,496,509 +1
android jsc x86 9,368,979 +0
android jsc x86_64 9,623,894 +3

Base commit: 3f0caed
Branch: main

@Pranav-yadav Pranav-yadav added the Tests This PR adds or edits a test case. label Jun 7, 2023

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 7, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@cortinico merged this pull request in e449706.

adamaveray added a commit to adamaveray/react-native that referenced this pull request Jun 8, 2023
* main: (1824 commits)
  Convert FallbackJSBundleLoaderTest to Kotlin (react#37750)
  Migrate JSPackagerClientTest to Kotlin (react#37747)
  (refactor): kotlin-ify `ShareModuleTest.java` (react#37746)
  Upgrade `@react-native/codegen-typescript-test`'s Jest dependency to Jest 29 (react#37745)
  Move flow-typed definitions to repo root (react#37636)
  Convert InterpolatorTypeTest to Kotlin (react#37724)
  Update documentation of ReactHost.reload method (react#37691)
  Reduce visibility of ReactHost.destroy() method (react#37693)
  Reduce visibility in React Context (react#37695)
  Remove InstanceHandleHelper as unused (react#37740)
  Convert CompositeReactPackageTest to Kotlin (react#37734)
  Add license header to SetSpanOperation.java
  Convert FakeEventDispatcher to kotlin (react#37739)
  Convert FakeRCTEventEmitter to Kotlin (react#37733)
  Convert InteropModuleRegistryTest to Kotlin (react#37735)
  Bump `autorebase.yml` to `v1.8` (react#37584)
  Convert StackTraceHelperTest to Kotlin (react#37741)
  Convert BlobModuleTest class to Kotlin (react#37719)
  Update prettier to v2.8.8 (react#37738)
  Introduce BoltsFutureTask class to avoid leaking bolts.Task into ReactHost API (react#37744)
  ...

# Conflicts:
#	BUCK
#	packages/react-native/React/Views/UIResponder+FirstResponder.h
#	packages/react-native/React/Views/UIResponder+FirstResponder.m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Tests This PR adds or edits a test case.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants