Skip to content
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

Use BibTeX builder at org.jabref.logic.importer.fileformat.BibtexImporterTest#importEntries #677

Open
koppor opened this issue Feb 13, 2024 · 0 comments
Labels

Comments

@koppor
Copy link
Member

koppor commented Feb 13, 2024

(META: This issue is reserved for a university course. Please only work on it if it is part of your assignment)

JabRef offers a (kind of) Builder for BibTeX data:

    private static BibEntry titleSentenceCased = new BibEntry(StandardEntryType.Misc)
            .withCitationKey("title-sentence-cased")
            .withField(StandardField.TITLE, "Title Sentence Cased");

This builder is NOT used in org.jabref.logic.importer.fileformat.BibtexImporterTest#importEntries, but it should.

Task

Rewrite org.jabref.logic.importer.fileformat.BibtexImporterTest#importEntries to use assertEquals(list, bibEntries. The list, should be constructed with List.of(aksin, stdmodel, set, preissel2016). aksin, ... are BibEntrys created by new BibEntry... withField...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant