-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add: Add test cases for non-default styles in CitationStyleTest #8828
Conversation
Added test cases to check citation styles for: - ACM SIGGRAPH - American Psychological Association 6th edition Also, added test case for discoverCitationStyles to improve code coverage of the CitationStyle class.
remove unnecessary blank space, added appropriate exception
I'm good with the test for discovercitationstyles. I'm not so sure about the two test for the styles. You basically do the test work for csl in our package. I think the two tests are just misplaced here, as they don't really test our logic, but the logic of csl... |
I was not sure about that either, We also have those in CitationStyleGeneratorTest where we test issue/number etc fields |
* upstream/main: Fix right clicking a group and choosing "remove selected entries from this group" leads to error when Bibtex source tab is selected (JabRef#8821) Fix single identifier cannot be opened on click (JabRef#8838) Add Pubmed/Medline Query Transformer (JabRef#8818) adjust and add testcases for FileAnnotationViewModel (JabRef#8830) Append config instead of replacing (JabRef#8834) Fix eclipse config (JabRef#8835) Add Nemo file manager (JabRef#8831) Fix missing clear action on pressing esc within the "Filter groups" field (JabRef#8829)
I've moved the two style specific tests to CitationStyleGeneratorTest class |
…-masked-characters#8787 * upstream/main: Add: Add test cases for non-default styles in CitationStyleTest (JabRef#8828) Open event log when clicking on collapsed notification (JabRef#8837) Fix right clicking a group and choosing "remove selected entries from this group" leads to error when Bibtex source tab is selected (JabRef#8821) Fix single identifier cannot be opened on click (JabRef#8838) Add Pubmed/Medline Query Transformer (JabRef#8818) adjust and add testcases for FileAnnotationViewModel (JabRef#8830) Append config instead of replacing (JabRef#8834) Fix eclipse config (JabRef#8835) Add Nemo file manager (JabRef#8831) Fix missing clear action on pressing esc within the "Filter groups" field (JabRef#8829) Update bouncycalse to new base version (JabRef#8827) add: add test cases for FileUtil (JabRef#8810) Restrict use of standard streams (JabRef#8816)
Adding test cases to help improve testing for the citation styles.
Added two test cases to check citation styles non-default (IEEE) styles as the other styles were not being tested. Added testACMCitation and testAPACitation to cover the corresponding citation styles, which are imported from (build/resources/main/csl-styles/acm-siggraph.csl) and (build/resources/main/csl-styles/apa-6th-edition.csl). Also, added a test case for discoverCitationStyles to improve code coverage for the CitationStyle class.
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)