koppor / jabref

Collection of simple for JabRef issues. Please submit PRs to https://github.com/jabRef/jabref/.
https://github.com/jabRef/jabref/
MIT License
8 stars 14 forks source link

Add testIeee to ANTLRv3-based BST VM #685

Closed koppor closed 1 month ago

koppor commented 2 months ago

This adds the ieee test from https://github.com/JabRef/jabref/pull/11234/files#diff-b5c55d3aa722352a825d998f1e417b12684dde5386937e4f69b0f47202a1b7cb to the commit before the migration to ANTLR4 (02f51f7b2e395d0cf8d6eb0455e1a1e871a25fd0)

Let's see if it hangs.

Result: It does not hang.

Mandatory checks

koppor commented 1 month ago

Test result:

org.opentest4j.AssertionFailedError: expected:

<begin{thebibliography}{1}bibitem{canh05}K.~Crowston,H.~Annabi,J.~Howison,andC.~Masango.newblockEffectiveworkpracticesforflossdevelopment:Amodelandpropositions.newblockIn{emHawaiiInternationalConferenceOnSystemSciences(HICSS)},2005.end{thebibliography}>

but was: 

<%GeneratedbyIEEEtran.bst,version:1.14(2015/08/26)begin{thebibliography}{1}providecommand{url}[1]{#1}csnameurl@samestyleendcsnameprovidecommand{newblock}{relax}providecommand{bibinfo}[2]{#2}providecommand{BIBentrySTDinterwordspacing}{spaceskip=0ptrelax}providecommand{BIBentryALTinterwordstretchfactor}{4}providecommand{BIBentryALTinterwordspacing}{spaceskip=fontdimen2fontplusBIBentryALTinterwordstretchfactorfontdimen3fontminusfontdimen4fontrelax}providecommand{BIBforeignlanguage}[2]{{%expandafterifxcsnamel@#1endcsnamerelaxtypeout{**WARNING:IEEEtran.bst:Nohyphenationpatternhasbeen}%typeout{**loadedforthelanguage`#1'.Usingthepatternfor}%typeout{**thedefaultlanguageinstead.}%elselanguage=csnamel@#1endcsnamefi#2}}providecommand{BIBdecl}{relax}BIBdeclbibitem{canh05}BIBentryALTinterwordspacingK.~Crowston,H.~Annabi,J.~Howison,andC.~Masango,``Effectiveworkpracticesforflossdevelopment:Amodelandpropositions''inemph{HawaiiInternationalConferenceOnSystemSciences(HICSS)},2005.[Online].Available:url{[http://james.howison.name/publications.html}BIBentrySTDinterwordspacingend{thebibliography](http://james.howison.name/publications.htmlBIBentrySTDinterwordspacingend%7Bthebibliography%7D)}>
koppor commented 1 month ago

We fixed it in https://github.com/JabRef/jabref/pull/11304