Permalink
Browse files

removed test logs

  • Loading branch information...
1 parent 2fead91 commit 84e8de21ae88089a70d70333085bf92c7c770e27 @odrobnik odrobnik committed Nov 14, 2013
Showing with 1 addition and 19 deletions.
  1. +1 −19 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

0 comments on commit 84e8de2

Please sign in to comment.