mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
50
IDE/Tests/Test1/scripts/HotSwap_Funcs.txt
Normal file
50
IDE/Tests/Test1/scripts/HotSwap_Funcs.txt
Normal file
|
@ -0,0 +1,50 @@
|
|||
ShowFile("src/HotSwap.bf")
|
||||
GotoText("//HotStart_Funcs")
|
||||
ToggleBreakpoint()
|
||||
RunWithCompiling()
|
||||
|
||||
StepOver()
|
||||
StepOver()
|
||||
StepOver()
|
||||
StepOver()
|
||||
|
||||
# We're on TestFuncs_Compare now
|
||||
GotoText("//HotTester_TestFuncs_Func_Return")
|
||||
AdjustCursor(0, 1)
|
||||
CursorToLineEnd()
|
||||
AdjustCursor(-1, 0)
|
||||
InsertText("4")
|
||||
|
||||
GotoText("//HotB_MethodA_Return")
|
||||
AdjustCursor(0, 1)
|
||||
CursorToLineEnd()
|
||||
AdjustCursor(-1, 0)
|
||||
InsertText("9")
|
||||
|
||||
Compile()
|
||||
|
||||
GotoText("//TestFuncs_Compare_Calls")
|
||||
RunToCursor()
|
||||
StepOver()
|
||||
AssertEvalEquals("val", "209")
|
||||
StepOver()
|
||||
AssertEvalEquals("val", "1234")
|
||||
StepOver()
|
||||
AssertEvalEquals("val", "1234")
|
||||
|
||||
Stop()
|
||||
|
||||
StepOut()
|
||||
StepOut()
|
||||
ToggleCommentAt("HotTester_TestFuncs_Func2")
|
||||
ToggleCommentAt("TestFuncs2_Body")
|
||||
Compile()
|
||||
StepInto()
|
||||
StepOver()
|
||||
ToggleCommentAt("TestFuncs2_Compare_Body")
|
||||
Compile()
|
||||
StepInto()
|
||||
StepOver()
|
||||
StepOver()
|
||||
StepOver()
|
||||
AssertEvalEquals("val", "444")
|
Loading…
Add table
Add a link
Reference in a new issue