Skip to content

Commit

Permalink
Merge pull request #183 from OpenSmock/182-Some-tests-are-KO
Browse files Browse the repository at this point in the history
Better tests set up and tear down: Fix #182
  • Loading branch information
labordep authored Aug 22, 2024
2 parents 4bddd6e + b275042 commit b4d9861
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Class {
MolImplementationsPresenterTest >> setUp [

super setUp.
MolComponentManager cleanUp.

"Put here a common initialization logic for tests"
clockImplementations := MolImplementationsPresenter new.
Expand All @@ -21,6 +22,13 @@ MolImplementationsPresenterTest >> setUp [
geoPosImplementations type: MolGeoPosEquipmentType.
]

{ #category : #running }
MolImplementationsPresenterTest >> tearDown [

MolComponentManager cleanUp.
super tearDown
]

{ #category : #running }
MolImplementationsPresenterTest >> testBrowseButtonActivated [

Expand Down
8 changes: 8 additions & 0 deletions src/Molecule-IDE-Tests/MolInterfacesPresenterTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,20 @@ Class {
MolInterfacesPresenterTest >> setUp [

super setUp.
MolComponentManager cleanUp.

"Put here a common initialization logic for tests"
localTimeEvents := MolInterfacesPresenter new.
localTimeEvents interface: MolMyLocalTimeEvents.
]

{ #category : #running }
MolInterfacesPresenterTest >> tearDown [

MolComponentManager cleanUp.
super tearDown
]

{ #category : #running }
MolInterfacesPresenterTest >> testBrowseButtonActivated [

Expand Down

0 comments on commit b4d9861

Please sign in to comment.