remove commented code from CPArrayControllerTest

This commit is contained in:
Klaas Pieter Annema
2010-07-28 13:28:53 +02:00
parent e066228015
commit 75ceeffab8
-22
View File
@@ -77,28 +77,6 @@
[arrayController selectNext:self];
[self assert:[CPIndexSet indexSetWithIndex:count - 1] equals:[arrayController selectionIndexes]];
}
// - (void)testSelectNext
// {
// var arrayController = [self arrayController],
// arrangedObjects = [arrayController arrangedObjects],
// startIndex = 0,
// selectionIndexes = [CPIndexSet indexSetWithIndex:startIndex];
//
// [arrayController setSelectionIndexes:selectionIndexes];
// [arrayController selectNext:self];
//
// [selectionIndexes shiftIndexesStartingAtIndex:startIndex by:1]
// [self assert:selectionIndexes equals:[arrayController selectionIndexes]];
//
// // Test that the selection wraps around
// startIndex = [arrangedObjects count] - 1;
// selectionIndexes = [CPIndexSet indexSetWithIndex:startIndex];
//
// [arrayController setSelectionIndexes:selectionIndexes];
// [arrayController selectNext:self];
//
// [self assert:[CPIndexSet indexSetWithIndex:0] equals:[arrayController selectionIndexes]];
// }
- (void)testContentBinding
{