From 84e8de21ae88089a70d70333085bf92c7c770e27 Mon Sep 17 00:00:00 2001 From: Oliver Drobnik Date: Thu, 14 Nov 2013 19:53:34 +0100 Subject: [PATCH] removed test logs --- .../DTHTMLAttributedStringBuilderTest.m | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/Test/Source/DTHTMLAttributedStringBuilderTest.m b/Test/Source/DTHTMLAttributedStringBuilderTest.m index 4bad8e2cd..06dc7caea 100644 --- a/Test/Source/DTHTMLAttributedStringBuilderTest.m +++ b/Test/Source/DTHTMLAttributedStringBuilderTest.m @@ -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 @@ -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