-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #399 from adri09070/367-REOPEN-The-debugger-action…
…-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
Showing
25 changed files
with
1,043 additions
and
368 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
src/NewTools-Debugger-Tests/StDebuggerActionModel.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
] |
27 changes: 27 additions & 0 deletions
27
src/NewTools-Debugger-Tests/StDebuggerActionModelAnnouncementTest.class.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
] |
Oops, something went wrong.