Skip to content

Commit

Permalink
Merge pull request #78 from guillep/better-inspetors
Browse files Browse the repository at this point in the history
Add result inspetors for killed and terminated mutants
  • Loading branch information
guillep authored Feb 15, 2024
2 parents 2e3ec99 + 5884124 commit ad394c8
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/MuTalk-SpecUI/MTGeneralResult.extension.st
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
Extension { #name : 'MTGeneralResult' }

{ #category : '*MuTalk-SpecUI' }
MTGeneralResult >> inspectorExtension [
MTGeneralResult >> killedMutantsExtension [

<inspectorPresentationOrder: 0 title: 'Mutation Results'>
<inspectorPresentationOrder: 1 title: 'Killed Mutants'>
^ MTMutationResultsPresenter on: self killedMutants
]

{ #category : '*MuTalk-SpecUI' }
MTGeneralResult >> survivingMutantsExtension [

<inspectorPresentationOrder: 0 title: 'Surviving Mutants'>
^ MTMutationResultsPresenter on: self aliveMutants
]

{ #category : '*MuTalk-SpecUI' }
MTGeneralResult >> terminatedMutantsExtension [

<inspectorPresentationOrder: 2 title: 'Terminated Mutants'>
^ MTMutationResultsPresenter on: self terminatedMutants
]

0 comments on commit ad394c8

Please sign in to comment.