/
StMockSession.class.st
44 lines (34 loc) · 1.03 KB
/
StMockSession.class.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
"
I'm an object answering to part of the API of `DebugSession`, but doing nothing.
You can use me in your tests where messages are sent to a debug session but you do not actually want to act on a real one.
"
Class {
#name : #StMockSession,
#superclass : #Object,
#category : #'NewTools-Debugger-Tests-Utils'
}
{ #category : #'debug - session' }
StMockSession >> implement: aMessage classified: messageCategory inClass: aClass forContext: aContext [
]
{ #category : #accessing }
StMockSession >> interruptedContext [
^self
]
{ #category : #'debugging actions' }
StMockSession >> restart: aContext [
]
{ #category : #'debugging actions' }
StMockSession >> returnValue: value from: aContext [
]
{ #category : #'debugging actions' }
StMockSession >> runToSelection: aSelectionInterval inContext: aContext [
]
{ #category : #'debugging actions' }
StMockSession >> stepInto: aContext [
]
{ #category : #'debugging actions' }
StMockSession >> stepOver: aContext [
]
{ #category : #'debugging actions' }
StMockSession >> stepThrough: aContext [
]