Test: - CPImage initWithContentsOfFile:nil.

This commit is contained in:
Alexander Ljungberg committed 2013-07-15 10:48:58 +01:00
1 parent b0babdb7bb
commit d404d027c2
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
@import <AppKit/CPImage.j>
@implementation CPImageTest : OJTestCase
{
}
- (void)testInitWithContentsOfFile_nil
{
var image = [[CPImage alloc] initWithContentsOfFile:nil];
[self assert:nil equals:image message:@"- CPImage initWithContentsOfFile:nil should return nil"];
}
@end