Hello,

Thanks Christian + Mike for your recommendations + comments. I was able to
convert the other tests for ComplexString + MacroResolver.  Of those 2
currently fail:

- (void)testEmptyStringFromBibTeXString{
    NSString *cs = [BDSKComplexString stringWithBibTeXString:@""
                                               macroResolver:[self
macroResolver] error:nil];
    STAssertNotNil(cs,nil);
    STAssertFalse([cs isComplex],nil);
    STAssertEqualObjects( (NSString *)cs,@"",nil);
// THIS LAST ONE FAILS
    STAssertNil([(BDSKComplexString*)cs nodes],nil);
}

- (void)testWhitespaceStringFromBibTeXString{
    NSString *cs = [BDSKComplexString stringWithBibTeXString:@" "
                                               macroResolver:[self
macroResolver] error:nil];
    STAssertNotNil(cs,nil);
    STAssertFalse([cs isComplex],nil);
    STAssertEqualObjects( (NSString *)cs,@"",nil);
// THIS LAST ONE FAILS
    STAssertNil([(BDSKComplexString*)cs nodes],nil);
}

Any views?  Thanks,

Greg.



------------------------------------------------------------------------------
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
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to