mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
17 lines
571 B
Plaintext
17 lines
571 B
Plaintext
// 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
|