Skip to content

Commit

Permalink
Set explicit language in robolectric tests
Browse files Browse the repository at this point in the history
Reviewed By: strulovich

Differential Revision: D37772421

fbshipit-source-id: 2c797653531e7963c08a21fc6bb6b0b5480a184a
  • Loading branch information
Ron Edelstein authored and facebook-github-bot committed Jul 12, 2022
1 parent 67e12a1 commit fd0b82c
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions ReactAndroid/src/test/java/com/facebook/react/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rn_robolectric_test(
name = "react",
srcs = glob(["*.java"]),
contacts = ["[email protected]"],
language = "JAVA",
deps = [
YOGA_TARGET,
react_native_dep("third-party/android/androidx:annotation"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rn_robolectric_test(
name = "animated",
srcs = glob(["**/*.java"]),
contacts = ["[email protected]"],
language = "JAVA",
visibility = [
"PUBLIC",
],
Expand Down
1 change: 1 addition & 0 deletions ReactAndroid/src/test/java/com/facebook/react/bridge/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ rn_robolectric_test(
name = "bridge",
srcs = glob(STANDARD_TEST_SRCS),
contacts = ["[email protected]"],
language = "JAVA",
visibility = [
"PUBLIC",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rn_robolectric_test(
name = "devsupport",
srcs = glob(["**/*.java"]),
contacts = ["[email protected]"],
language = "JAVA",
visibility = [
"PUBLIC",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rn_robolectric_test(
name = "events",
srcs = glob(["*.java"]),
contacts = ["[email protected]"],
language = "JAVA",
deps = [
react_native_dep("third-party/java/jsr-305:jsr-305"),
react_native_dep("third-party/java/junit:junit"),
Expand Down
1 change: 1 addition & 0 deletions ReactAndroid/src/test/java/com/facebook/react/modules/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rn_robolectric_test(
name = "modules",
srcs = glob(["**/*.java"]),
contacts = ["[email protected]"],
language = "JAVA",
visibility = [
"PUBLIC",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rn_robolectric_test(
name = "packagerconnection",
srcs = glob(["**/*.java"]),
contacts = ["[email protected]"],
language = "JAVA",
visibility = [
"PUBLIC",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rn_robolectric_test(
],
contacts = ["[email protected]"],
is_androidx = True,
language = "JAVA",
visibility = [
"PUBLIC",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rn_robolectric_test(
name = "layoutanimation",
srcs = glob(["**/*.java"]),
contacts = ["[email protected]"],
language = "JAVA",
visibility = [
"PUBLIC",
],
Expand Down
1 change: 1 addition & 0 deletions ReactAndroid/src/test/java/com/facebook/react/util/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rn_robolectric_test(
name = "util",
srcs = glob(["**/*.java"]),
contacts = ["[email protected]"],
language = "JAVA",
visibility = [
"PUBLIC",
],
Expand Down
1 change: 1 addition & 0 deletions ReactAndroid/src/test/java/com/facebook/react/views/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ rn_robolectric_test(
"view/*.java",
]),
contacts = ["[email protected]"],
language = "JAVA",
deps = [
YOGA_TARGET,
react_native_dep("libraries/fresco/fresco-react-native:fresco-drawee"),
Expand Down

0 comments on commit fd0b82c

Please sign in to comment.