Skip to content

Commit

Permalink
Touch emitter tests (#32768)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #32768

Adds tests for Fabric event tranformations into payload. For now, it tests the new event processing exclusively for sanity checks, but running code removed in D32953664 (3b6d8af) produces the same results.

Changelog: [Internal]

Reviewed By: mdvacca, sshic

Differential Revision: D33070156

fbshipit-source-id: 86af725373c20d74e17a63773c4c3c9138e1e20e
  • Loading branch information
Andrei Shikov authored and facebook-github-bot committed Dec 15, 2021
1 parent f16cbe5 commit 19174a5
Show file tree
Hide file tree
Showing 2 changed files with 632 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ReactAndroid/src/test/java/com/facebook/react/fabric/events/BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_target", "rn_robolectric_test")

rn_robolectric_test(
name = "events",
srcs = glob(["*.java"]),
contacts = ["oncall+react_native@xmail.facebook.com"],
deps = [
react_native_dep("third-party/java/jsr-305:jsr-305"),
react_native_dep("third-party/java/junit:junit"),
react_native_target("java/com/facebook/react:react"),
react_native_target("java/com/facebook/react/bridge:bridge"),
react_native_target("java/com/facebook/react/common:common"),
react_native_target("java/com/facebook/react/touch:touch"),
react_native_target("java/com/facebook/react/fabric:fabric"),
],
)
Loading

0 comments on commit 19174a5

Please sign in to comment.