Skip to content

Commit

Permalink
removed test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Nov 14, 2013
1 parent 2fead91 commit 84e8de2
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions Test/Source/DTHTMLAttributedStringBuilderTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,6 @@ - (void)testAttachmentAutoSize

STAssertEquals(attachment.originalSize, expectedOriginalSize, @"Non-expected originalSize");
STAssertEquals(attachment.displaySize, expectedDisplaySize, @"Non-expected displaySize");

STAssertTrue([attachment isKindOfClass:[DTImageTextAttachment class]], @"Wrong Attachment Class");

if ([attachment isKindOfClass:[DTImageTextAttachment class]])
{
DTImageTextAttachment *imageAttachment = (DTImageTextAttachment *)attachment;

STAssertNotNil([imageAttachment image], @"There should be an image!");
NSLog(@"%@", [imageAttachment image]);
}
}

// parser should recover from no end element being sent for this img
Expand All @@ -222,15 +212,7 @@ - (void)testMissingClosingBracket
DTTextAttachment *attachment = [output attribute:NSAttachmentAttributeName atIndex:0 effectiveRange:NULL];

STAssertNotNil(attachment, @"No attachment found in output");

if ([attachment isKindOfClass:[DTImageTextAttachment class]])
{
DTImageTextAttachment *imageAttachment = (DTImageTextAttachment *)attachment;

STAssertNotNil([imageAttachment image], @"There should be an image!");
NSLog(@"%@", [imageAttachment image]);
}
}
}


- (void)testRTLParsing
Expand Down

0 comments on commit 84e8de2

Please sign in to comment.