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

RDART-999: Fix flutter test dlopen #1623

Merged
merged 3 commits into from
May 30, 2024
Merged

Conversation

nielsenko
Copy link
Contributor

@nielsenko nielsenko commented Apr 10, 2024

This PR changes how the native lib is loaded under flutter test, dart test, and dart run.

It also changes how realm install command works.

Fixes: #1619

Copy link

coveralls-official bot commented Apr 10, 2024

Pull Request Test Coverage Report for Build 9299010353

Details

  • 26 of 51 (50.98%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 86.984%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/realm_dart/lib/src/init.dart 26 51 50.98%
Files with Coverage Reduction New Missed Lines %
packages/realm_dart/lib/src/init.dart 2 55.7%
Totals Coverage Status
Change from base Build 9298911532: -0.1%
Covered Lines: 5901
Relevant Lines: 6784

💛 - Coveralls

@nielsenko nielsenko force-pushed the kn/fix-flutter-test-dlopen branch 4 times, most recently from c3fef2e to 84701c6 Compare April 12, 2024 08:27
@nielsenko nielsenko changed the title Fix flutter test dlopen RDART-999: Fix flutter test dlopen May 30, 2024
@nielsenko nielsenko marked this pull request as ready for review May 30, 2024 09:10
@nielsenko nielsenko merged commit 2b476a7 into main May 30, 2024
55 of 56 checks passed
@nielsenko nielsenko deleted the kn/fix-flutter-test-dlopen branch May 30, 2024 09:41
nirinchev added a commit that referenced this pull request Jun 6, 2024
* main:
  RDART-1020: Fix writeAsync behaviour (#1666)
  RDART-999: Fix flutter test dlopen (#1623)
  RDART-1045: Expose setrlimit ios (#1700)
  RDART-962: Use xcode 15.4 (#1548)

# Conflicts:
#	packages/realm_dart/lib/src/cli/install/install_command.dart
nirinchev added a commit that referenced this pull request Jun 12, 2024
* main:
  Add vNext Changelog header (#1717)
  [Release 3.0.0] (#1716)
  libraryVersion moved to realm_libary.dart (take 2)
  libraryVersion moved to realm_libary.dart
  Update CHANGELOG (#1715)
  Github composite action for setting up flutter on runner (#1710)
  RDART-866: kn/decimal128 web support (#1713)
  Reduce expected gain of memEquals for test stability
  Refresh after awaiting download to stabilize tests
  RDART-866: Minimal web support (#1699)
  RDART-1052: Update realm-core to v14.9.0 (#1704)
  RDART-1020: Fix writeAsync behaviour (#1666)
  RDART-999: Fix flutter test dlopen (#1623)
  RDART-1045: Expose setrlimit ios (#1700)
  RDART-962: Use xcode 15.4 (#1548)
  RDART-1039: Drop catalyst support. Flutter doesn't support it (#1696)

# Conflicts:
#	packages/realm_dart/src/realm-core
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues with unit testing using Realm: Failed to Load Dynamic Library Error
2 participants