mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-12 19:26:00 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
43
IDE/Tests/Test1/scripts/Stepping_Scope.txt
Normal file
43
IDE/Tests/Test1/scripts/Stepping_Scope.txt
Normal file
|
@ -0,0 +1,43 @@
|
|||
# This tests various cases of hitting breakpoints on the closing brace of a method
|
||||
# along with stepping onto a return, and stepping into scoped destructors.
|
||||
|
||||
ShowFile("src/Stepping_Scope.bf")
|
||||
GotoText("//Stepping_Scope_Test_Start")
|
||||
ToggleBreakpoint()
|
||||
RunWithCompiling()
|
||||
|
||||
AssertLineContains("Test1(0)")
|
||||
GotoText("//Stepping_Scope_Test1_Leave")
|
||||
ToggleBreakpoint()
|
||||
|
||||
Continue()
|
||||
AssertEvalEquals("a", "2")
|
||||
StepInto()
|
||||
AssertLineContains("b = 99")
|
||||
StepOut()
|
||||
StepOver()
|
||||
|
||||
AssertLineContains("Test1(1)")
|
||||
StepOver()
|
||||
AssertEvalEquals("a", "3")
|
||||
StepInto()
|
||||
AssertLineContains("b = 99")
|
||||
StepOut()
|
||||
StepOver()
|
||||
|
||||
AssertLineContains("Test2(0)")
|
||||
StepInto()
|
||||
StepOver()
|
||||
StepOver()
|
||||
AssertLineContains("scope::")
|
||||
StepOver()
|
||||
StepOver()
|
||||
AssertLineContains("return")
|
||||
StepOver()
|
||||
AssertLineContains("}")
|
||||
StepInto()
|
||||
AssertLineContains("b = 99")
|
||||
StepOut()
|
||||
StepOver()
|
||||
|
||||
AssertLineContains("Test2(1)")
|
Loading…
Add table
Add a link
Reference in a new issue