mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-03 07:36:16 +00:00
fixes as per the review from Ross Boucher
This commit is contained in:
committed by
Ross Boucher
parent
0fff3bade6
commit
82ef2356a5
@@ -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
|
||||
Reference in New Issue
Block a user