Skip to content

Commit 6a0db9e

Browse files
committed
Add test for selectionFilterBlock
1 parent 3db3c69 commit 6a0db9e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/GeoView-Tests/GeoViewElementTest.class.st

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,17 @@ GeoViewElementTest >> testInteractionsStrategyDefaultValues [
315315

316316
self assert: geoView interactionsStrategy allowMapMoving.
317317
self assert: geoView interactionsStrategy allowMapScaling.
318-
self assert: geoView interactionsStrategy isMultipleSelection
318+
self assert: geoView interactionsStrategy isMultipleSelection.
319+
self assert: geoView interactionsStrategy selectionFilterBlock equals: nil
320+
]
321+
322+
{ #category : #tests }
323+
GeoViewElementTest >> testInteractionsStrategySelectionFilter [
324+
325+
self assert: geoView interactionsStrategy selectionFilterBlock equals: nil.
326+
geoView interactionsStrategy selectionFilterBlock: [ :e | ].
327+
self assert: geoView interactionsStrategy selectionFilterBlock notNil.
328+
319329
]
320330

321331
{ #category : #tests }

0 commit comments

Comments
 (0)