Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RN-Tester] Fix assert cxx example crash the app when tap Run all tests #41521

Closed

Conversation

zhongwuzw
Copy link
Contributor

Summary:

When I tap the Run all tests button in CxxModuleExample, App crashed because our assert examples directoly.
image
I moved the error report examples to individual section so Run all tests not crash.
image

Changelog:

[INTERNAL] [FIXED] - [RN-Tester] Fix assert cxx example crash the app when tap Run all tests

Test Plan:

None.

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Nov 17, 2023
@facebook-github-bot
Copy link
Contributor

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

Copy link

This pull request was successfully merged by @zhongwuzw in 02bb50d.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions bot added the Merged This PR has been merged. label Nov 17, 2023
Othinn pushed a commit to Othinn/react-native that referenced this pull request Jan 9, 2024
…ok#41521)

Summary:
When I tap the `Run all tests` button in CxxModuleExample, App crashed because our `assert` examples directoly.
![image](https://github.com/facebook/react-native/assets/5061845/6d3fbbc1-9d41-419a-9074-898e839ee51a)
I moved the error report examples to individual section so `Run all tests` not crash.
![image](https://github.com/facebook/react-native/assets/5061845/4b781b40-0606-4d40-a752-1cd716073e33)

## Changelog:
[INTERNAL] [FIXED] - [RN-Tester] Fix assert cxx example crash the app when tap `Run all tests`

Pull Request resolved: facebook#41521

Test Plan: None.

Reviewed By: christophpurrer

Differential Revision: D51423538

Pulled By: rshest

fbshipit-source-id: 1e2844aa9011de4476ec4b134d43daa3260a73d5
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request May 19, 2024
Summary:
Same as facebook#41521 for the Java / ObjC Turbo Module example.

[INTERNAL] [FIXED] - [RN-Tester] Fix assert Turbo Module example crash the app when tap `Run all tests`

Differential Revision: D57531736
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request May 19, 2024
facebook#44607)

Summary:

Same as facebook#41521 for the Java / ObjC Turbo Module example.

[INTERNAL] [FIXED] - [RN-Tester] Fix assert Turbo Module example crash the app when tap `Run all tests`

Differential Revision: D57531736
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request May 20, 2024
facebook#44607)

Summary:

Same as facebook#41521 for the Java / ObjC Turbo Module example.

[INTERNAL] [FIXED] - [RN-Tester] Fix assert Turbo Module example crash the app when tap `Run all tests`

Differential Revision: D57531736
facebook-github-bot pushed a commit that referenced this pull request May 20, 2024
#44607)

Summary:
Pull Request resolved: #44607

Same as #41521 for the Java / ObjC Turbo Module example.

Changelog: [INTERNAL] [FIXED] - [RN-Tester] Fix assert Turbo Module example crash the app when tap `Run all tests`

Reviewed By: cortinico

Differential Revision: D57531736

fbshipit-source-id: 7cad5dfd31c306dff4763b67466664f2dde6b239
kosmydel pushed a commit to kosmydel/react-native that referenced this pull request Jun 11, 2024
facebook#44607)

Summary:
Pull Request resolved: facebook#44607

Same as facebook#41521 for the Java / ObjC Turbo Module example.

Changelog: [INTERNAL] [FIXED] - [RN-Tester] Fix assert Turbo Module example crash the app when tap `Run all tests`

Reviewed By: cortinico

Differential Revision: D57531736

fbshipit-source-id: 7cad5dfd31c306dff4763b67466664f2dde6b239
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. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants