-
Notifications
You must be signed in to change notification settings - Fork 160
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
Rework FakeMatrixRoom so that it contains only lambdas. #3229
Conversation
Fix test compilation issues
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Quality Gate passedIssues Measures |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3229 +/- ##
========================================
Coverage 76.13% 76.14%
========================================
Files 1645 1645
Lines 38816 38728 -88
Branches 7520 7516 -4
========================================
- Hits 29554 29489 -65
+ Misses 5361 5336 -25
- Partials 3901 3903 +2 ☔ View full report in Codecov by Sentry. |
var sendCallNotificationIfNeededResult: () -> Result<Unit> = { Result.success(Unit) }, | ||
canRedactOwn: Boolean = false, | ||
canRedactOther: Boolean = false, | ||
private var roomPermalinkResult: () -> Result<String> = { lambdaError() }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tend to make these public so we don't have to add extra given___
methods to modify them, but it's no big deal.
This is actually adding more tests, to ensure that only expected methods are used by unit tests.