From 75ceeffab8068b4d136a6af8ccc575bb24a8abd5 Mon Sep 17 00:00:00 2001 From: Klaas Pieter Annema Date: Wed, 28 Jul 2010 13:28:53 +0200 Subject: [PATCH] remove commented code from CPArrayControllerTest --- Tests/AppKit/CPArrayControllerTest.j | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/Tests/AppKit/CPArrayControllerTest.j b/Tests/AppKit/CPArrayControllerTest.j index 532771848..c7bf08a96 100644 --- a/Tests/AppKit/CPArrayControllerTest.j +++ b/Tests/AppKit/CPArrayControllerTest.j @@ -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 {