fixes as per the review from Ross Boucher

This commit is contained in:
Martin Häcker
2009-05-31 11:26:00 -07:00
committed by Ross Boucher
parent 0fff3bade6
commit 82ef2356a5
+16
View File
@@ -0,0 +1,16 @@
// Just doing @import <AppKit/CPCollectionView.j> failed on CPWindow not being defined somewhere.
@import <AppKit/AppKit.j>
@implementation CPCollectionViewTest : OJTestCase
- (void)testItemPrototypeActuallyReturnsTheItemPrototype
{
var propertiesCollectionView = [[CPCollectionView alloc] initWithFrame:CGRectMakeZero()],
itemPrototype = [[CPCollectionViewItem alloc] init];
[propertiesCollectionView setItemPrototype:itemPrototype];
[self assert:[CPCollectionViewItem class] equals:[[propertiesCollectionView itemPrototype] class]];
}
@end