Skip to content

Add more tests for FieldChange Class#8614

Merged
calixtus merged 5 commits intoJabRef:mainfrom
CarlosZoft:carloszoft-moretesting
Mar 31, 2022
Merged

Add more tests for FieldChange Class#8614
calixtus merged 5 commits intoJabRef:mainfrom
CarlosZoft:carloszoft-moretesting

Conversation

@CarlosZoft
Copy link
Copy Markdown
Contributor

Description :

Testing using self equals method of class FieldChange

  • Adding new tests

Copy link
Copy Markdown
Member

@koppor koppor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace assertTrue and assertFalse semantically (!) by assertEquals. I provided an example below.

Comment thread src/test/java/org/jabref/model/FieldChangeTest.java Outdated
@koppor koppor added the status: changes-required Pull requests that are not yet complete label Mar 28, 2022
@CarlosZoft CarlosZoft requested a review from koppor March 28, 2022 20:38
@CarlosZoft
Copy link
Copy Markdown
Contributor Author

Thanks for review, I think the visualization is better now.

Copy link
Copy Markdown
Member

@koppor koppor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though the CI shows failing unit tests, the failing tests are not related to these changes.

@calixtus calixtus merged commit 0536a39 into JabRef:main Mar 31, 2022
@calixtus
Copy link
Copy Markdown
Member

Thanks for your addition to our test suite. Are you interested in working on JabRef more? We would be happy to answer your questions in our gitter channel, if you like.

@CarlosZoft
Copy link
Copy Markdown
Contributor Author

thanks for the invitation, i'll keep contributing!

Siedlerchr added a commit that referenced this pull request Apr 5, 2022
* upstream/main:
  Remove obsolete comments
  Improve key generation (#8641)
  Refine search code (#8636)
  Fix import entry by id does not generate citation key (#8361)
  Update Gradle Wrapper from 7.4.1 to 7.4.2. (#8637)
  Bump hmarr/auto-approve-action from 2.1.0 to 2.2.0 (#8638)
  GitBook: [#57] test
  Citation keygen: Return vonPart if lastName is empty (#8634)
  Ensure SSL truststore is present at startup (#8631)
  Squashed 'buildres/csl/csl-styles/' changes from 6a7b708..21e2177 (#8632)
  Add more tests for FieldChange Class (#8614)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: changes-required Pull requests that are not yet complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants