Skip to content

Commit

Permalink
Always export helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Darbord committed Jan 30, 2024
1 parent 62b59b6 commit 20fffe2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Extension { #name : #FamixJavaParameterType }

{ #category : #'*Famix-UnitTest-Exporter' }
FamixJavaParameterType >> needsJavaImport [

^ false
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ FamixUTAbstractExporter >> export: aFamixUTModel [
self exportCaseFile: case ].
(aFamixUTModel allWithType: FamixUTSuite) do: [ :suite |
self exportSuite: suite ].
self valueExporter makeHelper.
^ self model
]

Expand Down
3 changes: 1 addition & 2 deletions src/Famix-UnitTest-Exporter/FamixUTJUnitExporter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ FamixUTJUnitExporter >> exportAssertion: aFamixUTAssertion [
{ #category : #exporting }
FamixUTJUnitExporter >> exportCase: aFamixUTCase [

currentClass := self model newClassDeclaration.
currentClass
(currentClass := self model newClassDeclaration)
name: aFamixUTCase name;
addModifier: (model newModifier token: 'public');
addComment: self makeTestCaseComment;
Expand Down

0 comments on commit 20fffe2

Please sign in to comment.