No, I don't see this. But you're probably right about the name prefs.  
I already expected that plain testing of equality of bibtex that gets  
produced isn't a sensible test, because there isn't such a strong  
requirement on the bibtex output. This is precisely why I'm saying  
that unless you design unit tests very carefully (which is a hard  
job), it's as much (if not more) testing the test rather than the code.

Christiaan

On 19 Jan 2009, at 1:39 AM, Adam R. Maxwell wrote:

> So is anyone else seeing these failures in the unit tests?  My guess  
> is that this is due to author normalization preferences (I save with  
> normalized names).
>
> /Volumes/Local/Users/amaxwell/build/bibdesk-clean/UnitTests/ 
> TestBDSKRISParser.m:75: error: -[TestBDSKRISParser  
> testRISToMinimalBibTex] : '@article{cite-key,
>       Author = {Pinkoski, Marc},
>       Journal = {Histories of Anthropology Annual},
>       Pages = {172--204},
>       Title = {Julian Steward, American Anthropology, and Colonialism},
>       Volume = {4},
>       Year = {2008}}' should be equal to '@article{cite-key,
>       Author = {Marc Pinkoski},
>       Journal = {Histories of Anthropology Annual},
>       Pages = {172--204},
>       Title = {Julian Steward, American Anthropology, and Colonialism},
>       Volume = {4},
>       Year = {2008}}' BibTex format error for RIS record, Pinkoski 2008
> /Volumes/Local/Users/amaxwell/build/bibdesk-clean/UnitTests/ 
> TestBDSKRISParser.m:78: error: -[TestBDSKRISParser  
> testRISToMinimalBibTex] : '@article{cite-key,
>       Author = {Pinkoski, Marc},
>       Journal = {Histories of Anthropology Annual},
>       Pages = {172--204},
>       Title = {Julian Steward, American Anthropology, and Colonialism},
>       Volume = {4},
>       Year = {2008}}' should be equal to '@article{cite-key,
>       Author = {Marc Pinkoski},
>       Journal = {Histories of Anthropology Annual},
>       Pages = {172--204},
>       Title = {Julian Steward, American Anthropology, and Colonialism},
>       Volume = {4},
>       Year = {2008}}' BibTex format error for RIS record, Pinkoski 2008
> Test Case '-[TestBDSKRISParser testRISToMinimalBibTex]' failed  
> (0.025 seconds).
> Test Suite 'TestBDSKRISParser' finished at 2009-01-18 16:28:33 -0800.
> Executed 3 tests, with 2 failures (0 unexpected) in 0.026 (0.027)  
> seconds 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
> Bibdesk-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to