Skip to content

testIsExecutionFinished doesn't pass #25

@adri09070

Description

@adri09070

The following test doesn't pass and it's the last one that needs to be corrected to finally have only green tests for Sindarin:

SindarinDebuggerTest>>#testIsExecutionFinished
	| scdbg |
	scdbg := SindarinDebugger debug: [ self helperMethod16 ].
	self deny: scdbg isExecutionFinished.
	scdbg
		stepOver;
		step;
		step;
		stepOver;
		step;
		stepOver;
		step.
	"Reached `self isActiveProcess` in Process>>#terminate"
	self assert: scdbg isExecutionFinished

This is because it does multiple steps when the debguged method contains only one message and a return so only 2 stepOver| should be performed:

helperMethod16

	^ 1 + 1

We'll then see if the tested method works fine or not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions