Skip to content

Commit

Permalink
Merge pull request #399 from adri09070/367-REOPEN-The-debugger-action…
Browse files Browse the repository at this point in the history
…-model-is-not-updated-automatically-needs-refactoring

[Reopen] Migration of events from the debugger UI to the debugger action model to automate its updates
  • Loading branch information
jecisc authored Sep 18, 2023
2 parents 15d1901 + c53a1f4 commit 3fa092a
Show file tree
Hide file tree
Showing 25 changed files with 1,043 additions and 368 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Extension { #name : #StDebuggerActionModel }

{ #category : #'*NewTools-Debugger-Tests' }
StDebuggerActionModel >> hasSubscriber: aDebugger [

^ self announcer hasSubscriber: aDebugger
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Class {
#name : #StDebuggerActionModelAnnouncementTest,
#superclass : #TestCase,
#instVars : [
'debugActionModel'
],
#category : #'NewTools-Debugger-Tests-Model'
}

{ #category : #running }
StDebuggerActionModelAnnouncementTest >> setUp [

super setUp.
debugActionModel := StMockDebuggerActionModel new
]

{ #category : #tests }
StDebuggerActionModelAnnouncementTest >> testDebuggerActionModel [

| actionModelAnnouncement |
actionModelAnnouncement := StDebuggerActionModelAnnouncement
debuggerActionModel: debugActionModel.

self
assert: actionModelAnnouncement debuggerActionModel
identicalTo: debugActionModel
]
Loading

0 comments on commit 3fa092a

Please sign in to comment.