mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-17 04:00:42 +00:00
Test: - CPImage initWithContentsOfFile:nil.
This commit is contained in:
1 parent
b0babdb7bb
commit
d404d027c2
1 file changed
+14
@@ -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
|
||||
Reference in new issue
Block a user