Skip to content

Commit a1a1ff4

Browse files
authored
Merge pull request pharo-spec#81 from pharo-spec/unimplemented-calls
Remove unimplemented calls
2 parents df4689b + f1cef0c commit a1a1ff4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/Sindarin-Tests/SindarinDebuggerTest.class.st

+12-12
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ SindarinDebuggerTest >> testChangingPcKeepsSameStateAndPushesCorrectElementsOnSt
345345
SindarinDebuggerTest >> testChangingPcRaisesErrorWhenPcIsGreaterThanEndPC [
346346

347347
| oldPC sdbg |
348-
sdbg := SindarinDebugger debug: [ self helperMethod1 ].
348+
sdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
349349
sdbg
350350
step;
351351
stepOver;
@@ -354,7 +354,7 @@ SindarinDebuggerTest >> testChangingPcRaisesErrorWhenPcIsGreaterThanEndPC [
354354
self
355355
shouldnt: [ sdbg pc: sdbg method endPC ] raise: NotValidPcError;
356356
deny: sdbg pc equals: oldPC.
357-
sdbg := SindarinDebugger debug: [ self helperMethod1 ].
357+
sdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
358358
sdbg
359359
step;
360360
stepOver;
@@ -369,7 +369,7 @@ SindarinDebuggerTest >> testChangingPcRaisesErrorWhenPcIsGreaterThanEndPC [
369369
SindarinDebuggerTest >> testChangingPcRaisesErrorWhenPcIsLowerThanInitialPC [
370370

371371
| scdbg |
372-
scdbg := SindarinDebugger debug: [ self helperMethod1 ].
372+
scdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
373373

374374
scdbg
375375
step;
@@ -378,7 +378,7 @@ SindarinDebuggerTest >> testChangingPcRaisesErrorWhenPcIsLowerThanInitialPC [
378378

379379
self shouldnt: [ scdbg pc: scdbg method initialPC ] raise: NotValidPcError.
380380

381-
scdbg := SindarinDebugger debug: [ self helperMethod1 ].
381+
scdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
382382

383383
scdbg
384384
step;
@@ -411,7 +411,7 @@ SindarinDebuggerTest >> testChangingPcToNonExistingBytecodeOffsetGoesToPreviousP
411411
{ #category : #tests }
412412
SindarinDebuggerTest >> testContext [
413413
| scdbg |
414-
scdbg := SindarinDebugger debug: [ self helperMethod15 ].
414+
scdbg := SindarinDebugger debug: [ self methodWithOneAssignment ].
415415
self assert: scdbg context equals: scdbg debugSession interruptedContext.
416416
scdbg step.
417417
self assert: scdbg context equals: scdbg debugSession interruptedContext
@@ -690,7 +690,7 @@ SindarinDebuggerTest >> testMoveToNodeKeepsStackWhenAimedNodeIsMethodNode [
690690
SindarinDebuggerTest >> testMoveToNodeKeepsStackWhenAimedNodeIsMethodNodeThatDoesNotHaveAssociatedPC [
691691

692692
| scdbg newPc newNode realPC realNode |
693-
scdbg := SindarinDebugger debug: [ self helperMethod1 ].
693+
scdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
694694

695695
scdbg
696696
step;
@@ -717,7 +717,7 @@ SindarinDebuggerTest >> testMoveToNodeKeepsStackWhenAimedNodeIsMethodNodeThatDoe
717717
SindarinDebuggerTest >> testMoveToNodeRaisesErrorWhenNodeIsNotIdenticalToANodeInMethod [
718718

719719
| oldNode sdbg aimedNode |
720-
sdbg := SindarinDebugger debug: [ self helperMethod1 ].
720+
sdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
721721
sdbg
722722
step;
723723
stepOver.
@@ -729,7 +729,7 @@ SindarinDebuggerTest >> testMoveToNodeRaisesErrorWhenNodeIsNotIdenticalToANodeIn
729729
self
730730
shouldnt: [ sdbg moveToNode: aimedNode ] raise: NodeNotInASTError;
731731
assert: sdbg node equals: aimedNode.
732-
sdbg := SindarinDebugger debug: [ self helperMethod1 ].
732+
sdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
733733
sdbg
734734
step;
735735
stepOver;
@@ -745,7 +745,7 @@ SindarinDebuggerTest >> testMoveToNodeRaisesErrorWhenNodeIsNotIdenticalToANodeIn
745745
SindarinDebuggerTest >> testMoveToNodeRaisesErrorWhenNodeIsNotInMethod [
746746

747747
| oldNode sdbg |
748-
sdbg := SindarinDebugger debug: [ self helperMethod1 ].
748+
sdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
749749
sdbg
750750
step;
751751
stepOver;
@@ -755,7 +755,7 @@ SindarinDebuggerTest >> testMoveToNodeRaisesErrorWhenNodeIsNotInMethod [
755755
shouldnt: [ sdbg moveToNode: sdbg methodNode statements last ]
756756
raise: NodeNotInASTError;
757757
deny: sdbg node equals: oldNode.
758-
sdbg := SindarinDebugger debug: [ self helperMethod1 ].
758+
sdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
759759
sdbg
760760
step;
761761
stepOver;
@@ -1739,7 +1739,7 @@ SindarinDebuggerTest >> testStatementNodeContaining [
17391739
SindarinDebuggerTest >> testStatementNodeContainingReturnsStatementNodeThatContainsTheIdenticalSubtree [
17401740

17411741
| sdbg |
1742-
sdbg := SindarinDebugger debug: [ self helperMethod1 ].
1742+
sdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
17431743
sdbg step.
17441744

17451745
"1 is in the tree but it should return its parent only if we provide the exact literal node"
@@ -1752,7 +1752,7 @@ SindarinDebuggerTest >> testStatementNodeContainingReturnsStatementNodeThatConta
17521752
SindarinDebuggerTest >> testStatementNodeContainingWhenNodeIsNotInAST [
17531753

17541754
| sdbg |
1755-
sdbg := SindarinDebugger debug: [ self helperMethod1 ].
1755+
sdbg := SindarinDebugger debug: [ self methodWithTwoAssignments ].
17561756
sdbg step.
17571757

17581758
self

0 commit comments

Comments
 (0)