Skip to content

Commit

Permalink
Merge pull request #817 from jecisc/misc/isModule
Browse files Browse the repository at this point in the history
Add #withTesting to modules
  • Loading branch information
jecisc authored Sep 10, 2024
2 parents 25c2b3a + 6a4dd56 commit febc3b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Famix-MetamodelGeneration/FamixGenerator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,7 @@ FamixGenerator >> defineTraits [

tModule := builder newTraitNamed: #TModule.
tModule comment: self commentForTModule.
tModule withTesting.

tNamedEntity := builder newTraitNamed: #TNamedEntity.
tNamedEntity comment: self commentForTNamed.
Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Traits/FamixTModule.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ FamixTModule >> addModuleEntity: anObject [

]

{ #category : #testing }
FamixTModule >> isModule [

<generated>
^ true
]

{ #category : #accessing }
FamixTModule >> moduleEntities [
"Relation named: #moduleEntities type: #FamixTDefinedInModule opposite: #parentModule"
Expand Down

0 comments on commit febc3b4

Please sign in to comment.