Skip to content

Commit

Permalink
Add #withTesting to modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Sep 10, 2024
1 parent 25c2b3a commit 6a4dd56
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 6a4dd56

Please sign in to comment.