-
Notifications
You must be signed in to change notification settings - Fork 11
feat(mps-sync-plugin): allow to update binding for switching a branch #2221
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
base: main
Are you sure you want to change the base?
Conversation
Test Results 241 files 241 suites 46m 37s ⏱️ Results for commit 760e30f. ♻️ This comment has been updated with latest results. |
JVM coverage report
|
| fun getServerConnections(): List<IServerConnection> | ||
| fun getUsedServerConnections(): List<IServerConnection> | ||
| fun getBindings(): List<IBinding> | ||
| fun updateBinding(oldBranchRef: BranchReference, newBranchRef: BranchReference, resetLocalState: Boolean = false) |
Check warning
Code scanning / detekt
The function updateBinding is missing documentation. Warning
| @Synchronized | ||
| override fun updateBinding(oldBranchRef: BranchReference, newBranchRef: BranchReference, resetLocalState: Boolean) { | ||
| updateState { | ||
| it.bindings.none { it.key.branchRef == oldBranchRef } && |
Check warning
Code scanning / detekt
Name shadowed: implicit lambda parameter 'it' Warning
| } | ||
|
|
||
| @Test | ||
| fun `updateBinding with resetLocalState true only affects matching binding`() { |
Check warning
Code scanning / detekt
The function updateBinding with resetLocalState true only affects matching binding is too long (62). The maximum length is 60. Warning test
d4335c9 to
9d0dc96
Compare
9d0dc96 to
760e30f
Compare
No description provided.