Skip to content

Commit

Permalink
Fix Propagate behaviour in DSM
Browse files Browse the repository at this point in the history
  • Loading branch information
ClotildeToullec committed Sep 3, 2024
1 parent 67438ce commit eb527cb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ MiDependencyStructuralMatrixBrowser >> buildDSM [
{ #category : #testing }
MiDependencyStructuralMatrixBrowser >> canFollowEntity: anObject [

^specModel canFollowEntity: anObject
^ specModel canFollowEntity: anObject
]

{ #category : #testing }
Expand Down Expand Up @@ -129,7 +129,7 @@ MiDependencyStructuralMatrixBrowser >> initializePresenters [
{ #category : #accessing }
MiDependencyStructuralMatrixBrowser >> miSelectedItem [

^specModel selectedEntities
^ specModel miSelectedItem
]

{ #category : #api }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ MiDependencyStructuralMatrixBrowserModel >> displayValueForTuple: tuple [

{ #category : #accessing }
MiDependencyStructuralMatrixBrowserModel >> entities [
^graph nodes collect: #model

^ graph nodes collect: #model
]

{ #category : #actions }
Expand Down Expand Up @@ -146,6 +147,12 @@ MiDependencyStructuralMatrixBrowserModel >> isDiagonal: tuple [

]

{ #category : #accessing }
MiDependencyStructuralMatrixBrowserModel >> miSelectedItem [

^ self entities
]

{ #category : #buildGraph }
MiDependencyStructuralMatrixBrowserModel >> newGraph [
graph := AITarjan new.
Expand Down Expand Up @@ -211,11 +218,6 @@ MiDependencyStructuralMatrixBrowserModel >> sccTuplesForTuple: tuple [
]
]

{ #category : #accessing }
MiDependencyStructuralMatrixBrowserModel >> selectedEntities [
^#()
]

{ #category : #settings }
MiDependencyStructuralMatrixBrowserModel >> showSCCColor [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ MiDependencyStructuralMatrixBrowserTest >> browserClass [
{ #category : #running }
MiDependencyStructuralMatrixBrowserTest >> initializeEntityToSelect [

^ {
(self method: 'method1').
(self method: 'method2').
(self method: 'method3') }
entityToSelect := {
(self method: 'method1').
(self method: 'method2').
(self method: 'method3') }
]

{ #category : #running }
Expand All @@ -24,16 +24,8 @@ MiDependencyStructuralMatrixBrowserTest >> method: aName [
^ FamixRepTestMethod named: aName
]

{ #category : #tests }
MiDependencyStructuralMatrixBrowserTest >> testActivateActionButtons [

browser actionButtons do: [ :button | self deny: button isEnabled ].



]

{ #category : #'tests - tags' }
MiDependencyStructuralMatrixBrowserTest >> testCanTagEntities [
self deny: browser canTagEntities

self deny: browser canTagEntities
]

0 comments on commit eb527cb

Please sign in to comment.