-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[GSOC22] - D - Test the Three Way Merge UI #9069
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
Conversation
src/main/java/org/jabref/gui/mergeentries/newmergedialog/fieldsmerger/GroupMerger.java
Outdated
Show resolved
Hide resolved
- Because NO_ROW_INDEX is passed to ThreeWayMergeCell for header cells only
- Setting user data was useful before when FieldRow depended on it to figure out the value of the selected cell, but now it has a different implementation
src/test/java/org/jabref/gui/mergeentries/ThreeWayMergeViewModelTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/gui/mergeentries/ThreeWayMergeViewModelTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/gui/mergeentries/ThreeWayMergeViewModelTest.java
Outdated
Show resolved
Hide resolved
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.
LGTM, just one question about a comment
src/test/java/org/jabref/gui/mergeentries/FieldRowViewModelTest.java
Outdated
Show resolved
Hide resolved
|
It's hiccup if a more deeper issue with the stylesheet management of javafx and how the ThemeManager interacts with it. I don't think you should bother with it in this PR. As for now the tests are all green. So if @Siedlerchr is ok with this, we should merge this PR soon. |
Yep, looks good so far. I would not spend time on this ThemeManager issue. As long as it works when running JabRef it's not worth spending time on it. Maybe we can disable the test on CI |
* upstream/main: Fix missing CSS for some dialogs (JabRef#9150) Bump org.eclipse.jgit from 6.2.0.202206071550-r to 6.3.0.202209071007-r (JabRef#9152) Bump mockito-core from 4.7.0 to 4.8.0 (JabRef#9151) [GSOC22] - D - Test the Three Way Merge UI (JabRef#9069)
Besides unit testing the three-way merge UI, the code was refactored for better testability
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)