diff --git a/src/GToolkit4Epicea/GtEpEventSequencerExamples.class.st b/src/GToolkit4Epicea/GtEpEventSequencerExamples.class.st index d80031c..cabceb2 100644 --- a/src/GToolkit4Epicea/GtEpEventSequencerExamples.class.st +++ b/src/GToolkit4Epicea/GtEpEventSequencerExamples.class.st @@ -52,6 +52,13 @@ GtEpEventSequencerExamples class >> testDataRoot [ / self name. ] +{ #category : #asserting } +GtEpEventSequencerExamples >> assert: actual equals: expected [ + ^ self + assert: (actual sameContentAs: expected) + description: [ self comparingStringBetween: actual and: expected ] +] + { #category : #examples } GtEpEventSequencerExamples >> behaviorRenameWithoutDependentsForExport [ "Check that adding a class and method when the required superclass / class is missing is sequenced correctly." diff --git a/src/GToolkit4Epicea/GtEpReplayBehaviorModel.class.st b/src/GToolkit4Epicea/GtEpReplayBehaviorModel.class.st index 07ebe68..f3e86e4 100644 --- a/src/GToolkit4Epicea/GtEpReplayBehaviorModel.class.st +++ b/src/GToolkit4Epicea/GtEpReplayBehaviorModel.class.st @@ -270,11 +270,12 @@ GtEpReplayBehaviorModel >> inheritedFrom: aBehavior [ GtEpReplayBehaviorModel >> inheritedFrom: aBehavior modifiedAfter: aDateAndTime [ "Answer a boolean indicating whether the receiver inherited from aBehavior at any time in its history" - ^ (self inheritsFrom: aBehavior) or: - [ entries anySatisfy: [ :entry | - entry content isEpClassModification and: - [ entry content behaviorAffected superclassName = aBehavior name and: - [ entry gtTime > aDateAndTime ] ] ] ] + ^ (self inheritsFrom: aBehavior) + or: [ entries + anySatisfy: [ :entry | + entry content isEpClassModification + and: [ (entry content behaviorAffected superclassName sameContentAs: aBehavior name) + and: [ entry gtTime > aDateAndTime ] ] ] ] ] { #category : #accessing }